-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
58 lines (49 loc) · 2.32 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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>ALSI HB Compare</title>
<link rel="stylesheet" href="alsi.css">
</head>
<body>
<div class="controls">
<div class="row">
<div class="logo">
COMPARE
<span class="version">v1.1.0</span>
</div>
<div class="envs">
<div>
Old Env:
<select id="env1" onchange="setenv(1)"></select>
<input id="file1" type="file" onchange="upload(1)" class="hidden">
<input id="url1" type="text" onchange="update_local_url(1)" class="hidden" size="30">
<span id="status1" class="status"></span>
<button id="save1" class="hidden left-margin" onclick="saveFile(1)">Save file...</button>
</div>
<div>
New Env:
<select id="env2" onchange="setenv(2)"></select>
<input id="file2" type="file" onchange="upload(2)" class="hidden">
<input id="url2" type="text" onchange="update_local_url(2)" class="hidden" size="30">
<span id="status2" class="status"></span>
<button id="save2" class="hidden left-margin" onclick="saveFile(2)">Save file...</button>
</div>
</div>
<span id="status4" class="status"></span>
<button onclick="refresh(1);refresh(2)" class="hidden" id="refresh_button">↻ Refresh</button>
</div>
<div id="actions" class="top-margin hidden">
<button onclick="showENP(1, 0, 0)" class="bg-equal">Show only equal: <span id="num_eq"/></button>
<button onclick="showENP(false, true, false)" class="bg-negative">Show only missing: <span id="num_neg"/></button>
<button onclick="showENP(false, false, true)" class="bg-positive">Show only new: <span id="num_pos"/></button>
<button onclick="showENP(false, true, true)">Show all diffs (<span class="bg-negative">missing</span>+<span class="bg-positive">new</span>):<span id="num_dif"/></button>
<button onclick="showENP(true, true, true)" id="hideEqBut">Show everything: <span id="num_all"/></button>
</div>
<span id="status3" class="status"></span>
</div>
<div id="aggs" class="aggs"></div>
<script src="lodash.core.js"></script>
<script src="config.js"></script>
<script src="alsi.js"></script>
</body>