diff options
| author | Karan Jayachandra <mail@karanjayachandra.com> | 2024-10-17 09:05:12 +0000 |
|---|---|---|
| committer | Karan Jayachandra <mail@karanjayachandra.com> | 2024-10-17 09:05:12 +0000 |
| commit | 299d89197fa4edad742b0ca1838a7b98242b13ce (patch) | |
| tree | 2dc84648312607378ec5ef7d087c578907bb8dc5 /templates/index.j2 | |
| parent | 36cc7d82a55cbd8167e1f52637dd1938497dd8cc (diff) | |
| parent | 02f7ee71560ade362afd415d0664d9243fe017a5 (diff) | |
Merge branch 'feature/docs' into 'develop'
Added a starting point for all documentation
See merge request KaranJayachandra/match_up!4
Diffstat (limited to 'templates/index.j2')
| -rw-r--r-- | templates/index.j2 | 48 |
1 files changed, 22 insertions, 26 deletions
diff --git a/templates/index.j2 b/templates/index.j2 index fcea4e3..764eae8 100644 --- a/templates/index.j2 +++ b/templates/index.j2 @@ -11,33 +11,29 @@ </head> <body> <section class="section"> - <nav class="level"> - <div class="level-left"> - <div class="level-item"> - <figure class="image container is-128x128"> - <img src="{{ url_for('static', filename='logo.png') }}"/> - </figure> + <nav class="level"> + <div class="level-left"> + <div class="level-item"> + <figure class="image container is-128x128"> + <img src="{{ url_for('static', filename='logo.png') }}"/> + </figure> + </div> </div> - </div> - <div class="level-item"> - <p class="title">Match Up!</p> - </div> - <div class="level-right"> - <div hx-get="/time" hx-swap="outerHTML" hx-trigger="revealed"></div> - </div> - </nav> - </section> - <section class="section"> - <p class="title">Games</p> - {% include 'controls.j2' %} - </section> - <section class="section"> - <h2 class="title">Courts</h2> - <div hx-get="/courts" hx-swap="outerHTML" hx-trigger="revealed"></div> - </section> - <section class="section"> - <h2 class="title">Players</h2> - <div hx-get="/players" hx-swap="outerHTML" hx-trigger="revealed"></div> + <p class="level-item has-text-centered"> + <a class="title link is-info is-underlined" href="/">Games</a> + </p> + <div class="level-item has-text-centered"> + <p class="title is-1">Match Up!</p> + </div> + <p class="level-item has-text-centered"> + <a class="title link is-info" href="/players">Players</a> + </p> + <div class="level-right"> + <div hx-get="/time" hx-swap="outerHTML" hx-trigger="load"></div> + </div> + </nav> + <div hx-post="/clear" hx-swap="outerHTML" hx-trigger="load"></div> + <div hx-get="/control" hx-swap="outerHTML" hx-trigger="load"></div> </section> <footer class="footer"> <div class="content has-text-centered"> |
