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 +
+