summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2024-05-24 21:44:05 +0200
committerJulian T <julian@jtle.dk>2024-05-24 21:44:05 +0200
commiteabd0e769c2bfef7a7aa748d794675d3ff7a920b (patch)
tree68308c5262d6c162b2d196866382abb651d0dff5 /templates
parent2f83424ce8a0653e6e158318df1511daecf1a42d (diff)
Add tasks
Diffstat (limited to 'templates')
-rw-r--r--templates/index.html65
1 files changed, 50 insertions, 15 deletions
diff --git a/templates/index.html b/templates/index.html
index c408fb0..eecf879 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -60,25 +60,60 @@
<button>I morgen</button>
</div>
<div class="flex">
- {{template "entry.html" .Entry}}
- <div class="flex-grow week-bar">
- <b>Uge 42</b>
+ <div>
+ {{template "entry.html" .Entry}}
+ <div>
+ <div>
+ <table>
+ <thead>
+ <tr>
+ <th>Id</th>
+ <th>Fra</th>
+ <th>Til</th>
+ <th>Mærker</th>
+ <th>Beskrivelse</th>
+ <th>Handlinger</th>
+ </tr>
+ </thead>
+ {{ template "entryRows.html" . }}
+ </table>
+ </div>
+ </div>
</div>
- </div>
- <div class="flex">
- <div class="flex-grow">
+ <div class="flex-grow week-bar">
+ <form>
+ <label for="timeRangeSelect">Vis fra: </label>
+ <select id="timeRangeSelect">
+ <option value="week">Uge</option>
+ <option value="month">Måned</option>
+ <option value="all">Altid</option>
+ </select>
+ <label for="roundTimeSelect">Rund til: </label>
+ <select id="roundTimeSelect">
+ <option value="m6">6 min</option>
+ <option value="m12">12 min</option>
+ <option value="m15">15 min</option>
+ <option value="m30">30 min</option>
+ </select>
+ </form>
<table>
- <thead>
+ <tbody>
+ <tr>
+ <td>Trifork</td>
+ <td />
+ <td />
+ </tr>
+ <tr>
+ <td />
+ <td>SVT-112: fdsa Dsa ds wqw fdsf fds</td>
+ <td />
+ </tr>
<tr>
- <th>Id</th>
- <th>Fra</th>
- <th>Til</th>
- <th>Mærker</th>
- <th>Beskrivelse</th>
- <th>Handlinger</th>
+ <td />
+ <td>Helligdag</td>
+ <td />
</tr>
- </thead>
- {{ template "entryRows.html" . }}
+ </tbody>
</table>
</div>
</div>