-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
170 lines (154 loc) · 6.71 KB
/
index.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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
<!DOCTYPE html>
<html>
<head>
<title>Metroid Password Generator</title>
<link rel="stylesheet" href="public/bower_components/bootstrap/dist/css/bootstrap.min.css" type="text/css" />
<link rel="stylesheet" href="public/bower_components/fuelux/dist/css/fuelux.min.css" type="text/css" />
<link rel="stylesheet" href="public/css/bootstrap.min.css" type="text/css" />
<link rel="stylesheet" href="public/css/metroid.css" type="text/css" />
<link rel="stylesheet" href="public/css/sprites.css" type="text/css" />
<link rel="stylesheet" href="public/fonts/stylesheet.css" type="text/css" />
<style>
body {
padding-top: 70px;
}
</style>
</head>
<body>
<!-- Templates -->
<script id="tpl-panel" type="text/x-handlebars-template">
<div class="panel panel-default">
<div class="panel-heading" role="tab" id="heading-{{ id }}">
<h4 class="panel-title">
<a role="button" data-toggle="collapse" data-parent="#{{ parent }}" href="#{{ id }}" aria-expanded="falsee" aria-controls="{{ id }}">{{ title }}</a>
{{#unless exclusive}}
<span class="fuelux checkbox pull-right">
<label class="checkbox-custom" data-initialize="checkbox">
<input class="sr-only select-all" type="checkbox" value="{{ id }}">
<span class="checkbox-label">select all</span>
</label>
</span>
<div class="clearfix"></div>
{{/unless}}
</h4>
</div>
<div id="{{ id }}" class="panel-collapse collapse" role="tabpanel" aria-labelledby="heading-{{ id }}">
<div class="panel-body">
{{#columns 3 items}}
{{#if ../exclusive }}
<div class="fuelux radio" id="{{ ../../id }}-{{ ../bit }}">
<label class="radio-custom" data-initialize="radio" id="{{ ../../id }}-{{ ../bit }}-label">
<input class="sr-only" name="{{ ../../id }}" type="radio" value="{{ ../bit }}">
{{ ../desc }}
</label>
</div>
{{ else }}
<div class="fuelux checkbox" id="{{ ../../id }}-{{ ../bit }}">
<label class="checkbox-custom" data-initialize="checkbox">
<input class="sr-only" type="checkbox" value="{{ ../bit }}">
<span class="checkbox-label">{{ ../desc }}</span>
</label>
</div>
{{/if}}
{{/columns}}
</div>
</div>
</div>
</script>
<script id="tpl-password" type="text/x-handlebars-template">
<div class="panel-body metroid-font" id="password">
<div class="well">
<strong>{{letterise (lookup pass 0) }}</strong> <strong>{{letterise (lookup pass 1) }}</strong><br><strong>{{letterise (lookup pass 2) }}</strong> <strong>{{letterise (lookup pass 3) }}</strong>
</div>
</div>
</script>
<!-- /Templates -->
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
<div class="container">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">Metroid Passwords</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li>
<a href="#">Encoder/Decoder</a>
</li>
<li>
<a href="#">About</a>
</li>
</ul>
</div>
<!-- /.navbar-collapse -->
</div>
<!-- /.container -->
</nav>
<div class="container">
<div class="row">
<noscript>
<div class="col-lg-12 text-center no-js">
<div class="sprite-samus-down"></div>
<h1 class="metroid-font text-blue with-shadow">GAME OVER</h1>
<p>Please enable JavaScript to use the Metroid password generator!</p>
</div>
</noscript>
<div class="col-lg-3 text-center fade">
<div class="panel panel-default">
<div class="panel-heading">
<h4 class="panel-title">Password</h4>
</div>
<div id="password"></div>
</div>
<div class="panel panel-default" id="status">
<div class="panel-heading">
<h4 class="panel-title">Status</h4>
</div>
<div class="panel-body text-left">
<div class="well">
<div id="energy" class="metroid-font">
<div class="tanks">
<i class="sprite-energy-tank-empty invisible"></i>
<i class="sprite-energy-tank-empty invisible"></i>
<i class="sprite-energy-tank-empty invisible"></i>
<i class="sprite-energy-tank-empty invisible"></i>
<i class="sprite-energy-tank-empty invisible"></i>
<i class="sprite-energy-tank-empty invisible"></i>
</div>
<span class="text-blue with-shadow"> EN</span>
<span class="dots text-yellow with-shadow">▪▪</span>30
</div>
<div id="missiles" class="metroid-font">
<i class="sprite-missile"></i> <span id="missile-counter">000</span>
</div>
<br>
<div id="samus" class="sprite-suit-normal"></div>
</div>
</div>
</div>
<button class="btn btn-danger btn-lg" id="randomize">
Randomize!
</button>
<br>
<br>
</div>
<div class="col-lg-9">
<div class="panel-group" id="categories" role="tablist" aria-multiselectable="true"></div>
</div>
</div>
</div>
<script src="public/bower_components/jquery/dist/jquery.min.js"></script>
<script src="public/bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="public/bower_components/fuelux/dist/js/fuelux.min.js"></script>
<script src="public/bower_components/metroid-passwords/dist/bundle.js"></script>
<script src="public/bower_components/handlebars/handlebars.min.js"></script>
<script src="src/js/app.js"></script>
</body>
</html>