summaryrefslogtreecommitdiff
path: root/cgi-bin/template
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-07-10 22:01:22 +0800
committerchai <chaifix@163.com>2018-07-10 22:01:22 +0800
commit1275e68efa680e55fd29a377c9c58c59bb7f235e (patch)
treec585d7402af76ad0ccd295b218205708012addb4 /cgi-bin/template
parent5d323b7430c446ceb81c2de52d9a1d28c7f34e52 (diff)
更新
Diffstat (limited to 'cgi-bin/template')
-rw-r--r--cgi-bin/template/page.html23
-rw-r--r--cgi-bin/template/style.css0
-rw-r--r--cgi-bin/template/whisper.html12
3 files changed, 31 insertions, 4 deletions
diff --git a/cgi-bin/template/page.html b/cgi-bin/template/page.html
index e69de29..3620ac9 100644
--- a/cgi-bin/template/page.html
+++ b/cgi-bin/template/page.html
@@ -0,0 +1,23 @@
+<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>
+<div id="container">
+ <img src="{url}{static}logo.png" id="logo"/>
+ <br/>
+ <form action="{url}insert" method="post" class="form_add">
+ <textarea name="issue_description" id="editor" class="ckeditor" rows="5" cols="20">
+ </textarea><br/>
+ <input type="submit" value="提交" class="submit"/>
+ </form>
+ <!--whispers-->
+ {whispers}
+ <!--whispers end-->
+ <br/>
+ <a href="{url}page?p={page_prev}" id="pagejump_prev" class="pagejump"><上一页</a>
+ <a href="{url}page?p={page_next}" id="pagejump_next" class="pagejump">下一页></a>
+</div>
+</body>
+</html>
diff --git a/cgi-bin/template/style.css b/cgi-bin/template/style.css
deleted file mode 100644
index e69de29..0000000
--- a/cgi-bin/template/style.css
+++ /dev/null
diff --git a/cgi-bin/template/whisper.html b/cgi-bin/template/whisper.html
index fd40910..1488170 100644
--- a/cgi-bin/template/whisper.html
+++ b/cgi-bin/template/whisper.html
@@ -1,4 +1,8 @@
-
-
-
-
+<div class="whisper_unit whisper_unit_{oddoreven}">
+ <div class="whisper_content">
+ {content}
+ </div>
+ <div class="whisper_date">
+ {date}
+ </div>
+</div> \ No newline at end of file