forked from DIT029Team08/SimulatorJS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
39 lines (37 loc) · 1.44 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
<!DOCTYPE html>
<html>
<head>
<title>DIT029 Simulator</title>
<link rel="stylesheet" type="text/css" href="/public/styles/main.css">
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300" rel="stylesheet">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.min.css"
integrity="sha384-/Y6pD6FV/Vv2HJnA6t+vslU6fwYXjCFtcEpHbNJ0lyAFsXTsjBbfaDjzALeQsN6M" crossorigin="anonymous">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="/socket.io/socket.io.js"></script>
</head>
<body>
<main>
<div class="container">
<div class="jumbotron">
<h1>DIT029 Simulator</h1>
</div>
<div class="welcomeText">
<h2>Please select a JSON File</h2>
<h6>Ensure that the contents follow the DIT029 Template<br> for a Sequence Diagram</h6>
</div>
<form class="fileForm" name="fileForm" action="/animationPage.html" method="get">
<input class="fileInput" name="file" type="file" id="JSONFile" accept=".json" required multiple>
<div id="error" style="opacity: 0">Only Json files accepted. Maximum 1 of each type</div>
<div class ="fileSelDiv" id="selectedFiles"></div>
<button type="submit" id="submitbutton">Submit</button>
</form>
</div>
</main>
<script src="/public/js/inputFile.js"></script>
<script>
// $(function() {
// socket = io.connect();
// });
</script>
</body>
</html>