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