actually i need to call this ircbot
so i don't collide with the django dr_botzo
This commit is contained in:
28
ircbot/old-web/templates/storycraft/tmpl_game_summary.html
Normal file
28
ircbot/old-web/templates/storycraft/tmpl_game_summary.html
Normal file
@@ -0,0 +1,28 @@
|
||||
{% autoescape on %}
|
||||
<div class="gameitem">
|
||||
<h3 class="hidden">Game Info</h3>
|
||||
<ul class="gameinfo">
|
||||
<li class="gameid"><span><a href="{% url game_index game.id %}">{{ game.id }}: {{ game.start_time }} – {{ game.end_time }}</a></span></li>
|
||||
<li class="gamestatus"><span>{{ game.status }}</span></li>
|
||||
<li class="gamecode"><span>o:{{ game.round_mode }}[{{ game.game_length }}],{{ game.line_length }},{{ game.random_method }},{{ game.lines_per_turn }}</span></li>
|
||||
</ul>
|
||||
{% if players %}
|
||||
<h3 class="hidden">Player List</h3>
|
||||
<ul class="gameplayers">
|
||||
{% for player in players %}
|
||||
<li>{{ player.nick }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
{% if lines %}
|
||||
<div class="progressblock" id="progressblock{{game.id}}">
|
||||
<div class="progressbar" id="progressbar{{game.id}}"></div>
|
||||
</div>
|
||||
<script>var pb = new YAHOO.widget.ProgressBar().render('progressbar{{game.id}}'); var space = YAHOO.util.Dom.getRegion('progressblock{{game.id}}'); pb.set('width', space.width-35); pb.set('minValue', 0); pb.set('maxValue', {{ game.game_length }}); pb.set('value', 0); if (0) { pb.set('anim', true); var anim = pb.get('anim'); anim.duration = 2; } pb.set('value', {{ lines|length }}-1);</script>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<!--
|
||||
vi:tabstop=2:expandtab:autoindent
|
||||
-->
|
||||
{% endautoescape %}
|
||||
Reference in New Issue
Block a user