OSDN Git Service

delete to commit beyond merge error
[pybbs/pybbs.git] / pybbs / modules / index.htm
1 <!DOCTYPE html>
2
3 <html>
4   <head>
5     <meta charset=utf-8>
6     <title>
7         {% block title %}
8                 {{data['title']}}
9         {% end %}
10     </title>
11     {% block style %}
12     <link rel="stylesheet" href={{static_url('css/main.css')}}>
13         {% end %}
14   </head> 
15   <body>
16   {% block header %}
17     <a href=/ style=text-decoration:none>{% raw data['title2'] %}</a>
18     <header>
19     <a name=top></a>
20     <form action=/{{db}}/regist method="post">
21     {% module xsrf_form_html() %}
22       <table>
23         <tr><td>
24           <label><p>お名前</p><input name="name" value={{username}}></label>
25           <label><p>タイトル</p><input name="title"></label>
26           <input type="submit" value="送信">
27         </td></tr>
28         <tr><td>
29           <label><p>本文<span>必須</span><br></p>
30             <textarea name="comment" cols=30 required placeholder="コメントなどを入力してください."></textarea></label>
31         </td></tr>
32         <tr><td>
33           <label><p>パスワード</p><input name="password" type="password" placeholder="削除用"></label>
34         </td></tr>
35       </table>
36     </form>
37     </header>
38     <hr size="1" width="100%">
39     <form action=/{{db}}/userdel method="post" id=search>
40       {% module xsrf_form_html() %}
41       <label><p>記事No</p><input name="number"></label>
42       <label><p>Pass</p><input type="password" name="password"></label>
43       <input type="submit" value="削除">
44       <p><a href=/{{db}}/search>検索ページ</a></p>
45     </form>
46     <p style=text-align:center>{{db}}</p>
47   {% module Footer(position,'/'+db,'#article') %}
48   {% end %}
49   {% block body %}
50     {% for record in records %}
51     <hr size=1>
52         <section id=number>[<a name={{record['number']}}>{{record['number']}}</a>]</section>
53         <section id=title>{{record['title']}}</section>
54         <section id=name>  Name:<h1>{{record['name']}}</h1></section>
55         <section id=date>  Date:<h1>{{record['date']}}</h1></section>
56         <section id=comment>{% raw record['comment'] %}</section>
57         {% end %}
58         <a name=article></a>
59         <p style=text-align:right><a href=#top>Topへ移動</a></p>
60   {% end %}
61   {% block footer %}
62     {% module Footer(position,'/'+db,'#article') %}
63     <p style=text-align:center><a href="/{{db}}/admin/0/">管理者用ログイン</a></p>
64   {% end %}
65   </body>
66 </html>