summaryrefslogtreecommitdiffstats
path: root/api/WhatApi/Templates/web_login.liquid
blob: c5de790aa1f33f18a0b221299eb19404638a3893 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible"
          content="ie=edge">
    <style>
        html, body {
            height: 100%;
            margin: 0;
            padding: 0;
            width: 100%;
            aspect-ratio: 1 / 1;
            font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, Adwaita Sans, Cantarell, Ubuntu, roboto, noto, helvetica, arial, sans-serif;
        }

        form {
            max-width: 420px;
            width: 100%;
            margin: 15px auto;
        }

        input:not([type="submit"]) {
            height: 15px;
            padding: 10px 12px;
            border: 1px solid rgba(0, 0, 0, 0.2);
            max-width: 300px;
            width: 100%;
            margin-bottom: 5px;
        }

        input[type=submit] {
            margin-top: 12px;
            border: 1px solid rgba(0, 0, 0, 0.2);
            border-radius: 3px;
            transition: all .1s ease-in-out;
            height: 40px;
            color: rgb(17, 29, 74);
            font-weight: 600;
            background: rgba(135, 137, 192, .66);
            width: 100%;

            &:active {
                transition: all .2s ease-in-out;
                transform: scale(.99);
            }
        }
    </style>
    <title>Logg inn</title>
</head>
<body>
<form action=""
      method="post"
      accept-charset="utf-8"
      autocomplete="off">
    <fieldset>
        <legend><span id="login-tab">Logg inn</span></legend>
        <label for="username">Brukernavn
            <input type="text"
                   name="username"
                   required>
        </label>
        <label for="password">Passord
            <input type="password"
                   name="password"
                   required>
        </label>
        <input type="submit"
               value="Logg inn">
    </fieldset>
</form>
</body>
</html>