Added new files we missed last commit.
This commit is contained in:
parent
c26e627976
commit
caa6d020d8
2 changed files with 21 additions and 0 deletions
14
views/config.html
Normal file
14
views/config.html
Normal 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>
|
||||
<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
7
views/edit_stat.html
Normal 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>
|
Loading…
Reference in a new issue