-
Notifications
You must be signed in to change notification settings - Fork 44
/
ask-for-access-code-form.blade.php
75 lines (61 loc) · 1.63 KB
/
ask-for-access-code-form.blade.php
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>
<head>
<title>Password protected</title>
<link href="https://fonts.googleapis.com/css?family=Lato:100" rel="stylesheet" type="text/css">
<style>
html, body {
height: 100%;
}
body {
margin: 0;
padding: 0;
width: 100%;
display: table;
font-weight: 100;
font-family: 'Lato';
}
.container {
text-align: center;
display: table-cell;
vertical-align: middle;
}
.content {
text-align: center;
display: inline-block;
}
.title {
font-size: 36px;
}
.form-control {
border: 1px solid #ccc;
padding: 10px 20px;
}
.hidden {
display: none;
}
.text-danger {
color: #d9534f;
}
</style>
</head>
<body>
<div class="container">
<div class="content">
<div class="title">Enter access code</div>
<form method="GET">
{{ csrf_field() }}
<div class="form-group">
<input type="password" name="access-code" placeholder="Please enter access code" class="form-control" tabindex="1" autofocus />
@if (Request::get('access-code'))
<div class="text-danger">Access code is wrong</div>
@else
<div class="small help-block">And press enter</div>
@endif
</div>
<input type="submit" class="hidden" />
</form>
</div>
</div>
</body>
</html>