-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
34 lines (34 loc) · 1.11 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>EC2 Instances Status</title>
<link rel="stylesheet" href="./dashboard.css"/>
<script src="https://code.jquery.com/jquery-3.2.1.min.js"
integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4="
crossorigin="anonymous"></script>
<script src="aws-sdk-2.106.0.min.js"></script>
<script src="./dashboard.js"></script>
<script type="text/javascript" src="config.js"></script>
<script type="text/javascript">
$(document).ready(function () {
createEc2dashboard(ec2dashboardConfig);
window.addEventListener('offline', function () {
$('.updated').append('<b class="nonetwork">No Internet connection</b>');
});
window.addEventListener('online', function () {
$('.updated .nonetwork').remove();
});
});
</script>
</head>
<body>
<div id="ec2dashboard">
<div class="updated">
Updated at:
<span class="date"></span>
</div>
<div class="instances"></div>
</div>
</body>
</html>