Added new files we missed last commit.

This commit is contained in:
José Carlos Cuevas 2013-06-03 09:08:56 +02:00
parent c26e627976
commit caa6d020d8
2 changed files with 21 additions and 0 deletions

14
views/config.html Normal file
View file

@ -0,0 +1,14 @@
$def with (game_name, stats, add_stat_form)
<h2>$game_name stat list</h2>
<ul>
$for stat in stats:
<li>$stat.name (default: $stat.default_value)
<a href="/app/config/edit/$stat.id">[edit]</a>&nbsp;
<a href="/app/config/remove/$stat.id">[remove]</a>
</li>
</ul>
<div class="stat_form">
<form name="add_stat_form" method="post" action="config/add">
$:add_stat_form
</form>
</div>

7
views/edit_stat.html Normal file
View file

@ -0,0 +1,7 @@
$def with (stat_info, edit_stat_form)
<h2>Editing $stat_info.name stat</h2>
<div class="stat_form">
<form name="edit_stat_form" method="post" action="config/edit">
$:edit_stat_form
</form>
</div>