From 4c7ccb93e69d0dc44321fe6a4eff71a886a1b768 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Tue, 26 Dec 2023 13:00:23 -0500 Subject: linhes-web: rework home.shtml and add some doctypes --- linhes/linhes-web/PKGBUILD | 4 ++-- linhes/linhes-web/website/contents/count.py | 16 ++++++++++++++++ linhes/linhes-web/website/contents/header.html | 6 ++++-- linhes/linhes-web/website/contents/home.shtml | 20 +------------------- linhes/linhes-web/website/contents/index.html | 7 ++++--- 5 files changed, 27 insertions(+), 26 deletions(-) mode change 100644 => 100755 linhes/linhes-web/website/contents/count.py mode change 100644 => 100755 linhes/linhes-web/website/contents/home.shtml mode change 100644 => 100755 linhes/linhes-web/website/contents/index.html diff --git a/linhes/linhes-web/PKGBUILD b/linhes/linhes-web/PKGBUILD index 13d4896..967fc46 100644 --- a/linhes/linhes-web/PKGBUILD +++ b/linhes/linhes-web/PKGBUILD @@ -1,6 +1,6 @@ pkgname=linhes-web pkgver=9.0.0 -pkgrel=11 +pkgrel=12 conflicts=() pkgdesc="LinHES local website" depends=('lighttpd' 'php-cgi') @@ -9,7 +9,7 @@ arch=('x86_64') license=('GPL') source=('linhes-web.conf' 'website.tar.gz') sha256sums=('e39ce02bde5eb3d359f1286b41751aa715961cf2b2d9a1243c7f01d20ed9c993' - '71c601f8044227f57b75055ddacffe339fbcb766f068c7b12133b1f82be47605') + '3be45db23163d413efb2e9a77a410094ff21add02a068b96580843c58a8942ed') package() { mkdir -p $pkgdir/data/srv/httpd/htdocs/ diff --git a/linhes/linhes-web/website/contents/count.py b/linhes/linhes-web/website/contents/count.py old mode 100644 new mode 100755 index f0eee97..ef2a0b1 --- 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('') + print("") + print(" ") + print(' ') + print(' ') + print(" ") + print("") + print('
') print('") + print("
") + print(' ") + print(" ") + print("") + + if __name__ == "__main__": main(sys.argv[1:]) diff --git a/linhes/linhes-web/website/contents/header.html b/linhes/linhes-web/website/contents/header.html index a7415f3..3ee6762 100755 --- a/linhes/linhes-web/website/contents/header.html +++ b/linhes/linhes-web/website/contents/header.html @@ -1,7 +1,9 @@ + - - + + +