forked from kronick/fiber-sketches
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
83 lines (78 loc) · 3.39 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title> Google Fiber Prototypes</title>
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Open+Sans">
<link rel="stylesheet" type="text/css" href="css/style.css">
<script src="jquery-1.10.2.js"></script>
<script src="jquery-svg/jquery.svg.js"></script>
<script src="jquery-svg/jquery.svgdom.js"></script>
<script src="jquery-ui-1.10.3.custom.min.js"></script>
<script src="main.js"></script>
<script src="device.js"></script>
<script src="connection.js"></script>
<script src="layout.js"></script>
<script src="common.js"></script>
</head>
<body>
<!-- Navigation Menu -->
<ul id="menu">
<li class="logo"><a href="index.html"><img src="https://fiber.google.com/static/img/nav/logo.png" alt="Google Fiber">Home</a></li>
<li>
<a href="#">Layouts</a>
<ul>
<li><a href="#" onClick="populateDevicesAccordionGrid(); layoutDevices('accordion grid')">Accordion + Grid</a></li>
<li><a href="#" onClick="populateDevicesGrid(); layoutDevices('grid')">Grid</a></li>
<li><a href="#" onClick="populateDevicesDefault(); layoutDevices('tree cascading')">Tree</a></li>
<li><a href="#" onClick="populateDevicesPhysics(); layoutDevices('physics')">Physics</a></li>
<li><a href="#" onClick="populateDevicesDefault(); layoutDevices('random')">Random</a></li>
</ul>
</li>
<li>
<a href="#">Complexity</a>
<ul>
<li><a href="#" onClick="setNetworkComplexity('low');">Low</a></li>
<li><a href="#" onClick="setNetworkComplexity('average');">Average</a></li>
<li><a href="#" onClick="setNetworkComplexity('high');">High</a></li>
</ul>
</li>
<li>
<a href="#">Features</a>
<ul>
<li><a href="#" onClick="populateDevicesCollapsedNodes(); layoutDevices('tree')">Collapsed Nodes</a></li>
<li><a href="#" onClick="populateDevicesDragAndDrop(); layoutDevices('tree')">Drag-and-Drop</a></li>
</ul>
</li>
<li>
<a href="#">Options</a>
<ul>
<li><a href="#" onClick="toggleShading(this)">Toggle Cells</a></li>
<li><a id="toggle-button" href="#" onClick="toggleConnectors(this)">Toggle Connector Style</a></li>
<!-- <li><a href="#" onClick="populateDevicesDefault(); layoutDevices('tree')">New Network</a></li> -->
</ul>
</li>
</ul>
<div id="container_background"></div>
<div id="controller">
<div id="icon_palette" class="palette">
<h2>Icons</h2>
<div class="device laptop" data-type="laptop"><div class="icon"></div></div>
<div class="device storage" data-type="storage"><div class="icon"></div></div>
<div class="device tv" data-type="tv"><div class="icon"></div></div>
<div class="device phone" data-type="phone"><div class="icon"></div></div>
</div>
<div id="ip_palette" class="palette">
<h2>Static IP's</h2>
<div class="ip">64.233.160.0</div>
<div class="ip">64.233.160.1</div>
<div class="ip">64.233.160.2</div>
<div class="ip">64.233.160.3</div>
<div class="ip">64.233.160.4</div>
</div>
</div>
<div id="container"></div>
<div id="container_final" class="clear"></div>
<div id="svg_container"></div>
</body>
</html>