Browse Source

let's show our environ

pull/24/head
Ben Kurtovic 12 years ago
parent
commit
ddaa5cb9a1
3 changed files with 5 additions and 2 deletions
  1. +3
    -1
      pages/index.mako
  2. +1
    -1
      pages/support/footer.mako
  3. +1
    -0
      pages/support/header.mako

+ 3
- 1
pages/index.mako View File

@@ -1,3 +1,5 @@
<%include file="/support/header.mako" args="title='Index Page'"/>
<p>Earwig!</p>
% for key, value in environ.items():
<p><b>${key}</b>: ${value}</p>
% endfor
<%include file="/support/footer.mako"/>

+ 1
- 1
pages/support/footer.mako View File

@@ -1,5 +1,5 @@
<div id="footer">
<p>Copyright &copy; 2009&ndash;2012 Ben Kurtovic / <a href="http://en.wikipedia.org/wiki/User:The_Earwig">The Earwig</a> &bull; \
<p>Copyright &copy; 2009&ndash;2012 <a href="http://earwig.github.com/"Ben Kurtovic</a> / <a href="http://en.wikipedia.org/wiki/User:The_Earwig">The Earwig</a> &bull; \
<a href="mailto:earwig@toolserver.org">Contact</a> &bull; \
<a href="https://github.com/earwig/toolserver">View Source</a> &bull; \
<a href="http://validator.w3.org/check?uri=referer">Valid XHTML 1.0 Strict</a></p>


+ 1
- 0
pages/support/header.mako View File

@@ -4,6 +4,7 @@
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>${title} - earwig@toolserver</title>
<link rel="stylesheet" href="/~earwig/rewrite/static/main.css" type="text/css" />
</head>
<body>
<div id="container">

Loading…
Cancel
Save