forked from sysengineer13/ServiceNever
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
324 lines (274 loc) · 11.3 KB
/
index.html
File metadata and controls
324 lines (274 loc) · 11.3 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
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
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title>Service Never</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="site.css">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/js/bootstrap.bundle.min.js" integrity="sha384-A3rJD856KowSb7dwlZdYEkO39Gagi7vIsF0jrRAoQmDKKtQBHUuLZ9AsSv4jD4Xa" crossorigin="anonymous"></script>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-gH2yIJqKdNHPEq0n4Mqa/HGKIhSkIHeL5AyhkYV8i59U5AR6csBvApHHNl/vI1Bx" crossorigin="anonymous">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-EC3PK322B1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'G-EC3PK322B1');
</script>
<style>
#Progress_Status {
width: 50%;
background-color: #ddd;
}
#myprogressBar {
width: 2%;
height: 20px;
background-color: #4CAF50;
}
/* Text Entry CSS */
.ComplaintBox {
/* Add loaging wheel when user mouse hovers over text entry ComplaintBox */
cursor: wait;
/* Convert text in ComplaintBox to Rainbow */
background-image: linear-gradient(to left, violet, indigo, blue, green, yellow, orange, red);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
</style>
</head>
<body>
<!-- Navigation -->
<div class="navcontainer">
<a class="navlinks" href="https://sharepointlist.com/">
<img src="https://sharepointlist.com/logo.png" alt="Service Never Stoned Paperclip" height="125">
</a>
<img src="images/wordart(4).png" alt="ServiceNever" height="100">
<br>
<a class="navlinks" href="https://github.com/sysengineer13/ServiceNever" target="_blank">ServiceNever.Git</a>
<a class="navlinks" href="#" onclick="toggleMagicWordGif()">Log In</a>
<div class="dropdown navlinks">
<button class="dropbtn">Helpful Resources</button>
<div class="dropdown-content">
<a href="https://sharepointlist.com/" target="_blank">Submit a Ticket</a>
<a href="https://www.google.com/" target="_blank">Contact Support</a>
<a href="https://downloadmoreram.com/" target="_blank">Download RAM</a>
<a href="#" onclick="toggleMagicWordGif()">Restart my Computer</a>
<div id="askNicely" style="display: none;">
<img src="images/off-on.gif" height="300" alt="Have you tried turning it off & on?" />
</div>
</div>
</div>
</div>
<!-- Navigation -->
<!-- Download Virus & Login GIF-->
<div style="padding-top:20px;padding-left:50px;">
<input type="button" name="answer" value="Download Virus" onclick="showDiv()" />
<div id="welcomeDiv" style="display:none;" class="answer_list">
<p>Download Status of a Virus:</p>
<div id="Progress_Status">
<div id="myprogressBar"></div>
<center>
<a href="https://get.adobe.com/flashplayer/about">Click here</a>
</center>
</div>
</div>
</div>
<div id="askNicely" style="display: none;">
<img src="images/jurrasic-park-samuel-l-jackson.gif" alt="You didn't say the magic word!" />
</div>
<!-- Download Virus & Login GIF-->
<!-- Submit a Ticket Form: Left Side -->
<div class="jumbotron" style="padding-left:50px;padding-right:50px;padding-top:20px;padding-bottom:70px;">
<div class="row">
<div class="align-self-center col-xl-8 col-lg-4 col-md-12 col-sm-12 col-xs-12">
<h1>Submit a Ticket</h1>
<label for="name">Name:</label>
<input type="text" id="name" name="name" placeholder="jef">
<br>
<br>
<label for="email">Email:</label>
<input type="text" id="email" name="email" placeholder="example@sharepointlist.com">
<br>
<br>
<label for="phone">Phone:</label>
<input type="tel" id="phone" name="phone">
<br>
<br>
<label for="dept">Department:</label>
<select id="dept" name="dept">
<option value="unsure">Unsure</option>
<option value="it">IT</option>
<option value="marketing">Marketing</option>
<option value="sales">Sales</option>
<option value="hr">HR</option>
<option value="finance">Finance</option>
</select>
<br />
<br />
<label for="priority">Priority: </label>
<select id="priority" name="priority">
<option value="die">Will die if not done ASAP</option>
<option value="idkbruh">IDK I'm going on lunch right now</option>
<option value="world">The world will end if not fixed immediately</option>
</select>
<br />
<br />
<label for="problem">Description of Problem:</label>
<br />
<textarea class="ComplaintBox" id="problem" name="problem" rows="4" cols="50"></textarea>
<br>
<br>
</div>
</div>
<!-- Submit a Ticket Form: Left Side -->
<!-- Submit Buttons -->
<section>
<div class="box-bounds">
<button id="submit" class="buttonFLASH" style="background-color:red;color:white;padding:20px;" tabindex="-1"> Submit </button>
</div>
</section>
<div style="padding-left:20px;padding-top:20px;">
<button class="buttonhover" onclick="location=' https://lmgtfy.app/?q=' + encodeURIComponent(document.getElementById('problem').value);">
<span class="submit" href="http://sharepointlist.com/">Submit</span>
<span class="cancel" href="http://sharepointlist.com/">Cancel</span>
</button>
</div>
<!-- Submit Buttons -->
<!-- Right Side -->
<div class="align-self-center col-xl-4 col-lg-4 col-md-12 col-sm-12 col-xs-12">
<CENTER>
</CENTER>
</div>
</div>
</div>
<!-- Right Side -->
<!-- Footer -->
<footer>
<a href="https://sociall.link/sysengineer">
<img alt="microwave edge" src="images/Microwave Edge.png" height="100" />
</a>
<span style="padding-left:20px;padding-right:20px;">If there are any issues with the form, <a href="https://discord.gg/7NtgNbc46p">click here</a> & ask for Tyler.</span>
<img class="navlinks" alt="best viewed with" src="images/best-viewed.jpg">
</footer>
<!-- Footer -->
<script>
$(document).ready(function () {
let numMoves = 0;
let timeoutDone = false;
let audio = (typeof(Audio) !== 'undefined') ? new Audio("youredone.mp3") : null;
$(".box-bounds").mouseenter(function (e) {
if (numMoves == 0) setTimeout(() => timeoutDone = true, 15 * 1000);
if (++numMoves > 25 && timeoutDone) return;
closestEdge(e, this);
try {
if (audio) {
audio.play();
}
} catch(e) {}
});
});
document.getElementById("submit").addEventListener("click", function () {
window.location.href = "https://www.youtube.com/watch?v=dQw4w9WgXcQ";
});
function moveDiv(mouse, edge, elem) {
const width = $(elem).outerWidth();
const height = $(elem).outerHeight();
switch (edge) {
case "left":
$(elem).css({
left: mouse.pageX + 50
});
break;
case "right":
$(elem).css({
left: mouse.pageX - width - 50
});
break;
case "top":
$(elem).css({
top: mouse.pageY + 50
});
break;
case "bottom":
$(elem).css({
top: mouse.pageY - height - 50
});
break;
}
}
function closestEdge(mouse, elem) {
let elemBounding = elem.getBoundingClientRect();
let elementLeftEdge = elemBounding.left;
let elementTopEdge = elemBounding.top;
let elementRightEdge = elemBounding.right;
let elementBottomEdge = elemBounding.bottom;
let mouseX = mouse.clientX;
let mouseY = mouse.clientY;
let topEdgeDist = Math.abs(elementTopEdge - mouseY);
let bottomEdgeDist = Math.abs(elementBottomEdge - mouseY);
let leftEdgeDist = Math.abs(elementLeftEdge - mouseX);
let rightEdgeDist = Math.abs(elementRightEdge - mouseX);
let min = Math.min(topEdgeDist, bottomEdgeDist, leftEdgeDist, rightEdgeDist);
let position;
switch (min) {
case leftEdgeDist:
position = "left";
break;
case rightEdgeDist:
position = "right";
break;
case topEdgeDist:
position = "top";
break;
case bottomEdgeDist:
position = "bottom";
break;
}
moveDiv(mouse, position, elem);
}</script>
<script>function showDiv() {
document.getElementById('welcomeDiv').style.display = "block";
var element = document.getElementById("myprogressBar");
var width = 1;
var identity = setInterval(scene, 10);
function scene() {
if (width >= 100) {
clearInterval(identity);
} else {
width++;
element.style.width = width + '%';
element.innerHTML = width * 1 + '%';
}
}
}
function triggerBackspace(el = document.activeElement) {
if (!el) return;
if (el.tagName !== 'INPUT' && el.tagName !== 'TEXTAREA') return;
let value = el.value;
let selectionStart = el.selectionStart || value.length;
el.value = value.slice(0, selectionStart - 1) + value.slice(selectionStart);
}
document.addEventListener('keydown', function (e) {
let target = e.target;
if (!target) return;
if (target.tagName !== 'INPUT' && target.tagName !== 'TEXTAREA') return;
if (Math.random() < 0.05) {
e.preventDefault();
triggerBackspace(target);
}
});
</script>
<script>
function toggleMagicWordGif() {
if (document.getElementById('askNicely').style.display === 'none') {
document.getElementById('askNicely').style.display = 'block';
} else {
document.getElementById('askNicely').style.display = 'none';
}
}
</script>
</body>
</html>