| Address | -Host | -Ping | -Protocol | -Gamedir | -Map | -Team | -Coop | -Password | -Dedicated | -DM | -Max | -Online | -Status | -
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ server.address }} | -{{ server.host }} | -{{ server.ping }} | -{{ server.protocol }} | -{{ server.gamedir }} | -{{ server.map }} | -{{ server.team }} | -{{ server.coop }} | -{{ server.password }} | -{{ server.dedicated }} | -{{ server.dm }} | -{{ server.maxcl }} | -{{ server.numcl }} | -{{ server.status }} | -
Nobody.
diff --git a/crates/httpd/templates/layout.html.tera b/crates/httpd/templates/layout.html.tera index 89345c6..26f3c43 100644 --- a/crates/httpd/templates/layout.html.tera +++ b/crates/httpd/templates/layout.html.tera @@ -9,7 +9,7 @@ padding: 0; font-family: monospace; color-scheme: light dark; - --container-max-width: 1024px; + --container-max-width: 1128px; --color-success: #4bc432; --color-warning: #f37b21; --color-error: #ff6363; @@ -75,12 +75,39 @@ position: relative; } + header > div { + display: inline-block; + } + + header > div:first-child { + float: left; + } + + header > div:last-child { + float: right; + text-align: right; + } + main { display: block; margin: 16px auto; max-width: var(--container-max-width); } + main > form > fieldset { + border: 0; + margin: 16px 0; + } + + main > form > fieldset input { + padding: 0 4px; + } + + main > form > fieldset input[type="number"] { + margin: 0 4px; + max-width: 36px; + } + footer { display: block; margin: 16px auto; @@ -101,10 +128,7 @@