-
Notifications
You must be signed in to change notification settings - Fork 0
/
widget.html
36 lines (31 loc) · 1.43 KB
/
widget.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
<!DOCTYPE html>
<html>
<head>
<title>Pingity Widget</title>
<meta charset="utf-8"/>
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="pingity-widget.js"></script>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css" integrity="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="pingity.css">
</head>
<body>
<div id="pingity-widget">
<form onsubmit="ValidateWithPingity(); return false;" accept-charset="utf-8">
Enter an address to test with Pingity:
<br>
<input type="text" id="pingity-address" placeholder="[email protected]">
<span id='pingity-status'>
<i class="fas fa-cog fa-spin" id="working" style="display: none"></i>
<i class="fas fa-check-circle" id="success" style="display: none"></i>
<i class="fas fa-times-circle" id="fail" style="display: none"></i>
<i class="fas fa-exclamation-circle" id="warning" style="display: none"></i>
<i class="fas fa-dot-circle" id="skipped" style="display: none"></i>
</span>
<br>
<span id="oops" style="display: none">Pingity isn't responding. Running basic tests...</span>
<br>
<input type="submit" value="Test with Pingity">
</form>
</div>
</body>
</html>