Skip to content
Snippets Groups Projects
Commit 1ab90a0f authored by Chad Hanna's avatar Chad Hanna
Browse files

webpage.py: add date and time to header

parent 729e8add
No related branches found
No related tags found
No related merge requests found
import sys, os, glob
import sys, os, glob, time
class elem(object):
def __init__(self, tag, content, attributes = ""):
......@@ -23,6 +23,7 @@ class tabs(elem):
def __init__(self, content = []):
elem.__init__(self, tag="ul", content = [] + content, attributes = 'class="tab"')
self.content += [elem("li", [elem("img", [], """ style="width: 100px; margin: 5px 5px 5px 5px;" src="http://www.lsc-group.phys.uwm.edu/cgit/gstlal/plain/gstlal/doc/gstlal.png" """)])]
self.content += [elem("li", [elem("div", [time.strftime("%Y-%m-%d %H:%M")])])]
def __iadd__(self, content):
try:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment