Revision 60,
2.5 KB
checked in by atzm, 13 years ago
(diff) |
modify template path
|
-
Property svn:keywords set to
Id
|
Line | |
---|
1 | ## $Id$ |
---|
2 | #encoding UTF-8 |
---|
3 | #import os |
---|
4 | #import time |
---|
5 | #import urllib |
---|
6 | #import xml.sax.saxutils |
---|
7 | #include $os.path.expanduser($config.get('template', 'header')) |
---|
8 | |
---|
9 | #for $e in $entries |
---|
10 | <div class="day"> |
---|
11 | <h2> |
---|
12 | <span class="date"> |
---|
13 | [$time.strftime('%Y/%m/%d %H:%M:%S', time.localtime($e.mtime))] ç»é² |
---|
14 | </span> |
---|
15 | </h2> |
---|
16 | <div class="body"> |
---|
17 | <div class="section"> |
---|
18 | <h3><span class="sanchor">â </span> åå</h3> |
---|
19 | <p><a href="http://www.google.co.jp/images?q=$urllib.quote_plus('"' + $e.warrior.name() + '"')">$e.warrior.name()</a></p> |
---|
20 | |
---|
21 | <h3><span class="sanchor">â </span> ã¹ããŒã¿ã¹</h3> |
---|
22 | <table class="stat"> |
---|
23 | <tr> |
---|
24 | <th>HP</th> |
---|
25 | <th>SP</th> |
---|
26 | <th>æ»æå</th> |
---|
27 | <th>éäžå</th> |
---|
28 | <th>é²åŸ¡å</th> |
---|
29 | <th>çŽ æ©ã</th> |
---|
30 | <th>é</th> |
---|
31 | </tr> |
---|
32 | <tr> |
---|
33 | <td class="right">$e.warrior.hitpoint()</td> |
---|
34 | <td class="right">$e.warrior.skillpoint()</td> |
---|
35 | <td class="right">$e.warrior.strength()</td> |
---|
36 | <td class="right">$e.warrior.concentration()</td> |
---|
37 | <td class="right">$e.warrior.defense()</td> |
---|
38 | <td class="right">$e.warrior.agility()</td> |
---|
39 | <td class="right">$e.warrior.luck()</td> |
---|
40 | </tr> |
---|
41 | </table> |
---|
42 | |
---|
43 | <h3><span class="sanchor">â </span> å¿
殺æ</h3> |
---|
44 | <table class="stat"> |
---|
45 | <tr> |
---|
46 | <th>åå</th> |
---|
47 | <th>ã¿ã€ã</th> |
---|
48 | <th>ã¬ãã«</th> |
---|
49 | <th>æ¶è²» SP</th> |
---|
50 | </tr> |
---|
51 | #for $skill in $e.skills |
---|
52 | <tr> |
---|
53 | <td class="left"><a href="http://www.google.co.jp/images?q=$urllib.quote_plus('"' + $skill.name() + '"')">$skill.name()</a></td> |
---|
54 | <td class="center">$(str($skill.skilltype()).split('.')[-1])</td> |
---|
55 | <td class="right">$skill.level()</td> |
---|
56 | <td class="right">$skill.point()</td> |
---|
57 | </tr> |
---|
58 | #end for |
---|
59 | </table> |
---|
60 | |
---|
61 | <h3><span class="sanchor">â </span> ã³ãŒã</h3> |
---|
62 | <pre style="max-height: 25em; overflow: auto;">$xml.sax.saxutils.escape($e.code)</pre> |
---|
63 | </div> |
---|
64 | </div> |
---|
65 | </div> |
---|
66 | #end for |
---|
67 | |
---|
68 | <div class="footer"> |
---|
69 | ã³ãŒãã®èäœæš©ã¯ããããã®èäœè
ã«åž°å±ããŸãïŒ |
---|
70 | </div> |
---|
71 | |
---|
72 | #include $os.path.expanduser($config.get('template', 'footer')) |
---|
Note: See
TracBrowser
for help on using the repository browser.