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

@ -56,7 +56,8 @@ func handleIndex(w http.ResponseWriter, r *http.Request) {
if err != nil {
size = 0
}
data.Counter = splitInt(size)
// data.Counter = splitInt(size)
data.Counter = []int{0, 1, 2, 3, 4, 5, 6, 7, 8, 9}
buf := bytes.Buffer{}
err = templates.ExecuteTemplate(&buf, constants.INDEX_TEMPLATE_NAME, data)