From: TheSaminator Date: Sat, 12 Feb 2022 14:54:42 +0000 (-0500) Subject: oops X-Git-Url: https://gitweb.starshipfights.net/?a=commitdiff_plain;h=057a43947ec38446ae865f089a91ad106b81fe4f;p=starship-fights oops --- diff --git a/src/jvmMain/kotlin/starshipfights/info/views_main.kt b/src/jvmMain/kotlin/starshipfights/info/views_main.kt index fcb89f5..2f1db15 100644 --- a/src/jvmMain/kotlin/starshipfights/info/views_main.kt +++ b/src/jvmMain/kotlin/starshipfights/info/views_main.kt @@ -46,17 +46,17 @@ suspend fun ApplicationCall.newUsersPage(): HTML.() -> Unit { return page("New Users", standardNavBar(), IndexSidebar) { section { h1 { +"New Users" } - } - div { - style = "text-align:center" - newUsers.forEach { newUser -> - div { - style = "display:inline-block;width:24%" - img(src = newUser.discordAvatarUrl) { style = "width:100%" } - p { - style = "text-align:center" - a(href = "/user/${newUser.id}") { - +newUser.profileName + div { + style = "text-align:center" + newUsers.forEach { newUser -> + div { + style = "display:inline-block;width:24%" + img(src = newUser.discordAvatarUrl) { style = "width:100%" } + p { + style = "text-align:center" + a(href = "/user/${newUser.id}") { + +newUser.profileName + } } } }