-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
209 lines (188 loc) · 8.69 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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/png" href="/images/PivotalPDFIcon.png" />
<title>Agile Docs</title>
<meta name="description" content="A PDF document generator for Pivotal Tracker.">
<!-- Bootstrap core CSS -->
<link href="/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
<link type="text/css" rel="stylesheet" href="/stylesheets/main.css">
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
</head>
<body>
<!-- Include Facebook JS SDK -->
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.0";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<nav class="navbar navbar-default header">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand header-logo" href="#">
<img alt="Brand" src="/images/PivotalPDFIcon.png" width="25px" height="25px">
</a>
<a class="navbar-brand" href="#">Agile Docs</a>
</div>
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li class="dropdown project-selector">
{% if apiKey %}
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
{% if selected_project == None %}
Project
{% else %}
{% for project in projects %}
{% if project.id == selected_project %}
{{project.name}}
{% endif %}
{% endfor %}
{% endif %}
<span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
{% for project in projects %}
<li><a href="/getStories/{{project.id}}">{{project.name}}</a></li>
{% endfor %}
</ul>
{% endif %}
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li class="nav-link"><a class="text-uppercase" href="/SignOut"><strong>Sign Out</strong></a></li>
</ul>
</div>
</div>
</nav>
<div class="site-wrapper container-fluid">
<form id="filterStories" action="/filterStories" method="post" class="form-inline" onsubmit="track_event('Filter Stories')">
<div class="row">
<div class="col-md-1">
</div>
<div class="col-md-10">
<div class="form-group">
<div class="input-group">
<span class="input-group-addon">
<input type="checkbox" aria-label="Features" id="featuresChecked" name="featuresChecked" {{features_checked}} >
</span>
<p class="form-control" >Features</p>
</div>
<div class="input-group">
<span class="input-group-addon">
<input type="checkbox" aria-label="Bugs" id="bugsChecked" name="bugsChecked" {{bugs_checked}} >
</span>
<p class="form-control" >Bugs</p>
</div>
<div class="input-group">
<span class="input-group-addon">
<input type="checkbox" aria-label="Chores" id="choresChecked" name="choresChecked" {{chores_checked}} >
</span>
<p class="form-control" >Chores</p>
</div>
<div class="input-group">
<span class="input-group-addon">
<input type="checkbox" aria-label="Releases" id="releasesChecked" name="releasesChecked" {{releases_checked}} >
</span>
<p class="form-control" >Releases</p>
</div>
<select class="form-control" name="labels">
<option value="">Label Filter</option>
{% for label in labels %}
{% if label.name == selected_label %}
<option selected="selected" value="{{label.name}}">{{label.name}}</option>
{% else %}
<option value="{{label.name}}">{{label.name}}</option>
{% endif %}
{% endfor %}
</select>
<div class="input-group">
<span class="input-group-addon" aria-hidden="true">
<span class="glyphicon glyphicon-search"></span>
</span>
<input class="form-control" name="filter" type="text" >
</div>
<input class="form-control" value="Filter" type="submit">
</div>
</div>
<div class="col-md-1">
</div>
</div>
</form>
<form id="generatePDF" action="/generatePDF" method="post" onsubmit="track_event('Generate PDF')">
<div class="row">
<div class="col-md-1">
</div>
<div class="col-md-5">
<h3>Story List</h3>
<div>
<select class="form-control" name="stories" id="stories" size="20" style="margin: 5px 0pt; width: 500px;" multiple="multiple">
{% for story in stories %}
<option value="{{story.id}}">{{story.name}}</option>
{% endfor %}
</select>
</div>
</div>
<div class="col-md-4 report-parameters">
<div class="input-group">
<span class="input-group-addon">
<input type="checkbox" id="outputActivityChecked" name="outputActivityChecked" {{outputActivity_checked}} />
</span>
<p class="form-control" >Include Activity</p>
</div>
<div class="input-group">
<span class="input-group-addon">
<input type="radio" name="format" value="full" checked="True"/>
</span>
<p class="form-control" >Full Report</p>
<span class="input-group-addon">
<input type="radio" name="format" value="summary"/>
</span>
<p class="form-control" >Summary Report</p>
</div>
{% if not apiKey %}
<div><input class="btn btn-primary" name="outputType" value="Generate PDF" type="submit" disabled="true" ></div>
{% else %}
<div><input class="btn btn-primary" name="outputType" value="Generate PDF" type="submit"></div>
{% endif %}
</div>
<div class="col-md-2">
</div>
</div>
</form>
<div class="site-wrapper-inner">
</div> <!--site-wrapper-inner-->
<div class="row footer">
<div class="col-md-1">
</div>
<div class="col-md-10">
</div>
<div class="col-md-1">
</div>
</div>
<nav class="navbar navbar-default navbar-fixed-bottom footer">
<div class="container-fluid">
<div>
<ul class="nav navbar-nav navbar-left">
<small> <a href="https://www.pivotaltracker.com/projects/527625">PivotalTracker project</a></small>
</ul>
<ul class="nav navbar-nav navbar-right">
<small>Version: {{version}}</small>
</ul>
</div>
</div>
</nav>
</div> <!--site-wrapper-->
<script src="/js/main.js"></script>
<!-- Set the Javascript client endpoint security -->
<script src="https://apis.google.com/js/client.js?onload=init"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="/bootstrap/dist/js/bootstrap.min.js"></script>
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<script src="/js/ie10-viewport-bug-workaround.js"></script>
<script src="/js/google_analytics.js"></script>
</body></html>