From 76d71c91c42aafc0746e0f905519a9672312fa76 Mon Sep 17 00:00:00 2001 From: James Meyer <james.meyer@operamail.com> Date: Mon, 12 Dec 2011 09:14:28 -0600 Subject: supplemental-web: home.shtml, formatting process.py first pass at accounting for mixed case hostnames. Set them all to lower --- abs/core/supplemental-web/contents/home.shtml | 20 ++++++-------------- abs/core/supplemental-web/contents/process.py | 2 +- 2 files changed, 7 insertions(+), 15 deletions(-) diff --git a/abs/core/supplemental-web/contents/home.shtml b/abs/core/supplemental-web/contents/home.shtml index fe70014..18d66e2 100644 --- a/abs/core/supplemental-web/contents/home.shtml +++ b/abs/core/supplemental-web/contents/home.shtml @@ -4,20 +4,12 @@ </head> <body> -<div id="mainContainer"> -<!-- <div id="header"><p></p></div> - <div id="content"> - <p></p>--> - - <!--#exec cmd="/data/srv/httpd/htdocs/count.py" --> - - -</br> -</br> - <img src="/xymon/gifs/network.png" > - -<div id="footer"><p>Thank you for choosing LinHES</p></div> - + <div id="mainContainer"> + <!--#exec cmd="/data/srv/httpd/htdocs/count.py" --> + </br> + <img src="/xymon/gifs/network.png" > + </br> </br> + <div id="footer"><p>Thank you for choosing LinHES</p></div> </body> </html> diff --git a/abs/core/supplemental-web/contents/process.py b/abs/core/supplemental-web/contents/process.py index 48e56d2..93d16d9 100644 --- a/abs/core/supplemental-web/contents/process.py +++ b/abs/core/supplemental-web/contents/process.py @@ -259,7 +259,7 @@ if __name__ == '__main__': print mainpage % body selection=radio - myhost=hidden + myhost=hidden.lower() if selection == "Restore": mylogfile=go_restore(name,myhost) -- cgit v0.12