-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcarpool.html
115 lines (107 loc) · 5.31 KB
/
carpool.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
<!DOCTYPE html>
<!--
____ ____
| _ \ _____ _| _ \ _ __ ___ __ _ _ __ ___ ___ ___ _ _ ___
| | | |/ _ \ \ / / |_) | '__/ _ \ / _` | '__/ _ \/ __/ __|| | | / __|
| |_| | __/\ V /| __/| | | (_) | (_| | | | __/\__ \__ \| |_| \__ \
|____/ \___| \_/ |_| |_| \___/ \__, |_| \___||___/___(_)__,_|___/
|___/
xxxxxxxxxxxxxxxxxxxxxxx
x //x
x xxxxxxxxxxxxxxxxx///x We are volunteers using our skills and expertise
x x x//x to create tech tools to help elect Hillary
x x x//x Clinton and other Democratic and progressive
x x . x//x candidates. We are coders, designers, leaders,
x x __.'.__ x//x writers, mentors, and researchers. Each project
x x '-. .-' x//x we work on focuses on an app, service, data
x x /.'.\ x//x resource, or other technology to advance the
x x ' ' x//x cause. We are a team — join us!
x xxxxxxxxxxxxxxxxx///x
x///////////////////////x http://DevProgress.us
xxxxxxxxxxxxxxxxxxxxxxx
-->
<html lang="en-us">
<head>
<meta charset="UTF-8">
<title>Nomad2016 by DevProgress</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="src/196favicon.png">
<link rel="stylesheet" type="text/css" href="stylesheets/normalize.css" media="screen">
<link href="https://fonts.googleapis.com/css?family=Montserrat+Alternates:400,700|Roboto:400,900" rel="stylesheet">
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/handlebars.js/1.0.0/handlebars.min.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<script type="text/javascript" src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.16.4/lodash.min.js"></script>
<script type="text/javascript" src="src/fecha.min.js"></script>
<script type="text/javascript" src="src/carpool.js"></script>
<link rel="stylesheet" type="text/css" href="stylesheets/stylesheet.css" media="screen">
<link rel="stylesheet" type="text/css" href="stylesheets/dashboard.css" media="screen">
<link rel="stylesheet" type="text/css" href="stylesheets/github-light.css" media="screen">
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-85727298-1', 'auto');
ga('send', 'pageview');
</script>
</head>
<body class="container-fluid carpool">
<h1>nomad 2016 <b>Reno</b></h1>
<img src="img/squares.gif" id="loading">
<div id="content" class="container-fluid">
<div>
Something's not right. We've got you down for <span id="reason"></span>.<br>
Update your plans so we know when to expect you, then click
<button class="btn btn-primary" id="save">Save</button>
</div>
<div id="carpoolDates"></div>
</div>
<div id="status">
<div class="alert alert-danger" role="alert" id="error"></div>
<div class="alert alert-danger" role="alert" id="success"></div>
</div>
</body>
<script id="carpool" type="text/x-handlebars-template">
<table class="table">
<tr>
<td><b>Start driving</b></td>
<td>
<div class="btn-group" data-toggle="buttons">
{{#each startDays}}
<label class="btn btn-primary {{#if checked}}active{{/if}}">
<input type="radio" name="startDate" value="{{ymd}}" {{#if checked}}checked{{/if}}> {{label}}
</label>
{{/each}}
</div>
</td>
</tr>
<tr>
<td><b>Canvass on</b></td>
<td>
<div class="btn-group" data-toggle="buttons">
{{#each canvassDays}}
<label class="btn btn-primary {{#if checked}}active{{/if}}">
<input type="checkbox" name="canvassDays" value="{{ymd}}" {{#if checked}}checked{{/if}}> {{label}}
</label>
{{/each}}
</div>
</td>
</tr>
<tr>
<td><b>Return home</b></td>
<td>
<div class="btn-group" data-toggle="buttons">
{{#each returnDays}}
<label class="btn btn-primary {{#if checked}}active{{/if}}">
<input type="radio" name="returnDate" value="{{ymd}}" {{#if checked}}checked{{/if}}> {{label}}
</label>
{{/each}}
</div>
</td>
</tr>
</table>
</script>
</html>