-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
514 lines (500 loc) · 33.5 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
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>dreamlog</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<!-- Le styles -->
<link href="css/bootstrap.css" rel="stylesheet">
<link href="css/datepicker.css" rel="stylesheet">
<link href="css/chosen.css" rel="stylesheet" />
<link href="css/bootstrap-timepicker.min.css" rel="stylesheet" />
<link href="css/lucidicon.css" rel="stylesheet">
<link href="css/default.css" rel="stylesheet">
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!-- Fav and touch icons -->
<link rel="shortcut icon" href="ico/favicon.ico">
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="ico/apple-touch-icon-144-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="ico/apple-touch-icon-114-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="ico/apple-touch-icon-72-precomposed.png">
<link rel="apple-touch-icon-precomposed" href="ico/apple-touch-icon-57-precomposed.png">
</head>
<body>
<div class="container">
<div class="row">
<div class="col-sm-6 col-md-4 col-md-offset-2">
<img src="img/sleeping-sheep.png" alt="Sheep sleeping on a cloud" />
</div>
<div class="col-sm-6 col-md-4">
<h2 class="typewriter">><span class="caption">dreamlog</span><span class="cursor">_</span></h2>
<label for="alternate" class="sr-only">Selected date</label>
<input type="text" id="alternate" class="hidden" />
<div class="datepicker"></div>
</div>
</div>
<div class="row">
<div class="col-sm-12 col-md-8 col-md-offset-2">
<h1>Friday, November 16, 2012</h1>
<label class="sr-only">daily happenings</label>
<textarea class="daily form-control" placeholder="Click to add daily happenings..."></textarea>
<div class="panel panel-default dream">
<div class="panel-body">
<form class="form-horizontal" role="form">
<fieldset>
<legend class="sr-only">Dream details</legend>
<div class="form-group">
<label class="col-sm-2 control-label">title</label>
<div class="col-sm-10">
<input type="text" class="form-control input-lg" placeholder="Dream title...">
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">description</label>
<div class="col-sm-10">
<textarea class="form-control" rows="3" placeholder="Dream description..."></textarea>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">side notes</label>
<div class="col-sm-10">
<input type="text" class="form-control" placeholder="Optional notes about the dream...">
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">bed time</label>
<div class="col-sm-3">
<div class="input-group bootstrap-timepicker">
<input type="text" class="form-control timepicker">
<span class="input-group-addon"><span class="glyphicon glyphicon-time"></span></span>
</div>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">wake time</label>
<div class="col-sm-3">
<div class="input-group bootstrap-timepicker">
<input type="text" class="form-control timepicker">
<span class="input-group-addon"><span class="glyphicon glyphicon-time"></span></span>
</div>
</div>
</div>
<div class="form-group js-mood">
<label class="col-sm-2 control-label">mood</label>
<div class="col-sm-10">
<div class="btn-group" data-toggle="buttons">
<label class="btn btn-default">
<input type="radio" name="mood" value="scarry">
<span class="lucidicon lucidicon-scarry"></span>
</label>
<label class="btn btn-default">
<input type="radio" name="mood" value="sad">
<span class="lucidicon lucidicon-sad"></span>
</label>
<label class="btn btn-default active">
<input type="radio" name="mood" value="neutral">
<span class="lucidicon lucidicon-neutral"></span>
</label>
<label class="btn btn-default">
<input type="radio" name="mood" value="smiley">
<span class="lucidicon lucidicon-smiley"></span>
</label>
<label class="btn btn-default">
<input type="radio" name="mood" value="laugh">
<span class="lucidicon lucidicon-laugh"></span>
</label>
</div>
</div>
</div>
<div class="form-group js-recall">
<label class="col-sm-2 control-label">recall</label>
<div class="col-sm-10">
<div class="btn-group" data-toggle="buttons">
<label class="btn btn-default">
<input type="radio" name="recall" value="blurry">
<span class="lucidicon lucidicon-batteryempty"></span> blurry
</label>
<label class="btn btn-default active">
<input type="radio" name="recall" value="na">
<span class="lucidicon lucidicon-batteryhalf"></span> n/a
</label>
<label class="btn btn-default">
<input type="radio" name="recall" value="clear">
<span class="lucidicon lucidicon-batteryfull"></span> clear
</label>
</div>
</div>
</div>
<div class="form-group js-type">
<label class="col-sm-2 control-label">type</label>
<div class="col-sm-10">
<div class="btn-group js-type" data-toggle="buttons">
<label class="btn btn-default active">
<input type="radio" name="type" value="regular">
regular
</label>
<label class="btn btn-default js-lucid">
<input type="radio" name="type" value="lucid">
<span class="lucidicon lucidicon-lightning"></span> lucid
</label>
<label class="btn btn-default">
<input type="radio" name="type" value="obe">
<span class="lucidicon lucidicon-users"></span> OBE
</label>
<label class="btn btn-default">
<input type="radio" name="type" value="precognition">
<span class="lucidicon lucidicon-camera"></span> precognition
</label>
<label class="btn btn-default">
<input type="radio" name="type" value="falseawakening">
<span class="lucidicon lucidicon-alarm"></span> false awakening
</label>
</div>
</div>
</div>
<div class="form-group js-lucidity-level">
<label class="col-sm-2 control-label">lucidity</label>
<div class="col-sm-10">
<div class="btn-group" data-toggle="buttons">
<label class="btn btn-default">
<input type="radio" name="lucidity" value="low">
low
</label>
<label class="btn btn-default">
<input type="radio" name="lucidity" value="medium">
medium
</label>
<label class="btn btn-default">
<input type="radio" name="lucidity" value="high">
high
</label>
</div>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">symbols</label>
<div class="col-sm-10">
<select multiple="" data-placeholder="Existing or new..." class="form-control autocomplete js-autocomplete-symbols">
<option value="levitation">levitation</option>
<option value="cycling">cycling</option>
<option value="mountains">mountains</option>
<option value="flying">flying</option>
</select>
<span class="help-block"><span class="glyphicon glyphicon-info-sign"></span> Tip: edit symbol details later in the <em>Symbol editor</em></span>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">related dreams</label>
<div class="col-sm-10">
<select multiple="" style="width: 250px;" data-placeholder="Choose from existing..." class="autocomplete js-autocomplete-dreams">
<option value="levitation">levitation</option>
<option value="cycling">cycling</option>
<option value="mountains">mountains</option>
<option value="flying">flying</option>
</select>
</div>
</div>
</fieldset>
</form>
</div>
<div class="panel-footer clearfix">
<div class="summary pull-left">
<span class="js-summary-mood lucidicon lucidicon-neutral"></span>
<span class="js-summary-recall lucidicon lucidicon-batteryhalf"></span>
<span class="js-summary-type"></span>
<span class="js-summary-symbols lucidicon lucidicon-tags"></span> <a href="symbol-editor.html">cycling</a>, <a href="symbol-editor.html">mountains</a>
<span class="js-summary-related lucidicon lucidicon-link"></span> <a href="#">Related dream #7</a>
</div>
<button class="btn btn-link pull-right js-edit"><span class="lucidicon lucidicon-pencil"></span></button>
<a href="#confirmation" role="button" data-toggle="modal" class="btn btn-default btn-link pull-right js-delete"><span class="glyphicon glyphicon-trash"></span></a>
</div>
</div>
<!-- this 'empty' dream is just a dummy mockup -->
<div class="panel panel-default dream empty">
<div class="panel-body">
<form class="form-horizontal" role="form">
<fieldset>
<legend class="sr-only">Dream details</legend>
<div class="form-group">
<label class="col-sm-2 control-label">title</label>
<div class="col-sm-10">
<input type="text" class="form-control input-lg" placeholder="Dream title...">
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">description</label>
<div class="col-sm-10">
<textarea class="form-control" rows="3" placeholder="Dream description..."></textarea>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">side notes</label>
<div class="col-sm-10">
<input type="text" class="form-control" placeholder="Optional notes about the dream...">
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">sleep</label>
<div class="col-sm-10">
<div class="input-group">
<select class="form-control sleeping-periods">
</select>
<span class="input-group-btn">
<button class="btn btn-default js-new-sleep" type="button" data-toggle="collapse" data-target=".new-sleeping-period">...or add new (e.g. afternoon nap)</button>
</span>
</div>
</div>
</div>
<div class="new-sleeping-period collapse">
<div class="form-group">
<label class="col-sm-2 control-label">bed time</label>
<div class="col-sm-3">
<div class="input-group bootstrap-timepicker">
<input type="text" class="form-control timepicker">
<span class="input-group-addon"><span class="glyphicon glyphicon-time"></span></span>
</div>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">wake time</label>
<div class="col-sm-3">
<div class="input-group bootstrap-timepicker">
<input type="text" class="form-control timepicker">
<span class="input-group-addon"><span class="glyphicon glyphicon-time"></span></span>
</div>
</div>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">mood</label>
<div class="col-sm-10">
<div class="btn-group" data-toggle="buttons">
<label class="btn btn-default">
<input type="radio" name="mood" value="scarry">
<span class="lucidicon lucidicon-scarry"></span>
</label>
<label class="btn btn-default">
<input type="radio" name="mood" value="sad">
<span class="lucidicon lucidicon-sad"></span>
</label>
<label class="btn btn-default active">
<input type="radio" name="mood" value="neutral">
<span class="lucidicon lucidicon-neutral"></span>
</label>
<label class="btn btn-default">
<input type="radio" name="mood" value="smiley">
<span class="lucidicon lucidicon-smiley"></span>
</label>
<label class="btn btn-default">
<input type="radio" name="mood" value="laugh">
<span class="lucidicon lucidicon-laugh"></span>
</label>
</div>
</div>
</div>
<div class="form-group js-recall">
<label class="col-sm-2 control-label">recall</label>
<div class="col-sm-10">
<div class="btn-group" data-toggle="buttons">
<label class="btn btn-default">
<input type="radio" name="recall" value="blurry">
<span class="lucidicon lucidicon-batteryempty"></span> blurry
</label>
<label class="btn btn-default active">
<input type="radio" name="recall" value="na">
<span class="lucidicon lucidicon-batteryhalf"></span> n/a
</label>
<label class="btn btn-default">
<input type="radio" name="recall" value="clear">
<span class="lucidicon lucidicon-batteryfull"></span> clear
</label>
</div>
</div>
</div>
<div class="form-group js-type">
<label class="col-sm-2 control-label">type</label>
<div class="col-sm-10">
<div class="btn-group js-type" data-toggle="buttons">
<label class="btn btn-default active">
<input type="radio" name="type" value="regular">
regular
</label>
<label class="btn btn-default js-lucid">
<input type="radio" name="type" value="lucid">
<span class="lucidicon lucidicon-lightning"></span> lucid
</label>
<label class="btn btn-default">
<input type="radio" name="type" value="obe">
<span class="lucidicon lucidicon-users"></span> OBE
</label>
<label class="btn btn-default">
<input type="radio" name="type" value="precognition">
<span class="lucidicon lucidicon-camera"></span> precognition
</label>
<label class="btn btn-default">
<input type="radio" name="type" value="falseawakening">
<span class="lucidicon lucidicon-alarm"></span> false awakening
</label>
</div>
</div>
</div>
<div class="form-group js-lucidity-level">
<label class="col-sm-2 control-label">lucidity</label>
<div class="col-sm-10">
<div class="btn-group" data-toggle="buttons">
<label class="btn btn-default">
<input type="radio" name="lucidity" value="low">
low
</label>
<label class="btn btn-default">
<input type="radio" name="lucidity" value="medium">
medium
</label>
<label class="btn btn-default">
<input type="radio" name="lucidity" value="high">
high
</label>
</div>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">symbols</label>
<div class="col-sm-10 symbols">
<select multiple="" data-placeholder="Existing or new..." class="form-control autocomplete js-autocomplete-symbols">
<option value="levitation">levitation</option>
<option value="cycling">cycling</option>
<option value="mountains">mountains</option>
<option value="flying">flying</option>
</select>
<span class="help-block"><span class="glyphicon glyphicon-info-sign"></span> Tip: edit symbol details later in the <em>Symbol editor</em></span>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">related dreams</label>
<div class="col-sm-10 related-dreams">
<select multiple="" style="width: 250px;" data-placeholder="Choose from existing..." class="autocomplete js-autocomplete-dreams">
<option value="levitation">levitation</option>
<option value="cycling">cycling</option>
<option value="mountains">mountains</option>
<option value="flying">flying</option>
</select>
</div>
</div>
</fieldset>
</form>
</div>
<div class="panel-footer clearfix">
<div class="summary pull-left">
<span class="js-summary-mood lucidicon lucidicon-neutral"></span>
<span class="js-summary-recall lucidicon lucidicon-batteryhalf"></span>
<span class="js-summary-type"></span>
<span class="js-summary-symbols lucidicon lucidicon-tags"></span> <a href="symbol-editor.html">cycling</a>, <a href="symbol-editor.html">mountains</a>
<span class="js-summary-related lucidicon lucidicon-link"></span> <a href="#">Related dream #7</a>
</div>
<button class="btn btn-link pull-right js-edit"><span class="lucidicon lucidicon-pencil"></span></button>
<a href="#confirmation" role="button" data-toggle="modal" class="btn btn-default btn-link pull-right js-delete"><span class="glyphicon glyphicon-trash"></span></a>
</div>
</div>
<a class="btn btn-primary pull-right action-add" href="javascript:">Add new dream</a>
</div>
</div>
</div>
<!-- /container -->
<img src="img/clouds.png" alt="Clouds" />
<!-- confirmation modal -->
<div id="confirmation" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="confirmation-label" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-body">
<div class="alert alert-block alert-danger">
<h4>Warning!</h4>
<p>Are you sure you want to delete <strong class="js-dream-to-delete">this dream</strong>?</p>
</div>
</div>
<div class="modal-footer">
<button class="btn btn-default" data-dismiss="modal">Cancel</button>
<button class="btn btn-primary btn-danger" data-dismiss="modal">Delete</button>
</div>
</div>
</div>
</div>
<div class="menu">
<h3 class="sr-only">Logged in user</h3>
<img src="img/loader.gif" class="loader" alt="Preloader gif animation" />
<div class="btn-group">
<a href="#" data-toggle="dropdown" class="btn btn-default dropdown-toggle"><i class="glyphicon glyphicon-user"></i> Tamás <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="settings.html"><i class="glyphicon glyphicon-wrench"></i> Settings</a></li>
<li><a href="login.html"><i class="glyphicon glyphicon-log-out"></i> Sign out</a></li>
</ul>
</div>
</div>
<footer>
<div class="container">
<div class="row">
<div class="col-sm-6 col-md-4 col-md-offset-2">
<div class="well">
<h3>Search</h3>
<div class="input-group">
<input type="text" class="form-control">
<span class="input-group-btn">
<a href="search.html" class="btn btn-default"><i class="glyphicon glyphicon-search"></i><span class="sr-only">Search</span></a>
</span>
</div>
<a href="search.html">Advanced search...</a>
</div>
</div>
<div class="col-sm-6 col-md-4">
<div class="well">
<h3>Average sleep</h3>
<p><i class="glyphicon glyphicon-time"></i> 6.5 hours</p>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-6 col-md-4 col-md-offset-2">
<div class="top-symbols well clearfix">
<a class="btn btn-xs btn-link pull-right" href="symbol-editor.html"><span class="lucidicon lucidicon-tags"></span> Symbol editor</a>
<h3>Top symbols</h3>
<ol>
<li><span class="label label-default">levitation</span> (17)</li>
<li><span class="label label-default">symbol #2</span> (11)</li>
<li><span class="label label-default">flying</span> (7)</li>
<li><span class="label label-default">cycling</span> (2)</li>
</ol>
</div>
</div>
<div class="col-sm-6 col-md-4">
<div class="well">
<h3>Dream recall</h3>
<img src="https://chart.googleapis.com/chart?chs=300x80&cht=lc&chd=t:40,60,60,45,47,75,70,72" alt="Chart showing dream recall" />
</div>
</div>
</div>
<div class="row">
<div class="col-sm-12 col-md-8 col-md-offset-2">
<ul class="list-inline">
<li><a href="#"><small>About</small></a></li>
<li><a href="#"><small>FAQ</small></a></li>
<li><a href="#"><small>Blog</small></a></li>
<li class="pull-right"><small>© 2014 Dreaming sheep</small></li>
</ul>
</div>
</div>
</div>
</footer>
<!-- Le javascript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="js/jquery-1.10.2.min.js"></script>
<script src="js/jquery-ui-1.10.3.custom.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/chosen.jquery.js"></script>
<script src="js/bootstrap-timepicker.js"></script>
<script src="js/default.js"></script>
</body>
</html>