-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
58 lines (55 loc) · 2.3 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
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<title>VictiScout Compiler</title>
<link href="./node_modules/sortable-tablesort/sortable.min.css" rel="stylesheet"/>
<script src="./node_modules/sortable-tablesort/sortable.min.js"></script>
<link rel="stylesheet" href="css/theme.css">
<link rel="stylesheet" href="css/style.css">
<script src="js/loadjson.js"></script>
<script src="js/compile-sort.js"></script>
<script src="js/buttons.js"></script>
</head>
<body>
<div id="base">
<h1>VictiScout Compiler</h1>
<table class="sortable" id="table">
<thead>
<tr>
<th onclick="closeDrops()">TEAM</th>
<th onclick="closeDrops()">MATCH</th>
<th onclick="closeDrops()">CONES (A)</th>
<th onclick="closeDrops()">CUBES (A)</th>
<th onclick="closeDrops()">MOBILITY (A)</th>
<th onclick="closeDrops()">CHARGE (A)</th>
<th onclick="closeDrops()">CONES (T)</th>
<th onclick="closeDrops()">CUBES (T)</th>
<th onclick="closeDrops()">CHARGE (T)</th>
<th onclick="closeDrops()">TOTAL</th>
</tr>
</thead>
<tbody id="tbody">
</tbody>
</table>
<div id="buttons">
<span class="button" id="com" onclick="react(this.id)">build</span>
<span class="button" id="loa" onclick="react(this.id)">display</span>
<span class="button" id="sdf" onclick="react(this.id)">data files</span>
<span><form><label for="fil" class="submit-file">upload</label>
<input id="fil" type="file" accept=".csv" onchange="react(this.id)" multiple/></form></span>
</div>
</div>
<div id="pop-backer">
<div id="popup">
<p>Do you want to clear old files?</p>
<span class="button" id="ycl" onclick="react(this.id)">yes</span>
<span class="button" id="ncl" onclick="react(this.id)">no</span>
</div>
</div>
<div id="pop-backer-complete">
<div id="popup">
<p id="complete-message">build complete!</p>
<span class="button" id="ypc" onclick="react(this.id)">ok</span>
</div>
</div>
</body>