forked from Or3stis/apparatus
-
Notifications
You must be signed in to change notification settings - Fork 2
/
design.html
188 lines (162 loc) · 7.01 KB
/
design.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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
<!DOCTYPE html>
<html lang="en">
<head>
<title>ASTo</title>
<meta charset="UTF-8" />
<meta name="viewport" content="user-scalable=no, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, minimal-ui">
<link rel="stylesheet" href="style/app.css">
</head>
<body>
<div class="title-bar" id="title-bar-id">design phase 💭</div>
<div class="window">
<div class="action-bar" id="action-bar-id">
<div class="components" id="components-id">
<div class="dropdown" id="add-component-id">
<button class="button-icon dropbtn">
<svg width="24" height="24">
<use xlink:href="icons/add-node.svg#add-node" class="icon"></use>
</svg>
</button>
<ul class="dropdown-menu">
<li><a href="#thing">thing</a></li>
<li><a href="#information">information</a></li>
<li><a href="#micronet">micronet</a></li>
<li><a href="#threat">threat</a></li>
<li><a href="#asset">asset</a></li>
<li><a href="#constraint">constraint</a></li>
<li><a href="#actor">actor</a></li>
<li><a href="#malicious actor">malicious actor</a></li>
<li><a href="#net">net</a></li>
<li><a href="#sensor">sensor</a></li>
</ul>
</div>
<button class="button-icon" id="add-edge" title="connection">
<svg width="24" height="24">
<use xlink:href="icons/connection.svg#connection" class="icon"></use>
</svg>
</button>
<button class="button-icon" id="delete" title="remove">
<svg width="24" height="24">
<use xlink:href="icons/remove.svg#remove" class="icon"></use>
</svg>
</button>
<div class="dropdown" id="selection-id">
<button class="button-icon dropbtn">
<svg width="24" height="24">
<use xlink:href="icons/list.svg#list" class="icon"></use>
</svg>
</button>
<ul class="dropdown-menu">
<li><a href="#thing">thing</a></li>
<li><a href="#information">information</a></li>
<li><a href="#micronet">micronet</a></li>
<li><a href="#threat">threat</a></li>
<li><a href="#asset">asset</a></li>
<li><a href="#constraint">constraint</a></li>
<li><a href="#actor">actor</a></li>
<li><a href="#malicious actor">malicious actor</a></li>
<li><a href="#net">net</a></li>
<li><a href="#sensor">sensor</a></li>
</ul>
</div>
<div class="dropdown" id="module-group">
<button class="button-icon dropbtn">
<svg width="24" height="24">
<use xlink:href="icons/module.svg#module" class="icon"></use>
</svg>
</button>
<ul class="dropdown-menu">
<li><a href="#network">network</a></li>
<li><a href="#security">security</a></li>
<li><a href="#social">social</a></li>
<li><a href="#sensing">sensing</a></li>
<li><a href="#network-security">network-security</a></li>
<li><a href="#network-sensing">network-sensing</a></li>
<li><a href="#security-sensing">security-sensing</a></li>
<li><a href="#network-social">network-social</a></li>
</ul>
</div>
<div class="dropdown" id="layout-button">
<button class="button-icon dropbtn" title="layout options">
<svg width="24" height="24">
<use xlink:href="icons/group.svg#group" class="icon"></use>
</svg>
</button>
<ul class="dropdown-menu">
<li><a href="#cose">cose</a></li>
<li><a href="#breadthfirst">breadthfirst</a></li>
<li><a href="#breadthfirst(circle)">breadthfirst(circle)</a></li>
<li><a href="#circle">circle</a></li>
<li><a href="#grid">grid</a></li>
</ul>
</div>
<button class="button-icon" id="neighbors-button" title="show neighbors">
<svg width="24" height="24">
<use xlink:href="icons/share.svg#share" class="icon"></use>
</svg>
</button>
<button class="button-icon" id="threat-verify-button" title="threat verification">
<svg width="24" height="24">
<use xlink:href="icons/security.svg#security" class="icon"></use>
</svg>
</button>
<button class="button-icon" id="model-validate-button" title="model validation">
<svg width="24" height="24">
<use xlink:href="icons/check.svg#check" class="icon"></use>
</svg>
</button>
<button class="button-icon" id="overview-button" title="overview">
<svg width="24" height="24">
<use xlink:href="icons/explore.svg#explore" class="icon"></use>
</svg>
</button>
<button class="button-icon" id="save-button">
<svg width="24" height="24">
<use xlink:href="icons/save.svg#save" class="icon"></use>
</svg>
</button>
<!-- <button class="button-icon" id="load-button">
<svg width="24" height="24">
<use xlink:href="icons/folder.svg#folder" class="icon"></use>
</svg>
</button> -->
<form>
<button class="button-icon" id="home-button-id" type="submit" formaction="index.html" title="home">
<svg width="24" height="24">
<use xlink:href="icons/home.svg#home" class="icon"></use>
</svg>
</button>
</form>
<button class="button-icon" id="test-button" title="test">
<svg width="24" height="24">
<use xlink:href="icons/bug.svg#bug" class="icon"></use>
</svg>
</button>
<div class="label-wrapper" id="label-wrapper-id">
<button class="label-button" id="hide-label" title="hide labels">1</button>
<button class="label-button" id="show-label" title="show labels">2</button>
<button class="label-button" id="show-label-node" title="show node labels">3</button>
<button class="label-button" id="show-node-id" title="show nodes id">4</button>
<button class="label-button" id="show-node-disc" title="show node description">5</button>
</div>
</div>
</div>
<div class="graph" id="graph-container">
<div class="container-node" id="container-node-id">
<div class="container-node-info" id="container-node-info-id"></div>
</div>
<div class="legend" id="legend-id"></div>
</div>
<div class="sidebar" id="sidebar-id">
<div class="sidebar-wrapper" id="sidebar-wrapper-id">
<div class="info-nodes" id="info-nodes-id"></div>
<div class="console-wrapper">
<label id="input-label-id">❯</label>
<input type="text" placeholder="cmd/ctrl + l or help" maxlength="25" id="console-id"/>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="src/app.js"></script>
</body>
</html>