Reworked CSS

- Split into 4 files referenced by the first
- Using MLFE and page-wide color definitions
- Improved consistency and reduced markup complexity
- Hinted more user actions
- Improved visual parsability of tables and logs
- Improved visibility of counter units
- TODO:
  - Add text selection to important fields
  - Improve button placement
  - Reindent templates
This commit is contained in:
adroslice 2024-05-29 15:19:21 +02:00
parent 8759e9bafc
commit 332e0cbe5a
11 changed files with 242 additions and 148 deletions

View file

@ -1,5 +1,5 @@
{{template "head"}}
<div id="wierd-flex" class="counter">
<div class="counter">
{{ $l := len .Counter }}
{{range $i, $c := .Counter}}
<img class="counter-image" alt="{{$c}}" src="/static/counter/{{$c}}.gif">
@ -16,9 +16,9 @@
{{end}}
</div>
<h2>Workers</h2>
<div class="worker-list">
<div class="workers">
{{range $w := .Workers}}
<div class="worker">
<div>
<h4>{{ $w.Name }}</h4>
<table>
<tr>