From: Greg Burri Date: Wed, 17 Mar 2021 21:22:11 +0000 (+0100) Subject: Use a table to show information X-Git-Url: https://git.euphorik.ch/?a=commitdiff_plain;h=1cc800b165cabaa3db2ba73f25064d5357d730f2;p=valheim_web.git Use a table to show information --- diff --git a/backend/style.scss b/backend/style.scss index 99db66f..abf4ca0 100644 --- a/backend/style.scss +++ b/backend/style.scss @@ -6,18 +6,25 @@ body { font-family: Fira Code, Helvetica Neue, Helvetica, Arial, sans-serif; text-shadow: 2px 2px 2px rgb(112, 112, 112); - text-align: center; color: #bdbdbd; background-color: #252525; } +table { + margin: 10px +} + +table td { + padding: 5px +} + h1 { - font-size: 25px; + font-size: x-large; margin: 20px; } p { - font-size: 18px; + font-size: medium; margin: 12px; } diff --git a/backend/templates/main.html b/backend/templates/main.html index f33887e..aef9992 100644 --- a/backend/templates/main.html +++ b/backend/templates/main.html @@ -10,12 +10,14 @@

{{ text_status }}

-

Number of active players: {{ nb_of_players }}

-

World size: {{ world_size }}

-

Memory used: {{ memory }}

-

Load average (5 min): {{ load_average }}

-

Uptime: {{ uptime }}

-

Last backup: {{ last_backup }}

+ + + + + + + +
Number of active players{{ nb_of_players }}
World size{{ world_size }}
Memory used{{ memory }}
Load average (5 min){{ load_average }}
Uptime{{ uptime }}
Last backup{{ last_backup }}
\ No newline at end of file