summaryrefslogtreecommitdiffstats
path: root/linhes/linhes-web/website/contents/count.py
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2023-12-26 18:00:23 (GMT)
committerBritney Fransen <brfransen@gmail.com>2023-12-26 18:00:23 (GMT)
commit4c7ccb93e69d0dc44321fe6a4eff71a886a1b768 (patch)
treef4ca4e518f2b25748bf630d0e25b80739c787d28 /linhes/linhes-web/website/contents/count.py
parent6e982890e22fc33f0a4005336b64b8656a94fd8c (diff)
downloadlinhes_pkgbuild-4c7ccb93e69d0dc44321fe6a4eff71a886a1b768.zip
linhes_pkgbuild-4c7ccb93e69d0dc44321fe6a4eff71a886a1b768.tar.gz
linhes_pkgbuild-4c7ccb93e69d0dc44321fe6a4eff71a886a1b768.tar.bz2
linhes-web: rework home.shtml and add some doctypes
Diffstat (limited to 'linhes/linhes-web/website/contents/count.py')
-rwxr-xr-x[-rw-r--r--]linhes/linhes-web/website/contents/count.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/linhes/linhes-web/website/contents/count.py b/linhes/linhes-web/website/contents/count.py
index f0eee97..ef2a0b1 100644..100755
--- a/linhes/linhes-web/website/contents/count.py
+++ b/linhes/linhes-web/website/contents/count.py
@@ -45,6 +45,14 @@ def main(argv):
hours_current = grandtotal_current / 60.0
days_current = hours_current / 24.0
+ print('<!DOCTYPE html>')
+ print("<html>")
+ print(" <head>")
+ print(' <meta charset="UTF-8" />')
+ print(' <style type="text/css">@import "frame.css";</style>')
+ print(" </head>")
+ print("<body>")
+ print(' <div id="mainContainer">')
print('<div id="header">')
print("<h3>Welcome to</h3>")
print("<h1>" , verLH , "</h1>")
@@ -97,6 +105,14 @@ def main(argv):
#print "%16s %16s" %(row[0],row[1])
print("</table>")
print("</div>")
+ print("</div>")
+ print(' <div id="footer">')
+ print(" <p>Thank you for choosing LinHES!</p>")
+ print(" </div>")
+ print(" </body>")
+ print("</html>")
+
+
if __name__ == "__main__":
main(sys.argv[1:])