-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathindex.html
More file actions
72 lines (62 loc) · 2.76 KB
/
Copy pathindex.html
File metadata and controls
72 lines (62 loc) · 2.76 KB
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
<!DOCTYPE html>
<html>
<head>
<title>Cisco configuration generator</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="//ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
<script src="ext/jquery.storageapi.js"></script>
<script src="js/cisco-confgen.js"></script>
<link rel="stylesheet" href="css/style.css" />
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-57222057-1', 'auto');
ga('send', 'pageview');
</script>
</head>
<body>
<header>
<h1>Cisco configuration generator</h1>
<div id="menubar">
<ul>
<li><a href="">Home</a></li>
<li><a href="https://github.com/RedShift1/ciscoconfig.net">Source code @ Github</a></li>
<li>
<img src="img/loading.gif" style="vertical-align: middle;" id="statusImage" alt="Loading status" />
<span id="statusText">Processing...</span>
</li>
</ul>
</div>
</header>
<main>
<div id="left">
<h2>Select template</h2>
<ul id="templateList">
</ul>
<input type="checkbox" id="makeTemplateDefault" />
<label for="makeTemplateDefault">Always start with this template when opening this site</label>
<div id="optionsSection">
<h2>Options</h2>
<form id="optionsForm">
<input type="submit" id="generate" value="Generate" />
<div>
<input type="checkbox" id="makedefault" />
<label for="makedefault">Save below settings as default for this template (uses javascript localstorage, saved when you press generate)</label>
</div>
<ul id="options">
</ul>
</form>
</div>
</div>
<div id="right">
<h2>Configuration</h2>
<textarea id="config"></textarea>
<input type="submit" id="selectAll" value="Select all text" />
<input type="submit" id="saveAsFile" value="Save as file" onclick="javascript:saveTextAsFile();"/>
</div>
</main>
</body>
</html>