-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
93 lines (82 loc) · 3.49 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Dynamic Questions and Answers</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/font.css" rel="stylesheet">
<link href="css/bootstrap.css" rel="stylesheet">
<style>
body {
padding-top: 20px; /* 60px to make the container go all the way to the bottom of the topbar */
}
</style>
<link href="css/bootstrap-responsive.css" rel="stylesheet">
<link rel="stylesheet" href="css/fileuploader.css">
<!-- Le 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]-->
<!-- Le 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">
<header id="header" class="jumbotron subhead">
<h1>Dynamic Questions + Answers</h1>
</header>
</div>
<div class="subnav subnav-fixed">
<ul id="nav-tabs" class="nav nav-tabs"></ul>
</div>
<div id="questions-page" class="page container">
<div id="questions-header" class="page-header">
<h1>Questions</h1>
</div>
<div class="row">
<div class="span4">
<form id="qaform" class="form-vertical">
<script type="text/template" id="question">
<div class="control-group" id="<%= id %>" data-parent="<%= parentID %>" data-trigger="<%= triggerID %>">
<label class="control-label"><%= text %></label>
<div class="controls" id="answers">
</div>
</div>
</script>
<script type="text/template" id="answer">
<label class="radio">
<input type="radio" name="<%= questionName %>" id="<%= id %>" value="<%= value %>">
"<%= text %>"
</label>
</script>
</form>
</div>
</div>
</div> <!-- /container -->
<!-- Templates -->
<script type="text/template" id="nav-tab-item">
<li id="<%= id %>" class="<%= css %>"><a href="#"><%= title %></a></li>
</script>
<script type="text/template" id="resp-head">
<tr><th>Type</th><th>Parcel ID</th><th>Entered On</th><% _.each(values, function(value) { %> <th><%= value %></th> <%}); %></tr>
</script>
<script type="text/template" id="resp-body-item">
<tr><td><%= type %></td><td><%= parcel_id %></td><td><%= created %></td><% _.each(values, function(value) { %> <td><%= value %></td> <%}); %></tr>
</script>
<!-- Le javascript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="js/jquery.js"></script>
<script src="js/underscore.js"></script>
<script src="js/backbone.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/main.js"></script>
</body>
</html>