-
Notifications
You must be signed in to change notification settings - Fork 1
/
login.html
executable file
·129 lines (112 loc) · 2.57 KB
/
login.html
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<!DOCTYPE html>
<html>
<head>
<!--Example Login UI-->
<!--Stylesheets-->
<link href="https://fonts.googleapis.com/css?family=Raleway" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Droid+Sans" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro" rel="stylesheet">
<title>Category Manager</title>
<style>
body {
margin: 0;
font-family: 'Source Sans Pro', sans-serif;
}
label {
display: block;
text-align: center;
color: #34313f;
font-weight: 600;
margin: 0 auto;
}
.container {
display: flex;
justify-content: center;
align-items: center;
background: #f9ffff;
min-height: 100vh;
}
.loginModal {
min-width: 680px;
min-height: 480px;
background: #FFF;
border-radius: 8px;
box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.5);
}
.loginModal input[type=text] {
display:block;
font-size: 24px;
height: 40px;
min-width: 360px;
margin: 24px 0;
padding: 0;
/*box-shadow: 0px 1px 8px rgba(0, 0, 0, 0.5);*/
border-radius: 2px;
border: solid 1px rgb(215, 214, 217);
text-indent: 8px;
}
.loginModal input[type=text]:hover {
border-color: rgb(134, 132, 140);
}
.loginModal input[type=text]:focus, .loginModal input[type=text]:active {
outline: none;
border-color: rgb(75, 113, 252);
}
.loginModal input[type=submit] {
display:block;
border: 1px solid #4b71fc;
color: #4b71fc;
background: #FFF;
border-radius: 2px;
font-family: 'Source Sans Pro', sans-serif;
text-align: center;
margin: 40px auto;
font-size: 1rem;
font-weight: 400;
/*width: 160px;*/
}
.modalHeader {
background: #4b71fc;
border-radius: 8px 8px 0 0;
color: white;
padding: 16px 0;
margin: 0 0 16px 0;
}
.modalHeader h1 {
margin: 0;
text-align: center;
font-weight: 300;
}
.modalBody{
display: flex;
justify-content: center;
align-items: center;
margin: 0;
}
.modalAlert {
padding: 32px 0;
text-align: center;
}
</style>
</head>
<body>
<div class="container">
<div class="loginModal">
<div class="modalHeader">
<h1>Login</h1>
</div>
<div class="modalAlert">Please enter your credentials</div>
<div class="modalBody">
<form id='authForm'>
<label for="un">Username</label>
<input type='text' id='un'>
<label for "token">Token</label>
<input type='text' id='token'>
<input type='submit' value='Submit'>
</form>
</div>
</div>
</div>
</body>
</html>