diff options
author | chai <chaifix@163.com> | 2018-07-13 21:53:49 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-07-13 21:53:49 +0800 |
commit | 7ca80e57f06922e464626c7a6a1d7965e716b53f (patch) | |
tree | bda9271234720424b7dfc5c2d25b9df4ba3d01df /template/edit.html | |
parent | 181b206863d3765fe5343ceea8e1e00e52ffba9e (diff) |
Diffstat (limited to 'template/edit.html')
-rw-r--r-- | template/edit.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/template/edit.html b/template/edit.html new file mode 100644 index 0000000..bc8cea0 --- /dev/null +++ b/template/edit.html @@ -0,0 +1,20 @@ +<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}/add.py?action=modify" method="post" class="form_add"> + <input type="hidden" name="whisper_id" value="{whisper_id}"/> + <textarea name="whisper_content" id="editor" class="ckeditor" rows="5" cols="20"> + {whisper_content} + </textarea> + <input type="submit" value=" 推 " class="submit"/> + <a style="float:right; color:red" href="{url}/delete.py?w={whisper_id}">删除</a> + </form> +</div> +</body> +</html>
\ No newline at end of file |