summaryrefslogtreecommitdiff
path: root/templates/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/index.html')
-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>