summaryrefslogtreecommitdiffstats
path: root/src/Pages/Login.cshtml
blob: 31553bbd3436446bd110ed0d54bcfd18576215e2 (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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
@page
@using Microsoft.AspNetCore.Mvc.TagHelpers
@model IOL.Fagprove.Pages.LoginModel
@{
    Layout = null;
}

<!DOCTYPE html>
<html lang="no">
<head>
    <meta charset="utf-8"/>
    <meta content="width=device-width, initial-scale=1.0"
          name="viewport"/>
    <partial name="Shared/_Favicons"/>
    <partial name="Shared/_Stylesheets"/>
    <link rel="stylesheet" href="~/styles/login.css">
    <title>Logg inn - Protekt IT</title>
</head>
<body>
<main>
    <div class="ui segment">
        <form class="ui large form"
              id="login-form"
              onsubmit="return false;">
            <div class="ui error message"
                 id="error">
            </div>
            @Html.AntiForgeryToken()
            <div class="field">
                <div class="ui left icon input">
                    <i class="user icon"></i>
                    <input name="username"
                           placeholder="E-post"
                           required
                           autocomplete="username"
                           type="email">
                </div>
            </div>
            <div class="field">
                <div class="ui left icon input">
                    <i class="lock icon"></i>
                    <input name="password"
                           placeholder="Passord"
                           required
                           autocomplete="current-password"
                           type="password">
                </div>
            </div>
            <button class="ui fluid submit positive button">Logg inn</button>
            <div class="ui divider"></div>
            <a href="#"
               id="forgot-pass-link"
               title="Få nytt passord">
                Glemt passord?
            </a>
        </form>
    </div>
</main>
<footer>
    <p>
        Utviklet av
        <a href="https://protektit.no"
           title="Gå til Protekt IT AS sine hjemmesider">
            Protekt IT AS
        </a>
    </p>
</footer>
<div class="ui modal mini top aligned"
     id="forgot-form-modal">
    <i class="close icon"></i>
    <div class="content">
        <form class="ui form"
              id="forgot-form"
              onsubmit="return false;">
            <div class="field">
                <div class="ui left icon input">
                    <i class="user icon"></i>
                    <input id="forgot-email"
                           placeholder="E-postadresse"
                           type="email">
                </div>
            </div>
            <button class="ui fluid submit positive button"
                    disabled>
                Send nytt passord
            </button>
        </form>
    </div>
</div>
<partial name="Shared/_Scripts"/>
<script src="~/scripts/login.js"></script>
</body>
</html>