diff options
author | sadbeast <sadbeast@sadbeast.com> | 2024-06-23 15:36:59 -0700 |
---|---|---|
committer | sadbeast <sadbeast@sadbeast.com> | 2024-07-13 21:58:23 -0700 |
commit | 8d018d996c1eddb882dc64ebbd228bb0135944f3 (patch) | |
tree | d01956546a77dbae33357c9a5d174f511ac9b282 /src/views/draft.mustache | |
download | teamdraft-main.tar.gz teamdraft-main.tar.bz2 |
Diffstat (limited to 'src/views/draft.mustache')
-rw-r--r-- | src/views/draft.mustache | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/views/draft.mustache b/src/views/draft.mustache new file mode 100644 index 0000000..a7e52e8 --- /dev/null +++ b/src/views/draft.mustache @@ -0,0 +1,27 @@ +<div hx-get="/drafts/{{draft_id}}" hx-trigger="every 1s"> + <strong>{{user.id}}</strong> +<!-- <div hx-get="/drafts/{{draft_info.draft_id}}"> --> +{{#draft_info}} +<h1>{{league}}</h1> +<div class="sticky"> + <p>{{message}}</p> + {{#can_pick}}<p>Round Time Remaining: {{round_time_remaining}}</p>{{/can_pick}} +</div> +{{/draft_info}} + <table class="striped"> + <thead> + <tr> + <th>Team</th> + <th>Division</th> + <th colspan="2">Rank</th> + </tr> + </thead> + <tbody> + {{#teams}} + <tr id="team-{{team_id}}"> + {{> pick}} + </tr> + {{/teams}} + </tbody> + </table> +</div> |