-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathapp.html
293 lines (281 loc) · 12.2 KB
/
app.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
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
<html lang="en">
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script
async
src="https://www.googletagmanager.com/gtag/js?id=G-QQ5LTKG68L"
></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("js", new Date());
gtag("config", "G-QQ5LTKG68L");
</script>
<!-- SEO -->
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<meta name="twitter:card" content="summary_large_image" />
<meta
name="description"
content="Easy, smooth & flawless IPv4 calculations including VLSM with offline mode and cross platform availability."
/>
<meta
property="og:description"
content="Easy, smooth & flawless IPv4 calculations including VLSM with offline mode and cross platform availability."
/>
<meta
property="og:image"
content="https://eazyip.github.io/assets/img/fb_large_thumb_compressed.png"
/>
<meta
property="og:title"
content="Eazy IP: The network engineer toolkit"
/>
<meta property="og:url" content="https://eazy-ip.com" />
<!-- Style -->
<link rel="icon" href="/favicon.png" type="image/png" sizes="32x32" />
<link rel="stylesheet" href="/css/style.css" />
<link rel="stylesheet" href="/css/app.css" />
<link
rel="stylesheet"
href="/css/fontawesome_free_5.13.0_we_all.min.css"
/>
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link
href="https://fonts.googleapis.com/css2?family=Caveat:wght@700&family=Goldman&family=Nunito:wght@400;600;700&display=swap"
rel="stylesheet"
/>
<!-- PWA -->
<link rel="manifest" href="/manifest.json" />
<link
rel="apple-touch-icon"
href="/assets/img/logo22.png"
sizes="144x144"
/>
<meta name="theme-color" content="#1167b1" />
<title>Eazy IP | APP</title>
</head>
<body>
<header>
<nav>
<div class="max-width-container">
<div>
<a id="" class="logo" href="/index.html">Eazy IP</a>
</div>
<div id="nav-options">
<a id="js-nav-home" class="" href="/index.html">Home</a>
<a id="js-nav-about" class="" href="/about.html"
>About</a
>
<a id="js-nav-contact" class="" href="/contact.html"
>Contact</a
>
<a id="js-nav-app" class="inactive-app" href="/app.html"
>APP</a
>
</div>
</div>
</nav>
</header>
<main>
<div class="max-width-container">
<div id="options">
<div id="clf-option">Classful address</div>
<div id="cls-option">Classless address</div>
<div id="vlsm-option" class="current-option">VLSM</div>
</div>
<div id="clf-addr" class="hidden">
<form id="js-clf-addressing" class="soft-container">
<p>Collect the network's info of the given address</p>
<label for="clf-addr"
>Classful
<span class="colored-text">IPv4 address</span
>:</label
><br />
<input
type="text"
id="js-clf-address"
name="clf-addr"
placeholder="i.e. 192.168.1.2"
required
/>
<br />
<button type="submit" class="btn">Get info</button>
</form>
<div class="soft-container">
<span class="colored-text">Subnet</span>
info
<div id="js-clf-info"></div>
</div>
</div>
<div id="cls-addr" class="hidden">
<form id="js-cls-addressing" class="soft-container">
<p>
Collect the subnets' info of the given unicast
address
</p>
<label for="cls-addr"
>Classless
<span class="colored-text">IPv4 address</span
>:</label
><br />
<input
type="text"
id="js-cls-address"
name="cls-addr"
placeholder="i.e. 192.168.1.34"
required
/>
<br />
<label for="cls-mask-or-prefix">
<span class="colored-text">Mask</span> or
<span class="colored-text">Prefix</span>:</label
><br />
<input
type="text"
id="js-cls-mask-or-prefix"
name="cls-mask-or-prefix"
placeholder="i.e. 255.255.255.240 || /28"
required
/>
<br />
<button type="submit" class="btn">Get info</button>
</form>
<div class="soft-container">
<span class="colored-text">Subnet</span>
info
<div id="js-cls-info"></div>
</div>
<div class="soft-container">
<div id="js-cls-neighbors-info">
(Extra)
<span class="colored-text"
>Possible adjacent subnets details</span
>
in the /8, /16 or /24 container subnet
</div>
</div>
<div class="soft-container">
<div id="js-cls-upper-prefixes-neighbors">
(Extra)
<span class="colored-text"
>Possible adjacent subnets
</span>
in container subnets with a variation of prefixes
</div>
</div>
</div>
<div id="vlsm">
<form id="js-vlsm" class="soft-container">
<label for="js-vlsm-network"
><span class="colored-text">Main subnet</span>
address in CIDR notation:</label
><br />
<input
type="text"
id="js-vlsm-network"
placeholder="i.e. 10.0.0.0/25"
required
/><br />
<label>
<span class="colored-text">Subnet chunks</span>
(optional chunk name & hosts per subnet):</label
><br />
<div id="js-vlsm-inputs">
<div>
<input
type="text"
class="js-vlsm-names"
aria-label="The subnet name"
value="(nameless)"
/>
<input
type="text"
class="js-vlsm-subnets short-input"
aria-label="The subnet size"
placeholder="5"
required
/>
</div>
<div>
<input
type="text"
class="js-vlsm-names"
aria-label="The subnet name"
value="(nameless)"
/>
<input
type="text"
class="js-vlsm-subnets short-input"
aria-label="The subnet size"
placeholder="13"
required
/>
<i class="js-add-subnet fas fa-plus-circle"></i>
</div>
<div id="vlsm-ref-input">
<input
type="text"
class="js-vlsm-names"
aria-label="The subnet name"
value="(nameless)"
/>
<input
type="text"
class="js-vlsm-subnets short-input"
aria-label="The subnet size"
placeholder="19"
required
/>
<i class="js-add-subnet fas fa-plus-circle"></i>
<i
class="js-remove-subnet fas fa-minus-circle"
></i>
</div>
</div>
<button type="submit" class="btn">Get results</button>
</form>
<div class="soft-container">
<div id="js-vlsm-chunks"></div>
</div>
</div>
<!-- <h1>Supernetting</h1> -->
</div>
</main>
<footer>
<div class="max-width-container">
<div>
<a href="/index.html" class="logo">Eazy IP</a>
<p>Copyright <i class="fal fa-copyright"></i>2021</p>
</div>
<div>
<a href="/app.html">APP</a>
<a href="/index.html">Home</a>
<a href="/about.html">About</a>
<a href="/contact.html">Contact</a>
<a href="#">Offer support</a>
</div>
<div>
<a href="https://linkedin.com/in/medilies" target="_Blank"
><i class="fab fa-linkedin fa-1x fa-2x"></i>/medilies</a
>
<a href="https://github.com/medilies" target="_Blank"
><i class="fab fa-github fa-2x"></i>/medilies</a
>
<a href="mailto:medilies.contact@gmail.com" target="_Blank"
><i class="fal fa-at fa-2x"></i
>medilies.contact@gmail.com</a
>
</div>
</div>
</footer>
<!-- SCRIPTS -->
<!-- <script src="https://cdn.jsdelivr.net/npm/darkmode-js@1.5.7/lib/darkmode-js.min.js"></script> -->
<script src="/js/index.js"></script>
<script src="/js/app.js"></script>
<script src="/js/app_style.js"></script>
</body>
</html>