-
Notifications
You must be signed in to change notification settings - Fork 15
/
calendar.html
91 lines (65 loc) · 2.57 KB
/
calendar.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<link rel="shortcut icon" href="../../assets/ico/favicon.ico">
<title>Denver Street Sweeping</title>
<!-- Stylesheet -->
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">
<link href="http://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="css/calendar.css">
</head>
<body>
<div class="container">
<div class="col-lg-8 col-lg-offset-2">
<div class="cal-title">Street Sweeping for 1087 Wadsworth St</div>
<div class="yearCalendar">
</div>
<div class="cal-legend">
<div class="col-lg-4 col-lg-offset-2">Circled dates indicate street sweeping will occur on that day. </div>
<div class="col-lg-4"><span class="holiday">H</span> indicates a city holiday. (Your street will not be swept until the next month.)</div>
</div> <!-- cal-legend -->
</div> <!-- col-lg-8 col-lg-offset-2 -->
</div> <!-- container -->
<script id="calendar-template" type="text/x-handlebars-template">
<div class="calendar">
<div class="month-title">{{monthName}}</div>
<!-- cal-Days of Week -->
<div class="cal-days-of-week">
<div>Sun</div>
<div>Mon</div>
<div>Tue</div>
<div>Wed</div>
<div>Thu</div>
<div>Fri</div>
<div>Sat</div>
</div>
{{#times emptyDays}}
<div class="cal-day"></div>
{{/times}}
{{#each days}}
<div class="cal-day {{#if sweeping}}selected{{/if}} {{#if holiday}}holiday{{/if}}">
{{#if holiday}}
H
{{else}}
{{date}}
{{/if}}
</div>
{{/each}}
</div><!-- end .calendar -->
</script>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<!-- Latest compiled and minified JavaScript of Handlebars -->
<script src="js/handlebars-v1.3.0.js"></script>
<!-- Load JS Scripts -->
<script type="text/javascript" src="js/calendar-generator.js"></script>
</body>
</html>