Changeset 21311 for lang/python
- Timestamp:
- 10/14/08 16:47:30 (3 months ago)
- Location:
- lang/python/saichugen/gae
- Files:
-
- 1 added
- 3 modified
-
index.yaml (modified) (1 diff)
-
saichugen/main/views.py (modified) (2 diffs)
-
template/game_log.html (added)
-
template/index.html (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/python/saichugen/gae/index.yaml
r21290 r21311 18 18 direction: desc 19 19 20 # Used 11times in query history.20 # Used 28 times in query history. 21 21 - kind: Game 22 22 properties: -
lang/python/saichugen/gae/saichugen/main/views.py
r21293 r21311 20 20 .order("-started").fetch(10)) 21 21 22 high_score = ( 23 Player.all().filter("score >", 0) 24 .order("score").fetch(10)) 25 22 26 return HttpResponse( 23 27 template.render( … … 28 32 login_url=users.create_login_url(req.get_full_path()), 29 33 logout_url=users.create_logout_url(req.get_full_path()), 30 recent_games=recent_games, ))) 34 recent_games=recent_games, 35 high_score=high_score, ))) 31 36 32 37 def start_single_game(req): -
lang/python/saichugen/gae/template/index.html
r21292 r21311 24 24 <li><a href="http://saichugen-online.appspot.com/game/210/">チャット機能搭載時のログ</a>(対戦履歴の例) 25 25 </ul> 26 < p>26 <div style="float:left"> 27 27 Recent games:<ul> 28 28 {% for g in recent_games %} … … 31 31 {% endfor %} 32 32 </ul> 33 34 <p> 33 </div> 34 <div style="float:left"> 35 High score:<ul> 36 {% for p in high_score %} 37 <li>{{ p.get_nick }}({{ p.score }}/{{ p.play_count }})</li> 38 {% endfor %} 39 </ul> 40 </div> 41 <div style="clear:both"> 35 42 <hr> 36 43 program by <a href="http://www.nishiohirokazu.org/">NISHIO Hirokazu</a><br/> 37 44 card graphics by http://www.jfitz.com/cards/ 45 </div>
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)