From 1c6db4313a473b8ee404a3916881a01219d9574f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Carlos=20Cuevas?= Date: Tue, 4 Jun 2013 01:45:36 +0200 Subject: [PATCH] Corrected some bugs when editing stats and added some files I forgot. --- views/player.html | 11 +++++++++++ views/register.html | 14 ++++++++++++++ views/statistics.html | 14 ++++++++++++++ 3 files changed, 39 insertions(+) create mode 100644 views/player.html create mode 100644 views/register.html create mode 100644 views/statistics.html diff --git a/views/player.html b/views/player.html new file mode 100644 index 0000000..91a147b --- /dev/null +++ b/views/player.html @@ -0,0 +1,11 @@ +$def with (player_name, player_id, stats, edit_links) +

$player_name summary

+

Player UUID: +

+

Player stats:
+

+$if edit_links: +

[edit] [remove]

diff --git a/views/register.html b/views/register.html new file mode 100644 index 0000000..d9d1bba --- /dev/null +++ b/views/register.html @@ -0,0 +1,14 @@ +$def with (register_form, registering_new) +$if registering_new: +

Registering new player

+$else: +

Modifying player

+
+ $if registering_new: +
+ $else: + + + $:register_form +
+
diff --git a/views/statistics.html b/views/statistics.html new file mode 100644 index 0000000..cb87293 --- /dev/null +++ b/views/statistics.html @@ -0,0 +1,14 @@ +$def with (game_name, stats, add_stat_form) +

$game_name stat list

+ +
+
+ $:add_stat_form +
+