Change button styles

This commit is contained in:
Lars Westermann 2019-06-10 20:47:45 +02:00
parent 4f352de0d2
commit 8f8242a97a
Signed by: lars.westermann
GPG key ID: 9D417FA5BB9D5E1D
3 changed files with 3 additions and 2 deletions

View file

@ -1,7 +1,7 @@
[server]
host = "localhost"
port = 8080
prefix = ""
prefix = "/plan"
debug = false
[schedule]

View file

@ -130,6 +130,7 @@ select:-moz-focusring {
display: inline-block;
margin-right: 0.6rem;
margin-bottom: 0.5rem;
border-radius: $border-radius;
font-weight: 600;

View file

@ -127,7 +127,7 @@ suspend fun PipelineContext<Unit, ApplicationCall>.respondMain(
body: MainTemplate.(Theme) -> Unit
) {
val param = call.request.queryParameters["theme"]
val url = call.request.uri.substring(1 + prefix.length)
val url = call.request.uri.drop(1 + prefix.length)
val user = call.sessions.get<PortalSession>()?.getUser(call)
if (param != null) {