diff options
Diffstat (limited to 'cgi-bin/template')
-rw-r--r-- | cgi-bin/template/page.html | 23 | ||||
-rw-r--r-- | cgi-bin/template/style.css | 0 | ||||
-rw-r--r-- | cgi-bin/template/whisper.html | 12 |
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 |