-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmalware.html
29 lines (28 loc) · 1.27 KB
/
malware.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
<!DOCTYPE html?>
<html>
<head>
<title>Decentralized malware detection system</title>
<script type="text/javascript" src="./dist/web3.min.js"></script>
<script type="text/javascript"> if(typeof window.web3 !== "undefined" && typeof window.web3.currentProvider !== "undefined") {
var web3 = new Web3(window.web3.currentProvider);
} else {
var web3 = new Web3();
}
</script>
<script type="text/javascript" src="./malware.js"></script>
<link rel="stylesheet" href="./malware.css">
</head>
<body>
<div id="container">
<div id="top_div">
<h1 id="heading">Decentralized Firewall</h1>
<input type="text" id="addNode"><br><br><input type="button" id="addNodeButton" onclick="addNode()" value="Add node"><br><br>
<input type="text" id="upload"><br><br><input type="button" id="uploadButton" onclick="submit()" value="Upload file"><br><br>
<input type="text" id="removeNode"><br><br><input type="button" id="removeNodeButton" onclick="removeNode()" value="Remove node"><br><br>
</div>
<div id="bottom_div">
<textarea id="console"></textarea>
</div>
</div>
</body>
</html>