Parent: [eb902e] (diff)

Download this file

index.html    340 lines (289 with data), 11.4 kB

  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
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="format-detection" content="telephone=no" />
<!-- WARNING: for iOS 7, remove the width=device-width and height=device-height attributes. See https://issues.apache.org/jira/browse/CB-4323 -->
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=medium-dpi" />
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="css/bootstrap-dialog.css">
<link rel="stylesheet" href="css/animate.css">
<link rel="stylesheet" href="css/style.css">
<title>Compass</title>
</head>
<body>
<script type="text/x-handlebars">
<div class="navbar navbar-fixed-top">
<div class="col-xs-5 pull-left">
<img class="pull-left" src="img/osp-logo.jpg"/>
</div>
<div class="col-xs-3 pull-right">
<div class="btn-group pull-right">
<button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown">
<span class="glyphicon glyphicon-align-justify"></span>
</button>
<ul class="dropdown-menu" role="menu">
<li>{{#link-to 'choiceMaps' }}Progress{{/link-to}}</li>
<li><a href="#">Start Over</a></li>
<li class="divider"></li>
<li>{{#link-to 'about'}}About{{/link-to}}</li>
<li>{{#link-to 'faqs'}}FAQ{{/link-to}}</li>
</ul>
</div>
</div>
</div>
{{outlet}}
</script>
<script type="text/x-handlebars" data-template-name="intro">
<div class="col-xs-10 col-xs-offset-1 btmpad">
<div {{bind-attr class="animation.animation"}}>
<div {{bind-attr class="animation.animation :question :col-sm-6 "}}>
<h1>{{{detail}}}
{{# if alert}}
<a class="lowercase" {{action 'showAlert' alert}}>{{alert.title}}<span class="defInfo glyphicon glyphicon-new-window"></span></a>
{{/if}}
{{# if detail2}}
{{{detail2}}}
{{/if}}
{{# if alert2}}
<a class="lowercase" {{action 'showAlert' alert2}}>{{alert2.title}}<span class="defInfo glyphicon glyphicon-new-window"></span></a>
{{/if}}
</h1>
</div>
<div class="character col-sm-6">
<img class="img-responsive" {{bind-attr src=character}} />
</div>
</div>
</div>
<div class="col-xs-12 navbar-fixed-bottom mgbtm">
<div class="container">
<button class="btn btn-success btn-success-custom btn-block" {{action 'nextAction'}}>Continue</button>
</div>
</div>
</script>
<script type="text/x-handlebars" data-template-name="faqs">
<div class="col-xs-10 col-xs-offset-1 btmpad">
<ul class="faq">
{{#each controller}}
<li><p>Q. {{faqQuestion}}</p><p>A. {{faqAnswer}}</p></li>
{{/each}}
</ul>
</div>
<div class="col-xs-12 navbar-fixed-bottom mgbtm">
<div class="col-xs-8 col-xs-offset-2">
<button class="btn btn-success btn-success-custom btn-block" onclick="goBack()">Continue</button>
</div>
</div>
</script>
<script type="text/x-handlebars" data-template-name="question">
<div class="col-xs-10 col-xs-offset-1 btmpad">
<div {{bind-attr class="animation.animation"}}>
<div {{bind-attr class="animation.animation :question :col-sm-6"}}>
<h1>{{detail}}</h1>
</div>
<div class="character col-sm-6">
<img class="img-responsive" {{bind-attr src=character}} />
</div>
</div>
</div>
<div class="col-xs-12 navbar-fixed-bottom mgbtm">
<div class="col-xs-6">
<button class="btn btn-warning btn-warning-custom btn-block" {{action 'selectNo'}}>No</button>
</div>
<div class="col-xs-6">
<button class="btn btn-success btn-success-custom btn-block" {{action 'selectYes'}}>Yes</button>
</div>
</div>
</script>
<script type="text/x-handlebars" data-template-name="stop">
<div class="col-xs-10 col-xs-offset-1 btmpad">
<div {{bind-attr class="animation.animation"}}>
<div {{bind-attr class="animation.animation :question :col-sm-6"}}>
<h1>{{{detail}}}</h1>
</div>
<div class="character col-sm-6">
<img class="img-responsive" {{bind-attr src=character}} />
</div>
</div>
</div>
<div class="col-xs-12 navbar-fixed-bottom mgbtm">
<div class="container">
{{# if startOver}}
<a class="btn btn-success btn-success-custom btn-block" href="#">Start Over</a>
{{else}}
<button class="btn btn-success btn-success-custom btn-block" {{action 'stopAction' this}}>Continue</button>
{{/if}}
</div>
</div>
</script>
<script type="text/x-handlebars" data-template-name="choiceMaps">
<div class="col-xs-10 col-xs-offset-1 btmpad">
<ul class = "choice-list">
{{#each controller}}
<li><div class="col-xs-12">{{question}}</div>
{{# if selectY}}
<div class="col-xs-6"><p>You Answered:</p></div>
<div class="col-xs-6 pull-right"><p class="btn btn-success btn-success-custom">{{selectY}}</p></div>
{{/if}}
{{# if selectN}}
<div class="col-xs-6"><p>You Answered:</p></div>
<div class="col-xs-6 pull-right"><p class="btn btn-warning btn-warning-custom">{{selectN}}</p></div>
{{/if}}
<div class="col-xs-12 centre-txt"><span class="glyphicon glyphicon-arrow-down"></span></div>
</li>
{{/each}}
</ul>
</div>
<div class="col-xs-12 navbar-fixed-bottom mgbtm">
<div class="col-xs-8 col-xs-offset-2">
<button class="btn btn-success btn-success-custom btn-block" onclick="goBack()">Continue</button>
</div>
</div>
</script>
<script type="text/x-handlebars" data-template-name="licences">
<div class="col-xs-10 col-xs-offset-1 btmpad">
<div class="panel-group" id="accordion">
{{#each controller}}
{{# if isSelected}}
<div class="panel panel-default">
<div class="panel-heading">
<h4 class="panel-title">
<a data-toggle="collapse" data-parent="#accordion" href="#collapse{{unbound id}}">{{name}} <span class="label label-success pull-right">more</span></a>
</h4>
</div>
<div id="collapse{{unbound id}}" class="panel-collapse collapse">
<div class="panel-body">
<div class="row">
<div class="container">
<p>Licence Type: {{type.type}}</p>
</div>
</div>
<div class="row">
<div>
<p class="alert alert-success">Procedural</p>
<ul>
{{#each proceduralObligation}}
<li>{{procedural}}</li>
{{/each}}
</ul>
</div>
<div>
<p class="alert alert-warning">Liability</p>
<ul>
{{#each liabilityObligation}}
<li>{{liability}}</li>
{{/each}}
</ul>
</div>
<div>
<p class="alert alert-info">Intellectual Property</p>
<ul>
{{#each intellectualObligation}}
<li>{{intellectual}}</li>
{{/each}}
</ul>
</div>
<div>
<p class="alert alert-danger">Distribution Obligations</p>
<ul>
{{#each distributionObligation}}
<li>{{distribution}}</li>
{{/each}}
</ul>
</div>
</div>
<div class="row">
<div class="container">
<a class="btn btn-success btn-success-custom" href="{{unbound url}}">View Full Licence Text</a>
</div>
</div>
</div>
</div>
</div>
{{/if}}
{{/each}}
</div>
</div>
</script>
<script type="text/x-handlebars" data-template-name="about">
<div class="container about">
<h1>The Prose Consortium</h1>
<!--<p>OpenSourceProjects.eu is a software
forge dedicated to hosting Open Source
projects created within EU research
projects.</p>
<p>This forge was created as part of the
PROSE coordination action, with the main
goal of promoting the dissemination of
project results as Open Source software.</p>!-->
<div class="col-xs-12">
<img class="img-responsive" src="img/prose-logos/logos.jpg"/>
<h2>Disclaimer</h2>
<p>The views expressed in this App are purely those of the authors and may not, in any circumstances, be interpreted as stating an official position of their companies or the European Commission nor provide a substitute for legal advice.</p><p>The European Commission and the members of the PROSE Consortium do not guarantee the accuracy of the information included in this App, nor do they accept any responsibility or liability for any use thereof and all liability is disclaimed to the fullest extent permitted at law.</p>
<h2>Copyright 2014 The Prose Consortium</h2>
<p>Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at</p>
<p><a href="http://www.apache.org/licenses/LICENSE-2.0">http://www.apache.org/licenses/LICENSE-2.0</a></p>
<p>Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.</p>
<h2>Character Illustrations:</h2>
<p><a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons Licence" style="border-width:0" src="img/88x31.png" /></a><br />This work by <span xmlns:cc="http://creativecommons.org/ns#" property="cc:attributionName">Waterford Institute of Technology</span> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.</p>
</div>
</div>
<div class="col-xs-12 navbar-fixed-bottom mgbtm">
<div class="col-xs-8 col-xs-offset-2">
<button class="btn btn-success btn-success-custom btn-block" onclick="goBack()">Continue</button>
</div>
</div>
</script>
<script type="text/javascript" src="phonegap.js"></script>
<script src="js/libs/jquery-1.10.2.js"></script>
<script src="js/libs/handlebars-1.1.2.js"></script>
<script src="js/libs/ember-1.4.0.js"></script>
<script src="js/libs/ember-data.js"></script>
<script src="js/libs/localstorage_adapter.js"></script>
<script src="js/libs/bootstrap.js"></script>
<script src="js/libs/bootstrap-dialog.js"></script>
<script src="js/libs/fastclick.js"></script>
<script src="js/libs/flowtype.js"></script>
<script src="js/app.js"></script>
<script src="js/models/animation-model.js"></script>
<script src="js/models/choicemap-model.js"></script>
<script src="js/models/obligations-model.js"></script>
<script src="js/models/licence-model.js"></script>
<script src="js/models/licencetype-model.js"></script>
<script src="js/models/question-model.js"></script>
<script src="js/models/stop-model.js"></script>
<script src="js/models/intro-model.js"></script>
<script src="js/models/info-model.js"></script>
<script src="js/models/faq-model.js"></script>
<script src="js/routes/mainapplication-route.js"></script>
<script src="js/data/animation-data.js"></script>
<script src="js/routes/application-routes.js"></script>
<script src="js/controllers/question-controller.js"></script>
<script src="js/controllers/stop-controller.js"></script>
<script src="js/controllers/licence-controller.js"></script>
<script src="js/controllers/intro-controller.js"></script>
<script type="text/javascript">
$(function() {
FastClick.attach(document.body);
});
</script>
<script>
function goBack() {
window.history.back()
}
</script>
<script>
$('body').flowtype({
minFont : 12,
maxFont : 25
});
</script>
</body>
</html>