-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
276 lines (264 loc) · 14 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
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>VeinIF Demo</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-giJF6kkoqNQ00vy+HMDP7azOuL0xtbfIcaT9wjKHr8RbDVddVHyTfAAsrekwKmP1" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/js/bootstrap.bundle.min.js"
integrity="sha384-ygbV9kiqUc6oa4msXn9868pTtWMgiQaeYH7/t7LECLbyPA2x65Kgf80OJFdroafW"
crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.4.0/font/bootstrap-icons.css">
</head>
<body>
<div class="container">
<div class="row mt-4" style="margin-bottom: 110px">
<noscript>This webpage needs JavaScript to function properly. Please enable JavaScript in your
browser</noscript>
<div class="col-lg-2">
</div>
<div class="col-lg-8 col-sm-12">
<header>
<h1>Demo</h1><p class="lead">A demonstation of VeinIF's capabilities.</p><hr>
</header>
<main>
<div id="paragraph"></div>
<div id="items"></div>
<div id="choices"></div>
</main>
</div>
<!-- <input id="playerName" type="text" placeholder="Enter your name here!" aria-label="playerName"> -->
<!-- <p class="yourName"></p> -->
<!-- <div id="pronouns">
</div> -->
<!-- <button id="coolbutton">BUTTON!</button> // a button that logs "thing" into the console-->
<!-- height:500px -->
<div class="col-lg-2">
</div>
</div>
</div>
<!-- STICKY BOTTOM NAVIGATION BAR -->
<nav class="navbar fixed-bottom navbar-expand-sm navbar-light bg-light">
<div class="container-fluid" style="text-align: center;">
<!-- <a class="navbar-brand" href="#">Navbar</a> -->
<button class="navbar-toggler" type="button" data-bs-toggle="collapse"
data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false"
aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mx-auto mb-2 mb-lg-0 text-center">
<li class="nav-item">
<a class="nav-link" data-bs-toggle="modal" data-bs-target="#playerModal" href="#"><i
class="bi bi-person"></i>
Player</a>
</li>
<li class="nav-item">
<a class="nav-link" data-bs-toggle="modal" data-bs-target="#inventoryModal" href="#"><i
class="bi bi-archive"></i>
Inventory</a>
</li>
<!-- <li class="nav-item">
<a class="nav-link" href="#"><i class="bi bi-book"></i>
Quest Log</a>
</li> -->
<li class="nav-item">
<a class="nav-link" href="#" data-bs-toggle="modal" data-bs-target="#saveModal"><i
class="bi bi-folder"></i> Save</a>
</li>
<li class="nav-item">
<a class="nav-link" data-bs-toggle="modal" data-bs-target="#settingModal" href="#"><i
class="bi bi-gear"></i> Settings</a>
</li>
</ul>
</div>
</div>
</nav>
<!-- Save Game Modal -->
<div class="modal fade" id="saveModal" tabindex="-1" aria-labelledby="saveModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="saveModalLabel"><i class="bi bi-folder"></i> Save Game</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<small>Slot 1</small><br>
<div class="row">
<div class="saveDesc col-lg-7 col-md-7 col-sm-7 col-xs-12" id='saveDesc-slot-1'>
Empty
</div>
<div class="col-lg-5 col-md-5 col-sm-5 col-xs-12 mt-3 mt-sm-0" style="text-align: center">
<button class="save btn-sm" value="slot-1" id="save1">Save</button>
<button class="load btn-sm" value="slot-1" id="load1">Load</button>
<button class="export btn-sm" value="slot-1" id="export1">Export</button>
</div>
</div>
<hr>
<small>Slot 2</small><br>
<div class="row">
<div class="saveDesc col-lg-7 col-md-7 col-sm-7 col-xs-12" id='saveDesc-slot-2'>
Empty
</div>
<div class="col-lg-5 col-md-5 col-sm-5 col-xs-12 mt-3 mt-sm-0" style="text-align: center">
<button class="save btn-sm" value="slot-2" id="save2">Save</button>
<button class="load btn-sm" value="slot-2" id="load2">Load</button>
<button class="export btn-sm" value="slot-2" id="export2">Export</button>
</div>
</div>
<hr>
<small>Slot 3</small><br>
<div class="row">
<div class="saveDesc col-lg-7 col-md-7 col-sm-7 col-xs-12" id='saveDesc-slot-3'>
Empty
</div>
<div class="col-lg-5 col-md-5 col-sm-5 col-xs-12 mt-3 mt-sm-0" style="text-align: center">
<button class="save btn-sm" value="slot-3" id="save3">Save</button>
<button class="load btn-sm" value="slot-3" id="load3">Load</button>
<button class="export btn-sm" value="slot-3" id="export3">Export</button>
</div>
</div>
<hr>
<p>Export Save?</p>
<div class="mb-3 mb-sm-0" style="text-align: center">
<button class="exportSave btn-sm" id="export">Export new Save Code</button>
<button class="importSave btn-sm" id="import">Load from Save Code</button>
</div>
<small id="exportMessage">Click Export to get a new Save code or paste existing Save Code below to
Load<br>
Please makes sure that your save code is valid, or all data might be lost. Load is
irreversible.</small>
<textarea class="form-control" rows="3" id="saveOutput"></textarea>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<!-- ./ Save Game Modal -->
<!-- Setting modal -->
<div class="modal fade" id="settingModal" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel"><i class="bi bi-gear"></i> Settings</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<small>Day/Night Mode (not functional yet)</small><br>
<div class="row">
<div class="col-7">
Toggle Day or Night mode.
</div>
<div class="col-5" style="text-align: center">
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="inlineRadioOptions" id="inlineRadio1"
value="option1">
<label class="form-check-label" for="inlineRadio1">Day</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="inlineRadioOptions" id="inlineRadio2"
value="option2">
<label class="form-check-label" for="inlineRadio2">Night</label>
</div>
</div>
</div>
<hr>
<small>Restart</small><br>
<div class="row">
<div class="col-7">
Clear your progress and start over
</div>
<div class="col-5" style="text-align: center">
<button type="button" class="btn btn-sm btn-danger restartBtn" data-bs-dismiss="modal">Restart Game</button>
</div>
</div>
<hr>
<small>Placeholder</small><br>
<div class="row">
<div class="col-7">
Some function
</div>
<div class="col-5" style="text-align: center">
<button type="button" class="btn btn-sm btn-secondary">Placeholder button</button>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
<!-- <button type="button" class="btn btn-primary">Save changes</button> -->
</div>
</div>
</div>
</div>
<!-- ./Setting modal -->
<!-- Player modal -->
<div class="modal fade" id="playerModal" tabindex="-1" aria-labelledby="staticBackdropLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="staticBackdropLabel">Player Info</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<div class="row">
<!-- <small><p class="card-text">Such empties... You own nothing</p></small> -->
<div class="col-md-6 col-sm-12">
<h6 class="mb-2">General Information</h6>
<h6 style="display:inline;" class="text-muted">Name: </h6>
<p style="display:inline;" class="yourName d-inline"></p>
<br>
<h6 class="mb-2 text-muted" style="display:inline;">Pronouns: </h6>
<p class=" playerPronouns" style="display:inline;"></p>
</div>
<div class="col-md-6 col-sm-12">
<h6 class="mb-2">Stats: </h6>
<div class="stat">
</div>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
<!-- <button type="button" class="btn btn-primary">Understood</button> -->
</div>
</div>
</div>
</div>
<!-- ./Player modal -->
<!-- Inventory modal -->
<div class="modal fade" id="inventoryModal" tabindex="-1" aria-labelledby="staticBackdropLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="staticBackdropLabel">Inventory</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<div class="row">
<!-- <small><p class="card-text">Such empties... You own nothing</p></small> -->
<div class="col-md-6 col-sm-12">
<h6 style="text-align: center">Items</h6>
<ul class="nav nav-pills mb-3 " id="inventory-tab" role="tablist" style="max-height: 275;">
</ul>
</div>
<div class="col-md-6 col-sm-12">
<h6 style="text-align: center">Description</h6>
<div class="tab-content" id="inventory-tabContent">
</div>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
<!-- <button type="button" class="btn btn-primary">Understood</button> -->
</div>
</div>
</div>
</div>
<!-- ./Inventory modal -->
<script src="/src/core/script/index.ts" type="module"></script>
</body>
</html>