blob: fc6ce55567cfb8d91f635364bca20f99eeafb647 (
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
|
@page
@model Dough.Pages.Login
@{
Layout = null;
}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Login - dough</title>
<link rel="stylesheet" href="~/codyframe.css">
<link rel="stylesheet" href="~/login.css">
</head>
<body>
<div class="container max-width-xs padding-y-lg">
<form onsubmit="return false">
<div class="text-component text-center margin-bottom-sm">
<h1>dough</h1>
</div>
<div class="alert js-alert" id="alert" role="alert">
<div class="flex items-center justify-between">
<div class="flex items-center">
<strong id="title">:</strong>
<p id="message"></p>
</div>
<button class="reset alert__close-btn js-alert__close-btn">
<svg class="icon" viewBox="0 0 24 24">
<title>Close alert</title>
<g
stroke-linecap="square"
stroke-linejoin="miter"
stroke-width="3"
stroke="currentColor"
fill="none"
stroke-miterlimit="10">
<line x1="19" y1="5" x2="5" y2="19"></line>
<line fill="none" x1="19" y1="19" x2="5" y2="5"></line>
</g>
</svg>
</button>
</div>
</div>
<div class="margin-bottom-sm">
<label class="form-label margin-bottom-xxxs" for="username">Email</label>
<input
class="form-control width-100%"
type="text"
name="username"
id="username"
autofocus/>
</div>
<div class="margin-bottom-sm">
<div class="flex justify-between margin-bottom-xxxs">
<label class="form-label" for="password">Password</label>
<span class="text-sm">
<a href="http://localhost:3000/forgot">Forgot?</a>
</span>
</div>
<input
type="password"
class="form-control width-100%"
name="password"
id="password"/>
</div>
<div class="margin-bottom-sm">
<input class="checkbox" type="checkbox" id="persist">
<label for="persist">Remeber me</label>
</div>
@Html.AntiForgeryToken()
<div class="margin-bottom-sm">
<button
id="login-btn"
class="btn btn--primary btn--md btn--preserve-width width-100%">
<span class="btn__content-b">
<svg aria-hidden="true" viewBox="0 0 16 16" class="icon icon--is-spinning">
<title>Loading</title>
<g stroke-width="1" fill="currentColor" stroke="currentColor">
<path
d="M.5,8a7.5,7.5,0,1,1,1.91,5"
fill="none"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round">
</path>
</g>
</svg>
</span>
<span class="btn__content-a">
Login
</span>
</button>
</div>
<div class="text-center">
<p class="text-sm">Don't have an account? <a href="http://localhost:3000/signup">Get started</a></p>
</div>
</form>
</div>
<script src="~/codyframe.js"></script>
<script src="~/login.js"></script>
</body>
</html>
|