summaryrefslogtreecommitdiff
path: root/cgi-bin/template/page.html
diff options
context:
space:
mode:
Diffstat (limited to 'cgi-bin/template/page.html')
-rw-r--r--cgi-bin/template/page.html37
1 files changed, 0 insertions, 37 deletions
diff --git a/cgi-bin/template/page.html b/cgi-bin/template/page.html
deleted file mode 100644
index 672be2c..0000000
--- a/cgi-bin/template/page.html
+++ /dev/null
@@ -1,37 +0,0 @@
-<html>
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-<title>whisper</title>
-<body>
-<link rel="stylesheet" href="{url}{static}/style.css" type="text/css" />
-<script src="{url}{static}/ckeditor/ckeditor.js"></script>
-<script>
-window.onload = function()
-{{
- var dates = document.getElementsByClassName("whisper_date");
- for(var i = 0; i < dates.length; i++)
- {{
- var d = dates[i];
- var tstamp = parseInt(d.getAttribute("date"));
- var day = new Date(tstamp * 1000);
- var timestr = day.toLocaleString();
- d.innerHTML = timestr;
- }}
-}}
-</script>
-<div id="container">
- <img src="{url}{static}/logo.png" id="logo"/>
- <br/>
- <form action="{url}/add.py?action=new" method="post" class="form_add">
- <textarea name="whisper_content" id="editor" class="ckeditor" rows="5" cols="20">
- </textarea>
- <input type="submit" value=" 推 " class="submit"/>
- </form>
- <!--whispers-->
- {whispers}
- <!--whispers end-->
- <br/>
- <a href="{url}/page.py?p={page_prev}" id="pagejump_prev" class="pagejump"><上一页</a>
- <a href="{url}/page.py?p={page_next}" id="pagejump_next" class="pagejump">下一页></a>
-</div>
-</body>
-</html>