-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
83 lines (73 loc) · 3.17 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>XorJS</title>
<link rel="stylesheet" type="text/css" href="lib/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="lib/ui/style.css?v=0.3" />
<script src="lib/bootstrap/js/jquery-3.2.1.min.js"></script>
<script src="lib/bootstrap/js/bootstrap.bundle.js"></script>
<script src="lib/util/compatibility.js"></script>
<script src="lib/data/DataWindow.js?v=0.1.5"></script>
<script src="lib/data/GeneratorWindow.js?v=0.1.5"></script>
<script src="lib/data/FileWindow.js?v=0.1"></script>
<script src="lib/data/ChunkedWindow.js?v=0.1.5"></script>
<script src="lib/xor/ChunkedXorProcessor.js?v=0.4"></script>
<script src="branding.js?v=0.4.2"></script>
<script src="lib/ui/DataEntry.js?v=0.1"></script>
<script src="lib/ui/InputEntry.js?v=0.5"></script>
<script src="lib/ui/OutputEntry.js?v=0.4"></script>
<script src="lib/ui/FileEntry.js?v=0.1"></script>
<script src="lib/ui/GeneratorEntry.js?v=0.1.5"></script>
<script src="lib/ui/ConstantGeneratorEntry.js?v=0.1"></script>
<script src="lib/ui/RandomGeneratorEntry.js?v=0.2"></script>
<script src="lib/ui/UI.js?v=0.4.1"></script>
</head>
<body>
<div class="container">
<h2>XorJS <small>v0.5-alpha (experimental) - Multi-file Binary XOR Utility</small></h2>
<!-- The Modal -->
<div class="modal" id="compatModal">
<div class="modal-dialog">
<div class="modal-content">
<!-- Modal Header -->
<div class="modal-header">
<h4 class="modal-title">Browser Compatibility Warning</h4>
<button type="button" class="close" data-dismiss="modal">×</button>
</div>
<!-- Modal body -->
<div class="modal-body">
This tool relies on newer javascript features (ES2017) which your browser does not support.<br>It may not function correctly.
</div>
<!-- Modal footer -->
<div class="modal-footer">
<button type="button" class="btn btn-danger" data-dismiss="modal" data-target="#compatModal">Close</button>
</div>
</div>
</div>
</div>
</div>
<div id="ui-container" class="container border p-2">
<ul id="ui-nav" class="nav nav-pills">
<li class="nav-item dropdown mr-2">
<a class="nav-link dropdown-toggle bg-success text-white" data-toggle="dropdown" href="#">+ Add Data</a>
<div class="dropdown-menu">
<a class="dropdown-item" onclick="UI.addFile()">File ...</a>
<a class="dropdown-item" onclick="UI.addConstantGenerator()">Generator: Constant Bytes</a>
<a class="dropdown-item" onclick="UI.addRandomGenerator()">Generator: Random Bytes</a>
</div>
</li>
<li class="nav-item">
<a class="nav-link bg-danger text-white" onclick="UI.clearEntries()">- Clear Data</a>
</li>
</ul>
<hr>
<div id="ui-entry-container" class="p-2" style="min-height:200px;"></div>
<hr>
<div id="ui-output-container"></div>
</div>
<div id="ui-branding-container"></div>
<input type="file" id="ui-addfile-trigger" multiple="" style="display:none;">
<div id="ui-drop-overlay" style="display:none;"></div>
</body>
</html>