瀏覽代碼

let's show our environ

pull/24/head
Ben Kurtovic 13 年之前
父節點
當前提交
ddaa5cb9a1
共有 3 個檔案被更改,包括 5 行新增2 行删除
  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 查看文件

@@ -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 查看文件

@@ -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 查看文件

@@ -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…
取消
儲存