source: pycgibattler/trunk/templates/10index.tmpl @ 62

Revision 62, 2.2 KB checked in by atzm, 13 years ago (diff)

change directory structure

  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/plain; charset=utf-8
Line 
1## $Id$
2#encoding UTF-8
3#import os
4#import time
5#include $os.path.expanduser($config.get('template', 'header'))
6
7      <div class="day">
8        <h2>
9          <span class="title">
10            エントリー中のキャラクター
11          </span>
12        </h2>
13        <div class="body">
14          <div class="section">
15            <h3><span class="sanchor">■</span> 最新 $len($entries) 件</h3>
16            <form action="$script" method="post" enctype="multipart/form-data">
17              <table class="stat">
18                <tr>
19                  <th><input type="submit" value="戦" /></th>
20                  <th>登録日</th>
21                  <th>名前</th>
22                  <th>HP</th>
23                  <th>SP</th>
24                  <th>攻撃力</th>
25                  <th>集中力</th>
26                  <th>防御力</th>
27                  <th>素早さ</th>
28                  <th>運</th>
29                </tr>
30#for $e in $entries
31                <tr>
32                  <td class="center"><input type="checkbox" name="warrior" value="$e.id" /></td>
33                  <td class="center">$time.strftime('%Y/%m/%d', time.localtime($e.mtime))</td>
34                  <td class="left"><a href="$script?id=$e.id">$e.warrior.name()</a></td>
35                  <td class="right">$e.warrior.hitpoint()</td>
36                  <td class="right">$e.warrior.skillpoint()</td>
37                  <td class="right">$e.warrior.strength()</td>
38                  <td class="right">$e.warrior.concentration()</td>
39                  <td class="right">$e.warrior.defense()</td>
40                  <td class="right">$e.warrior.agility()</td>
41                  <td class="right">$e.warrior.luck()</td>
42                </tr>
43#end for
44                <tr>
45                  <th><input type="submit" value="闘" /></th>
46                  <th>登録日</th>
47                  <th>名前</th>
48                  <th>HP</th>
49                  <th>SP</th>
50                  <th>攻撃力</th>
51                  <th>集中力</th>
52                  <th>防御力</th>
53                  <th>素早さ</th>
54                  <th>運</th>
55                </tr>
56              </table>
57            </form>
58          </div>
59        </div>
60      </div>
61
62#include $os.path.expanduser($config.get('template', 'footer'))
Note: See TracBrowser for help on using the repository browser.