-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
131 lines (123 loc) · 4.99 KB
/
index.html
File metadata and controls
131 lines (123 loc) · 4.99 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Webhook_Alerts</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="mywebhooks">
<div class="webhook zero">
<h3 id="webhookzero">🔄Loading🔄</h3>
<hr>
<h2 id="webhookzero-url">
<strong>🔄Loading🔄</strong>
<span class="summary">🔄Loading🔄</span>
</h2>
<p id="webhookzero-upcnt"><strong>🔄Loading🔄</strong></p>
<p id="webhookzero-downcnt"><strong>🔄Loading🔄</strong></p>
<p id="webhookzero-timeup">
<strong>⌛Time since last Up alert: <span id="wb0upalt">🔄Loading🔄</span></strong>
</p>
<p id="webhookzero-timedown">
<strong>⌛Time since last Down alert: <span id="wb0dwnalt">🔄Loading🔄</span></strong>
</p>
<p id="webhookzero-success"><strong>🔄Loading🔄</strong></p>
<p id="webhookzero-error"><strong>🔄Loading🔄</strong></p>
<button id="webhookzero-btn">🔄Loading🔄</button>
</div>
<div class="webhook one">
<h3 id="webhookone">🔄Loading🔄</h3>
<hr>
<h2 id="webhookone-url">
<strong>🔄Loading🔄</strong>
<span class="summary">🔄Loading🔄</span>
</h2>
<p id="webhookone-upcnt"><strong>🔄Loading🔄</strong></p>
<p id="webhookone-downcnt"><strong>🔄Loading🔄</strong></p>
<p id="webhookone-timeup">
<strong>⌛Time since last Up alert: <span id="wb1upalt">🔄Loading🔄</span></strong>
</p>
<p id="webhookone-timedown">
<strong>⌛Time since last Down alert: <span id="wb1dwnalt">🔄Loading🔄</span></strong>
</p>
<p id="webhookone-success"><strong>🔄Loading🔄</strong></p>
<p id="webhookone-error"><strong>🔄Loading🔄</strong></p>
<button id="webhookone-btn">🔄Loading🔄</button>
</div>
<div class="webhook two">
<h3 id="webhooktwo">🔄Loading🔄</h3>
<hr>
<h2 id="webhooktwo-url">
<strong>🔄Loading🔄</strong>
<span class="summary">🔄Loading🔄</span>
</h2>
<p id="webhooktwo-upcnt"><strong>🔄Loading🔄</strong></p>
<p id="webhooktwo-downcnt"><strong>🔄Loading🔄</strong></p>
<p id="webhooktwo-timeup">
<strong>⌛Time since last Up alert: <span id="wb2upalt">🔄Loading🔄</span></strong>
</p>
<p id="webhooktwo-timedown">
<strong>⌛Time since last Down alert: <span id="wb2dwnalt">🔄Loading🔄</span></strong>
</p>
<p id="webhooktwo-success"><strong>🔄Loading🔄</strong></p>
<p id="webhooktwo-error"><strong>🔄Loading🔄</strong></p>
<button id="webhooktwo-btn">🔄Loading🔄</button>
</div>
<div class="webhook three">
<h3 id="webhookthree">🔄Loading🔄</h3>
<hr>
<h2 id="webhookthree-url">
<strong>Active</strong>
<span class="summary">🔄Loading🔄</span>
</h2>
<p id="webhookthree-upcnt"><strong>🔄Loading🔄</strong></p>
<p id="webhookthree-downcnt"><strong>🔄Loading🔄</strong></p>
<p id="webhookthree-timeup">
<strong>⌛Time since last Up alert: <span id="wb3upalt">🔄Loading🔄</span></strong>
</p>
<p id="webhookthree-timedown">
<strong>⌛Time since last Down alert: <span id="wb3dwnalt">🔄Loading🔄</span></strong>
</p>
<p id="webhookthree-success" class="clickable-sound"><strong>🔄Loading🔄</strong></p>
<input type="file" id="success-file-input" accept=".wav" style="display: none;" />
<p id="webhookthree-error"><strong>🔄Loading🔄</strong></p>
<button id="webhookthree-btn">🔄Loading🔄</button>
</div>
<div class="webhook four">
<h3 id="webhookfour">Webhook4</h3>
<hr>
<h2 id="webhookfour-url">
<strong>Active</strong>
<span class="summary">🔄Loading🔄</span>
</h2>
<p id="webhookfour-upcnt"><strong>🔄Loading🔄</strong></p>
<p id="webhookfour-downcnt"><strong>🔄Loading🔄</strong></p>
<p id="webhookfour-timeup">
<strong>⌛Time since last Up alert: <span id="wb4upalt">🔄Loading🔄</span></strong>
</p>
<p id="webhookfour-timedown">
<strong>⌛Time since last Down alert: <span id="wb4dwnalt">🔄Loading🔄</span></strong>
</p>
<p id="webhookfour-success"><strong>🔄Loading🔄</strong></p>
<p id="webhookfour-error"><strong>🔄Loading🔄</strong></p>
<button id="webhookfour-btn">🔄Loading🔄</button>
</div>
</div>
<div class="labeled">
<label class="whitelabeled" for="whitelist">Whitelisted IPs e.g 192.168.66.1, 192.168.66.2</label>
</div>
<div class="inputs">
<textarea id="whitelist" class="whitelist-textarea"rows="1" placeholder="Whitelisted IPs" type="text"> </textarea>
</div>
<div class="logbtns">
<button id="log-btn" class="log-btn">Show Log</button>
</div>
<div id="logbox" class="logtexts">
<textarea id="logtext" class="logtextbox" placeholder="Click Show Log to see logs..."></textarea>
</div>
<script src="JQ/jquery-3.7.1.min.js"></script>
<script src="./index.js"></script>
</body>
</html>