-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
199 lines (199 loc) · 7.56 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
<!DOCTYPE html>
<!-- <html lang="en" manifest="offline.appcache"> -->
<html lang="en">
<head>
<title>Requisita (Alpha)</title>
<link rel="stylesheet" href="css/bootstrap.min.css" type="text/css" />
<link rel="stylesheet" href="css/style.css" type="text/css" />
<!-- Templates -->
<script type="text/template" id="page-template">
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="brand" href="#">Requisita</a>
<ul class="nav">
<li class="active">
<a href="#">Projects</a>
</li>
</ul>
</div>
</div>
</div>
<div id="content" class="container-fluid"></div>
</script>
<script type="text/template" id="project-template">
<h3 class="project-title">{{title}}</h3>
<br />
<div class="btn-group">
<a href="#/{{id}}/requirements" class="btn">Requirements</a>
<!-- <a href="#" class="btn">Minutes</a> -->
</div>
</script>
<script type="text/template" id="projects-template">
<div class="page-header"><h1>Projects</h1> <button class="btn add-project">Add New Project</button></div>
<div class="projects"></div>
</script>
<script type="text/template" id="edit-project-template">
<div class="modal-header">
<a class="close" data-dismiss="modal">×</a>
<h3>Edit Project</h3>
</div>
<div class="modal-body">
<label for="edit-title">Title:</label>
<input class="edit-title span6" name="edit-title" type="text" value="{{title}}">
</div>
<div class="modal-footer">
<a href="#" class="btn" data-dismiss="modal">Close</a>
<a href="#" class="btn btn-danger delete">Delete</a>
<a href="#" class="btn btn-primary save">Save changes</a>
</div>
</script>
<script type="text/template" id="requirements-template">
<div class="page-header">
<h1>Requirements for {{ projectTitle }}</h1>
<a href="#/{{ projectId }}/print/requirements" class="btn print">Print Preview</a></div>
</div>
<div class="span3 well sidebar-nav sections"></div>
<div class="list span8"></div>
</script>
<script type="text/template" id="section-template">
<a href="#" class="section">{{title}}</a>
</script>
<script type="text/template" id="sections-template">
<li class="nav-header">Sections</li>
<li class="divider"></li>
<li><a href="#" class="add-section">Add</a></li>
</script>
<script type="text/template" id="sections-collapsed-template">
<div class="">Sections</div>
</script>
<script type="text/template" id="list-template">
<div class="list-header">
<input class="search-all search-query" name="search-all" type="text" placeholder="Search List">
<button class="btn create-group">New Group</button>
</div>
<div id="groups"></div>
</script>
<script type="text/template" id="group-template">
<div class="group-header">
<h2 class="group-title">{{title}}</h2>
<h2 class="group-count hidden"><small>({{count}})</small> </h2>
<i class="icon-pencil edit"></i>
</div>
<input class="search search-query span3" name="search" type="text" placeholder="Search Group">
<div class="row-fluid">
<ul class="reqs unstyled"></ul>
</div>
<button class="btn">New</button>
</script>
<script type="text/template" id="edit-group-template">
<div class="modal-header">
<a class="close" data-dismiss="modal">×</a>
<h3>Edit Group</h3>
</div>
<div class="modal-body">
<label for="edit-title">Title:</label>
<input class="edit-title span6" name="edit-title" type="text" value="{{title}}">
</div>
<div class="modal-footer">
<a href="#" class="btn" data-dismiss="modal">Close</a>
<!-- <a href="#" class="btn btn-danger delete">Delete</a> -->
<a href="#" class="btn btn-primary save">Save changes</a>
</div>
</script>
<script type="text/template" id="item-template">
<div class="row-fluid">
<div class="span2 req-position">
<h3> {{ positionString }} :</h3>
</div>
<div class="span3 req-title">
{{title}}
</div>
<div class="span7 req-comments">
<span class="md-comments">{{commentsMD}}</span>
</div>
</div>
</script>
<script type="text/template" id="edit-item-template">
<div class="modal-header">
<a class="close" data-dismiss="modal">×</a>
<h3>Edit Requirement : {{ positionString }}</h3>
</div>
<div class="modal-body">
<label for="edit-title">Title:</label>
<input class="edit-title span6" name="edit-title" type="text" value="{{title}}">
<label for="edit-comments">Comments:</label>
<textarea class="edit-comments span6" name="edit-comments" rows="10">{{comments}}</textarea>
</div>
<div class="modal-footer">
<a href="#" class="btn" data-dismiss="modal">Close</a>
<a href="#" class="btn btn-danger delete">Delete</a>
<a href="#" class="btn btn-primary save">Save changes</a>
</div>
</script>
<script type="text/template" id="print-preview-requirements-template">
<div class="page-header">
<h1>Print Preview</h1>
<button class="btn print">Print</button></div>
</div>
{{#collection}}
<h2>{{number}}. {{title}}</h2>
<table class="table table-striped table-bordered table-condensed">
<thead>
<tr>
<th>Número</th>
<th>Grupo</th>
<th>Requerimiento</th>
<th>Comentarios</th>
</tr>
</thead>
<tbody>
{{#groups}}
<tr>
<td>{{number}}</th>
<td>{{group}}</th>
<td>{{requirement}}</th>
<td>{{comments}}</th>
</tr>
{{/groups}}
</tbody>
</table>
{{/collection}}
</script>
<script type="text/template" id="print-requirements-template">
<html>
<head>
<style>{{ style.print }}</style>
</head>
<body>
{{#collection}}
<h2>{{number}}. {{title}}</h2>
<table class="table table-striped table-bordered table-condensed">
<thead>
<tr>
<th>Número</th>
<th>Grupo</th>
<th>Requerimiento</th>
<th>Comentarios</th>
</tr>
</thead>
<tbody>
{{#groups}}
<tr>
<td>{{number}}</th>
<td>{{group}}</th>
<td>{{requirement}}</th>
<td>{{comments}}</th>
</tr>
{{/groups}}
</tbody>
</table>
{{/collection}}
</body>
</htmL>
</script>
<script data-main="js/main" src="js/vendor/require.js"></script>
</head>
<body>
</body>
</html>