-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpopup.html
More file actions
90 lines (83 loc) · 3.51 KB
/
popup.html
File metadata and controls
90 lines (83 loc) · 3.51 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script type="text/javascript" src="popup.js"></script>
<link rel="stylesheet" type="text/css" href="popup.css">
<title>Wireless Operations Buddy</title>
</head>
<body>
<!-- Header Section -->
<header>
<h1>Wireless Operations Buddy</h1>
<div class="status-container">
<span class="status" id="host">Host: N/A</span><br />
<span class="status" id="statusText">Status: N/A</span><br />
<span class="status" id="last-update">Last update: N/A</span>
</div>
</header>
<!-- Content Area -->
<main class="info">
<actions>
<div id="action-section" class="actions" style="display:none;">
<span class="status">
<h2>Client Analytics</h2>
</span>
<button class="button button-secondary" id="action1">Get Catalyst Center Data</button>
<button class="button button-secondary" id="action2">Get Current WLC State</button>
<button class="button button-secondary" id="action3">Send Radio Measurement Request</button>
</div>
<div id="device-action-section" class="actions" style="display:none;">
<span class="status">
<h2>Device Config Archive</h2>
</span>
<button class="button button-secondary" id="device-action1">Load Config Archive</button>
<!--button class="button button-secondary" id="device-action2">...</button>
<button class="button button-secondary" id="device-action3">...</button-->
</div>
<div id="activity-action-section" class="actions" style="display:none;">
<span class="status">
<h2>Activity Tasks</h2>
</span>
<button class="button button-secondary" id="activity-action1">Load Failed Jobs</button>
</div>
<div id="airsense-action-section" class="actions airsense-actions" style="display:none;">
<span class="status">
<h2>Onboarding Packet Captures</h2>
</span>
<div id="airsense-client-info" class="status"></div>
<div class="airsense-timerange">
<label>Start: <input type="datetime-local" id="airsense-start"></label>
<label>End: <input type="datetime-local" id="airsense-end"></label>
</div>
<div class="airsense-quickbtns">
<button class="button button-secondary" id="airsense-quick-30m">30 min</button>
<button class="button button-secondary" id="airsense-quick-1h">1 h</button>
<button class="button button-secondary" id="airsense-quick-5h">5 h</button>
</div>
<button class="button button-primary" id="airsense-action1">⬇ Download PCAP</button>
</div>
</actions>
<content>
<div id="content">
<div id="info-section">
<h1>Please navigate to a Client360 or Device360 view</h1>
<h2>I can only provide assistance on Client or Device 360 page within Cisco Catalyst Center.</h2>
</div>
<div id="login-section" class="login" style="display:none;">
<input type="text" id="username" placeholder="Username">
<input type="password" id="password" placeholder="Password">
<button class="button button-primary" id="login-btn">Login</button>
</div>
</div>
<div id="table-container"></div>
</content>
<span class="table-update-time" id="updatetimestamp"></span>
</main>
<!-- Footer Section -->
<footer>
<span class="footer" id="errorMessage"></span>
</footer>
</body>
</html>