Skip to content

Commit

Permalink
Center align header and buttons for timer
Browse files Browse the repository at this point in the history
  • Loading branch information
tedyoung committed Apr 11, 2024
1 parent 6f6cbac commit 369c6bb
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/main/resources/templates/ensemble-timer.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@

<body class="grid grid-cols-3 gap-4 p-4">
<div id="timer-and-control">
<h1 class="text-xl font-bold py-2"
<h1 class="text-center text-xl font-bold py-2"
th:text="${ensembleName}">Ensemble Name</h1>
<div
class="flex flex-col justify-center items-center p-4"
Expand All @@ -128,13 +128,17 @@
</div>
</div>
</div>
<div class="mt-2">
<h2 class="text-xl font-bold">Timer Control</h2>
<div class="mt-4 flex justify-center">
<button hx-swap="none"
id="timer-control-button"
class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded"
>Unknown
</button>
<!-- extra button
<button class="ml-4 inline-flex items-center bg-red-200 hover:bg-gray-700 text-gray-800 font-bold py-2 px-4 rounded">
Reset
</button>
-->
</div>
</div>
<div id="new-participants-container" class="col-span-2">
Expand Down

0 comments on commit 369c6bb

Please sign in to comment.