From 5f484e57f1a2361441e725e643905b1d20ac45ad Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Mon, 13 May 2019 18:31:48 +0200 Subject: Minor frontend improvements Co-authored-by: LarsVomMars --- src/main/resources/css/layout.css | 4 ++-- src/main/resources/views/index.rocker.html | 8 +++++++- 2 files changed, 9 insertions(+), 3 deletions(-) (limited to 'src/main') diff --git a/src/main/resources/css/layout.css b/src/main/resources/css/layout.css index f016c76..b319e24 100644 --- a/src/main/resources/css/layout.css +++ b/src/main/resources/css/layout.css @@ -44,7 +44,7 @@ button { border-radius: 10px; } -.flex .button { +.flex .button, .switch { text-decoration: none; background-color: #424242; padding: 5px; @@ -53,7 +53,7 @@ button { color: #fff; } -.flex .button:visited { +.flex .button:visited, .switch { color: #fff; } diff --git a/src/main/resources/views/index.rocker.html b/src/main/resources/views/index.rocker.html index 2e1b9dd..ee681f8 100644 --- a/src/main/resources/views/index.rocker.html +++ b/src/main/resources/views/index.rocker.html @@ -14,7 +14,13 @@ @layout.template("Index", ctx, css, js) -> {
@if (username.length() > 0) { - + }

Welcome to Kloud@(username == "" ? "" : " " + username)!

-- cgit v1.2.3