-
Notifications
You must be signed in to change notification settings - Fork 0
/
open.html
97 lines (91 loc) · 5.05 KB
/
open.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
<!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 type="text/javascript">var fs = require("fs");</script>
<script type="text/javascript">var XLSX = require("xlsx");</script>
<script data-main="app/openpage" src="lib/require.js"></script>
<link rel="stylesheet" href="./resources/css/bootstrap.css">
<link rel="stylesheet" href="./resources/css/custom.css">
<link rel="stylesheet" href="./node_modules/parsleyjs/src/parsley.css">
<link rel="stylesheet" href="./node_modules/bootstrap-select/dist/css/bootstrap-select.min.css">
<!-- Javascript libraries are added before the </body> tag -->
</head>
<body>
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-header" >
<ul class="nav navbar-nav " id="nav-left">
<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>
<a href="index.html" class="btn btn-warning" title="Back to main screen">
<span class="glyphicon glyphicon-circle-arrow-left" aria-hidden="true"></span>
</a>
</div>
</div>
</nav>
<div id="content">
<div class="container">
<div class="row">
<div class="alert alert-danger bs-callout-warning hidden" role="alert">
<span class="text_error_notenteredallfields"></span>
</div>
<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>
<form id="uploadForm" data-parsley-validate="">
<div class="col-md-6">
<h1><span class="text_open_headerselectfile"></span></h1>
<p><span class="text_open_dropfile"></span></p>
<input type="file" name="xlfile" id="xlf" required="" data-parsley-file-xlsx="42" />
</div>
<div class="col-md-6">
<h1><span class="text_open_headerenterinformation"></span></h1>
<label for="name"><span class="text_label_name"></span>:</label>
<input id="datasetname" type="text" class="form-control" name="name" required="" data-parsley-dataset-name="1" />
<label for="language"><span class="text_label_language"></span>:</label>
<select class="selectpicker selectLanguage" name="language" required="" data-live-search="true">
<!-- Items are loaded in selectLanguage.js -->
</select>
<div class="clear"></div>
<label for="subject"><span class="text_label_subject"></span>:</label>
<select id="datasetsubject" class="selectpicker selectSubject" name="subject" required="" data-live-search="true" data-size="5">
<!-- Items are loaded in selectSubject.js -->
</select>
<div id="newsubject" hidden="true">
<span class="text_label_customsubject"></span>:
<input id="customsubject" type="text" class="form-control" name="customsubject" data-parsley-subject-name="1" />
</div>
<input id="buttonsave" type="submit" name="upload" class="btn btn-lg btn-success right"/>
<div class="clear"></div>
</div>
</form>
</div>
</div>
</div>
<div id='loadFrame'><h1>Loading...</h1></div>
</body>
</html>