Skip to content
Snippets Groups Projects
Commit 6a765ae0 authored by Martin Lehoux's avatar Martin Lehoux
Browse files

better display layout

parent 56f77469
Branches
No related tags found
No related merge requests found
......@@ -7,32 +7,35 @@ html(lang="en")
link(rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.4.1/semantic.min.css" integrity="sha256-9mbkOfVho3ZPXfM7W8sV2SndrGDuh7wuyLjtsWeTI1Q=" crossorigin="anonymous")
title RoleGame
body
script(src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha256-3edrmyuQ0w65f8gfBsqowzjJe2iM6n0nKciPUp8y+7E=" crossorigin="anonymous")
script(src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous")
script(src="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.4.1/semantic.min.js" integrity="sha256-t8GepnyPmw9t+foMh3mKNvcorqNHamSKtKRxxpUEgFI=" crossorigin="anonymous")
block navbar
if !user
form.ui.form(action="/auth/login", method="post")
form(action="/auth/login", method="post")
.ui.pointing.menu
a.item(href="/") Home
.right.menu
.item
.ui.input.transparent
input#username(type="text" name="username" placeholder="username")
.item
.ui.transparent.input
input#password(type="password" name="password" placeholder="password")
.item
.ui.transparent.input
input.ui.button(type="submit" value="Se connecter")
input.ui.button(type="submit" value="Login")
a.item(href="/auth/signup") Sign up
else
form.ui.form(action="/auth/logout", method="post")
form(action="/auth/logout", method="post")
.ui.pointing.menu
a.item(href="/") Home
a.item(href="/characters") My characters
.right.menu
.item #{user.firstName} #{user.lastName}
.item
button.ui.icon.button.basic(type="submit")
i.power.off.icon
.ui.transparent.input
input.ui.button(type="submit" value="Logout")
.ui.grid
.thirteen.wide.column
.three.wide.column
.ten.wide.column
block main
.three.wide.column
include notifications.pug
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment