-
Notifications
You must be signed in to change notification settings - Fork 20
/
simulator.html
executable file
·69 lines (57 loc) · 1.19 KB
/
simulator.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Simulator</title>
<script type="text/javascript" src="dist/networksim.min.js"></script>
<script type="text/javascript">
function init()
{
var loader = new ImageLoader(
["img/64/switch.png",
"img/64/router2.png",
"img/64/computer.png",
"img/64/server_web.png",
"img/64/server_dns.png",
"img/64/server_dhcp.png",
"img/64/envelope-DHCP.png",
"img/64/envelope-DNS.png",
"img/64/envelope-HTTP.png",
"img/64/envelope-ICMP.png"],
simulator
);
loader.load();
}
</script>
<meta content="">
<style>
html, body
{
margin: 0;
padding: 0;
width:2048px;
font-family: "Times New Roman", Times, serif;
}
table
{
border: 1px solid black;
border-collapse: collapse;
width: 100%;
}
td, th
{
border: 1px solid black;
border-collapse: collapse;
}
fieldset
{
font-size: 0.8em;
}
</style>
</head>
<body onload="init();" >
<div id="simcontainer" style="float:right;width:2048px; height:1024px;">
<canvas id="simcanvas" style="width:2048px; height:1024px;" />
</div>
</body>
</html>