-
Notifications
You must be signed in to change notification settings - Fork 0
/
group_volunteer.html
96 lines (68 loc) · 2.25 KB
/
group_volunteer.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
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="https://code.jquery.com/jquery-3.1.1.min.js" integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=" crossorigin="anonymous"></script>
<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/handlebars.js/4.0.6/handlebars.min.js"></script>
<script type="text/javascript" src="vendor/swag/lib/swag.js"></script>
<script type="text/javascript" src="js/data.js"></script>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
<link href="css/user.css" rel="stylesheet">
<script>
$(document).ready(function(){
var template = Handlebars.compile($("#groups-volunteer-template").html());
$("#content").append(template(data));
});
</script>
</head>
<body>
<div class="container">
<a href="./"><h2> <img src="img/logo.png" height="50">Affinity</h2></a>
<hr>
<div id="content"></div>
</div>
</body>
</html>
<script id="groups-volunteer-template" type="text/x-handlebars-template">
<h1>Volunteer with {{groups.0.name}}</h1>
<div class="well">
<form>
<label>I am interested in:</label>
<div class="checkbox">
{{#each interests}}
<label>
<input type="checkbox" value="">
{{description}}
</label>
<br>
{{/each}}
</div>
<div class="form-group">
<label>Other Interests</label>
<textarea class="form-control" rows="3"></textarea>
</div>
<div class="form-group">
<label>First Name</label>
<input type="text" class="form-control">
</div>
<div class="form-group">
<label>Last Name</label>
<input type="text" class="form-control">
</div>
<div class="form-group">
<label>Email</label>
<input type="email" class="form-control">
</div>
<div class="form-group">
<label>Phone</label>
<input type="text" class="form-control">
</div>
<div class="form-group">
<label>Zip Code</label>
<input type="text" class="form-control">
</div>
<button class="btn btn-primary">Volunteer</button>
</form>
</div>
</script>