forked from HackaBXL/2014_think-of-the-children
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
140 lines (104 loc) · 6.66 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
<!DOCTYPE html>
<html ng-app="app">
<head>
<meta charset="utf-8">
<title>think of the children</title>
<link href="css/main.css" rel="stylesheet" type="text/css">
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet">
<link href="css/bootstrap.min.css" rel="stylesheet">
<link rel='stylesheet' href='//ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/themes/smoothness/jquery-ui.css' />
<link href='http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css' rel='stylesheet' type='text/css'>
<link rel='stylesheet' type='text/css' href='css/nab.css'>
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/jquery-ui.min.js"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
<!-- IMPORT LIBRARIES -->
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?sensor=false"></script>
<script type="text/javascript" src='config.js'></script>
<script type="text/javascript" src='map.js'></script>
<script type="text/javascript" src='app.js'></script>
<script src="functions.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/angular.js/1.2.20/angular.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/angular.js/1.2.20/angular-route.js"></script>
<script src="slider.js"></script>
<script src="index.js"></script>
<link href="dist/css/flat-ui.css" rel="stylesheet">
<style>.ui-slider{border:none;}.ui-slider-horizontal .ui-slider-handle {top: -7px;border:none;background:#2D3E4F;-webkit-appearance:none;}</style>
<script src="dist/js/flat-ui.js"></script>
</head>
<body>
<div class="content">
<select id="lang" class="form-control" ng-model="lang">
<option value="eng">ENG</option>
<option value="nl">NL</option>
<option value="fr">FR</option>
</select>
<div class="form">
<h1 class="head-title">{{data.title[lang]}}</h1>
<div>
<form class="form-inline" role="form" ng-submit="engine()">
<div class="tagsinput-primary">
<input id="tagsimput" name="tagsinput" class="tagsinput" data-role="tagsinput" value="" />
</div>
<hr>
<div id="options">
<label class="radio">
<input type="radio" ng-model="params.school" ng-change="engine()" name="schoolType" id="kindergarten" value="mat" data-toggle="radio" checked="checked" class="custom-radio">
<span class="icons">
<span class="icon-unchecked"></span>
<span class="icon-checked"></span>
</span>
<div>{{data.school_type.kindergarten[lang]}}</div>
</label>
<label class="radio">
<input type="radio" ng-model="params.school" ng-change="engine()" name="schoolType" id="primary" value="pri" data-toggle="radio" class="custom-radio">
<span class="icons">
<span class="icon-unchecked"></span>
<span class="icon-checked"></span>
</span>
<div>{{data.school_type.primary[lang]}}</div>
</label>
<hr>
<label class="checkbox" for="checkbox1">
<input type="checkbox" value="" id="checkbox1" ng-model="params.display" ng-change="engine()" data-toggle="checkbox" class="custom-checkbox"><span class="icons"><span class="icon-unchecked"></span><span class="icon-checked"></span></span>
{{data.show_schools[lang]}}
</label>
<hr>
<label class="radio" ng-show="params.display">
<input type="radio" ng-model="params.lang" ng-change="engine()" name="language" id="dutch" value="NL" checked="checked" data-toggle="radio" class="custom-radio">
<span class="icons">
<span class="icon-unchecked"></span>
<span class="icon-checked"></span>
</span>
<div>{{data.school_language.dutch[lang]}}</div>
</label>
<label class="radio" ng-show="params.display">
<input type="radio" ng-model="params.lang" ng-change="engine()" name="language" id="french" value="FR" data-toggle="radio" class="custom-radio">
<span class="icons">
<span class="icon-unchecked"></span>
<span class="icon-checked"></span>
</span>
<div>{{data.school_language.french[lang]}}</div>
</label>
</div>
<hr ng-show="params.display">
<label>Time Travel</label>
<div ui-slider min="2001" max="2028" ng-model="params.time_travel" ng-change="engine()"></div>
<strong>{{params.time_travel}}</strong>
<hr>
<button class="submiit btn btn-block btn-lg btn-primary" type="submit">{{data.submit[lang]}}</button>
<hr>
<button class="submiit btn btn-block btn-lg btn-success" type="button" ng-click="lucky()">I Feel Lucky</button>
<div class="background"></div>
</form>
</div>
</div>
<div class="map">
<div class="mapFrameHome" id="map-canvas"></div>
<div id="info-box">
<span class="name"></span><span class="info"></span>
</div>
</div>
</div>
</body>
</html>