Skip to content
Snippets Groups Projects
Commit 45c53f2c authored by Odin Johan Vatne's avatar Odin Johan Vatne
Browse files

Fix html/css

parent cd55251d
Branches
No related tags found
No related merge requests found
...@@ -2,6 +2,10 @@ ...@@ -2,6 +2,10 @@
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
} }
body {
margin-top: 0;
}
.hidden { .hidden {
display: none; display: none;
} }
......
...@@ -24,3 +24,14 @@ ...@@ -24,3 +24,14 @@
.nav-item:hover { .nav-item:hover {
border-bottom: 2px solid darkturquoise; border-bottom: 2px solid darkturquoise;
} }
#user-status {
display: flex;
align-items: center;
justify-items: end;
}
#user-status div {
text-align: right;
margin-right: 0.5em
}
\ No newline at end of file
...@@ -41,8 +41,11 @@ ...@@ -41,8 +41,11 @@
</a> </a>
</div> </div>
{% if user.username %} {% if user.username %}
<div id="user-status">
<div> <div>
Logged in as {{user.first_name}} {{user.last_name}} Logged in as <br>
{{user.first_name}} {{user.last_name}}
</div>
<a href="/logout/"><button type="button">Sign out</button></a> <a href="/logout/"><button type="button">Sign out</button></a>
</div> </div>
{% else %} {% else %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment