-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
202 lines (193 loc) · 10.2 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>SlimStampen Learning App</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script data-main="app/welcomepage" src="lib/require.js"></script>
<script type="text/javascript">var fs = require("fs");</script>
<link rel="stylesheet" href="./resources/css/bootstrap.css">
<link rel="stylesheet" href="./resources/css/custom.css">
<link rel="stylesheet" href="./resources/css/index.css">
<link rel="stylesheet" href="./node_modules/bootstrap-select/dist/css/bootstrap-select.min.css">
</head>
<body>
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-header">
<ul class="nav navbar-nav " id="nav-left">
<li><a href="#menu-toggle" id="menu-toggle" ><span class="glyphicon glyphicon-menu-hamburger" ></span></a></li>
<li><a class="navbar-brand" href="#" onclick="location.href='index.html';" >SlimStampen</a></li>
</ul>
<div class="btn-group center-menu" role="group">
<button type="button" class="btn btn-default" onclick="window.location='create.html'">
<span class="glyphicon glyphicon-file" aria-hidden="true"></span> <span class="text_navigation_new"></span>
</button>
<button type="button" class="btn btn-default" onclick="window.location='open.html'">
<span class="glyphicon glyphicon-folder-open" aria-hidden="true"></span> <span class="text_navigation_open"></span>
</button>
<button type="button" class="btn btn-default" disabled title="This option will be available on the next update.">
<span class="glyphicon glyphicon-save" aria-hidden="true"></span> <span class="text_navigation_download"></span>
</button>
<button type="button" class="btn btn-default" disabled title="This option will be available on the next update.">
<span class="glyphicon glyphicon-open" aria-hidden="true" ></span> <span class="text_navigation_upload"></span>
</button>
</div>
<div class="btn-group right-menu" role="group">
<button type="button" class="btn btn-default" data-toggle="modal" data-target="#modalProfile">
<span class="glyphicon glyphicon-user" aria-hidden="true"></span> <span data-replace="user_firstname"></span> <span data-replace="user_lastname"></span>
</button>
<button type="button" class="btn btn-default" data-toggle="modal" data-target="#modalSettings">
<span class="glyphicon glyphicon-cog" aria-hidden="true"></span>
</button>
<button type="button" class="btn btn-danger dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<span class="glyphicon glyphicon-off"></span> <span class="caret"></span>
</button>
<ul class="dropdown-menu dropdown-menu-right">
<li><a href="#" id="logout"><span class="text_general_logout"></span></a></li>
<li role="separator" class="divider"></li>
<li><a href="#"><span class="text_general_help"></span></a></li>
</ul>
</div>
</div>
</nav>
<div id="wrapper">
<!-- Sidebar -->
<div id="sidebar-wrapper">
<ul class="sidebar-nav" id="sidebar_ul">
<!-- Clone layout -->
<li id="layout" class="sidebar_li">
<a href="#" data-subject-id="{subject_id}" data-language-id="{language_id}">{subject_name}<br /><span class="sidebar_item"><span class="text_index_forspeakers1"></span>{language_name}<span class="text_index_forspeakers2"></span></span></a>
</li>
</ul>
</div>
<div id="sidebar-logos">
<img src="resources/images/university_groningen.png" />
<br>
<img src="resources/images/ruggedslimstampen.png" />
</div>
<!-- /#sidebar-wrapper -->
<div id="content" class="main">
<div class="container" >
<div class="datasets">
<div class="row" id="container">
<div id="messages" class="alert alert-success" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
</div>
<div id="errors" class="alert alert-danger" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
</div>
<!-- Clone layout -->
<div class="dataset_item col-md-3 col-md-6" id="layout">
<div class="btn mybutton" data-id="{dataset_id}">
<h3>{dataset_name}</h3>
<br>
<h4><span class="text_label_strength"></span>:</h4>
<center>
<div class="progress" style="width: 80%;">
<div class="progress-bar progress-bar-success progress-bar-stiped" role="progressbar" aria-valuenow="68" aria-valuemin="0" aria-valuemax="100" style="width:100%;"></div>
</div>
</center>
</div>
<span class="glyphicon glyphicon-remove-sign gi-2x removebutton" id="removebutton" data-id="{dataset_id}"></span>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Profile -->
<div id="modalProfile" class="modal fade" role="dialog">
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title"><span class="text_profile_header"></span></h4>
</div>
<div class="modal-body">
<ul>
<li><span class="text_label_username"></span>: <span data-replace="user_name"></span></li>
<li><span class="text_label_firstname"></span>: <span data-replace="user_firstname"></span></li>
<li><span class="text_label_lastname"></span>: <span data-replace="user_lastname"></span></li>
<li><span class="text_label_emailaddress"></span>: <span data-replace="user_email"></span></li>
<li><span class="text_label_dateofbirth"></span>: <span data-replace="user_bday"></span></li>
</ul>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal"><span class="text_general_close"></span></button>
</div>
</div>
</div>
</div>
<!-- Settings -->
<div id="modalSettings" class="modal fade" role="dialog">
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title"><span class="text_settings_header"></span></h4>
</div>
<div class="modal-body">
<form id="settingsForm" role="form" data-parsley-validate="">
<div class="form-group">
<p><span class="text_settings_changelanguage"></span>:</p>
<div class="row">
<div class="col-sm-6">
<select id="language" class="selectpicker selectLanguage" name="language" required="" data-live-search="true">
<!-- Items are loaded in select.js -->
</select>
<div class="clear"></div>
</div>
<div class="col-sm-6"></div>
</div>
<!--
<hr>
<p><span class="text_settings_changeinfo"></span>:</p>
<div class="row">
<div class="col-sm-6">
<label for="username"><span class="text_label_username"></span></label>
<input type="text" class="form-control" id="username" data-parsley-user-name="1" data-parsley-required = "true">
</div>
</div>
<div class="row">
<div class="col-sm-6">
<label for="gender"><span class="text_label_gender"></span></label>
<select class="form-control" id="gender" data-parsley-required = "true">
<option selected disabled class="text_placeholder_gender"></option>
<option value="male" class="text_label_gendermale"></option>
<option value="female" class="text_label_genderfemale"></option>
</select>
</div>
<div class="col-sm-6">
<label for="dateofbirth"><span class="text_label_dateofbirth"></span></label>
<input type="date" class="form-control" id="dateofbirth" data-parsley-required = "true">
</div>
</div>
<hr>
<p><span class="text_settings_changepassword"></span>:</p>
<div class="row">
<div class="col-sm-6">
<label for="password"><span class="text_label_password"></span></label>
<input type="password" class="form-control" id="password" required="">
</div>
<div class="col-sm-6">
<label for="confirm_password"><span class="text_label_passwordconfirm"></span></label>
<input type="password" class="form-control" id="confirm_password" data-parsley-required = "true" data-parsley-equalto = "#password" data-parsley-error-message = "Confirm Password must match Password">
</div>
</div>
-->
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default left" data-dismiss="modal"><span class="text_general_close"></span></button>
<!--button type="button" class="btn btn-success" data-dismiss="modal"><span class="text_settings_buttonsave"></span></button-->
<input id="button_savesettings" type="submit" name="save" class="btn btn-success submit saveSettings"/>
</div>
</form>
</div>
</div>
</div>
</body>
</html>