diff --git a/pages/index.mako b/pages/index.mako index e6503a1..84bf980 100644 --- a/pages/index.mako +++ b/pages/index.mako @@ -1,7 +1,9 @@ <%include file="/support/header.mako" args="environ=environ, title='Home'"/>
-% for key, value in environ.items(): -

${key}: ${value}

-% endfor + % for key, value in environ.items(): + % if key != "PATH": +

${key}: ${value}

+ % endif + % endfor
-<%include file="/support/footer.mako"/> +<%include file="/support/footer.mako" args="environ=environ"/> diff --git a/pages/support/footer.mako b/pages/support/footer.mako index 8372f4a..48975b8 100644 --- a/pages/support/footer.mako +++ b/pages/support/footer.mako @@ -1,9 +1,28 @@ - +<%page args="environ"/>\ +<%! + from os import path +%>\ +<% root = path.dirname(environ["SCRIPT_NAME"]) %>\ + + \ No newline at end of file diff --git a/pages/support/header.mako b/pages/support/header.mako index c27d970..a95c9af 100644 --- a/pages/support/header.mako +++ b/pages/support/header.mako @@ -8,7 +8,7 @@ ${title} - earwig@toolserver - +
\ No newline at end of file diff --git a/static/main.css b/static/css/main.css similarity index 65% rename from static/main.css rename to static/css/main.css index 7a28934..2d0527d 100644 --- a/static/main.css +++ b/static/css/main.css @@ -2,12 +2,12 @@ body { font-family: helvetica, arial, clean, sans-serif; font-size: 14px; color: #000; - background-color: #E0E0E0; + background-color: #EEE; } div#container { width: 800px; - margin: 20px auto 32px auto; + margin: 20px auto 65px auto; border: 1px solid #999; border-radius: 10px; background-color: #FFF; @@ -18,10 +18,21 @@ div#content { } div#footer { - font-size: 11px; + position: fixed; + width: 100%; + height: 45px; + bottom: 0; + font-size: 12px; text-align: center; - padding: 9px 4px 12px 4px; - color: #222; + background-color: #EEE; +} + +div#foot-divider { + border-bottom: 1px solid #999; +} + +table#footer { + width: 100%; } a:link { color: #373; text-decoration: none; } diff --git a/static/images/earwig-button.png b/static/images/earwig-button.png new file mode 100644 index 0000000..6eb786a Binary files /dev/null and b/static/images/earwig-button.png differ diff --git a/static/images/toolserver-button.png b/static/images/toolserver-button.png new file mode 100644 index 0000000..48708c5 Binary files /dev/null and b/static/images/toolserver-button.png differ