forked from jaekwon/sudoroom_doorman
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathportal.html
43 lines (43 loc) · 1.54 KB
/
portal.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
<html>
<head>
<title>SudoRoom Door</title>
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
<link href="/static/css/bootstrap.min.css" rel="stylesheet" media="screen">
<style type="text/css">
.span6 {
margin: auto;
float: none;
}
input {
/* width:500px;*/
height:100px;
font-size:30px;
line-height:30px;
text-align:center;
}
#pass, #button {
width:100%;
height:100px;
}
</style>
</head>
<body class="">
<div class="span6">
<h4>This page is for opening the doors to <a href="https://sudoroom.org/">SudoRoom</a>!</h4>
<br /><br />
{% autoescape None %}
{% for message in messages %}
{{ message }}<br /><br />
{% end %}
<h4>Please enter a password, then press a button:</h4>
<br />
<form method="post" action="/dooeet">
<input id="pass" class="input-large span6" type="text" name="secret" value="" /><br />
<button id="button" class="button btn btn-block btn-large btn-primary" type="submit" name="button" value="open_out">OPEN OUTSIDE DOOR</button>
<button id="button" class="btn btn-large btn-block btn-primary" type="submit" name="button" value="open_el">UNLOCK ELEVATOR</button>
<button id="button" class="btn btn-large btn-block btn-primary" type="submit" name="button" value="open_in">OPEN INSIDE DOOR<br /><span style="font-size:smaller;">(lean on it)</span></button>
<button id="button" class="btn btn-large btn-block btn-danger" type="submit" name="button" value="close_in">CLOSE INSIDE DOOR</button>
</form>
</div>
</body>
</html>