Commit bb204f88 authored by Magnus Holm Brunbjerg's avatar Magnus Holm Brunbjerg
Browse files

Login page

parent 6dd65c55
.content {
height: 100vh;
display: flex;
justify-content: center;
background-color: var(--main-color)
.login-area {
width: 275px;
margin: auto;
text-align: center;
.login-form {
display: flex;
flex-direction: column;
margin-top: 25px;
.form-input {
height: 50px;
margin: 5px;
padding: 5px;
font-size: 20px;
color: #000000;
text-align: center;
border: none;
border-radius: 10px;
background-color: #ffffff;
.form-submit {
width: 175px;
align-self: center;
.form-submit:hover {
background-color: var(--secondary-color);
color: #ffffff
\ No newline at end of file
......@@ -2,14 +2,19 @@
<meta charset="UTF-8">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="/style/main.css">
{{#unless meta.noNav}}<link rel="stylesheet" href="/style/nav.css">{{/unless}} {{! Only generate nav bar where needed}}
{{#each}}<link rel="stylesheet" href="/style/{{this}}.css">{{/each}} {{! Allow for extra stylesheets}}
<div class="main">
<div class="nav">
{{> nav}}
{{#unless meta.noNav}}
<div class="nav">
{{> nav}}
<div class="content">
<div class="login-area">
<img src="/images/logo/logo.png" alt="Logo" width="175px">
<form method="POST" action="/login" class="login-form">
<input type="text" name="username" id="username" placeholder="Brugernavn" class="form-input">
<input type="password" name="password" id="password" placeholder="Kodeord" class="form-input">
<button type="submit" class="form-input form-submit">Log ind</button>
\ No newline at end of file
<nav class="nav-content">
<a href="/" class="nav-item"><img src="/images/logo/logo.png" alt="Logo" width="100px"></a>
<a href="/" class="nav-item"><img src="/images/logo/logo.png" alt="Logo" width="195px"></a>
<a href="/" class="nav-item">Forside</a>
<a href="/experiments" class="nav-item">Eksperimenter</a>
<a href="/compare" class="nav-item">Sammenlign</a>
<a href="/logout" class="nav-item">Log ud</a>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment