-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
113 lines (109 loc) · 5.49 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
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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<link type="text/css" rel="stylesheet" href="./css/flex.css">
<link type="text/css" rel="stylesheet" href="./css/style.css">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<link rel="manifest" href="manifest.webmanifest">
<script type="text/javascript" src="./js/library/jquery-3.6.0.min.js"></script>
<script type="text/javascript" src="./js/library/device-uuid.min.js"></script>
<script type="text/javascript" src="./js/library/TweenMax.min.js"></script>
<script type="text/javascript" src="./js/common.js"></script>
<script type="text/javascript" src="./js/index.js"></script>
<script type="text/javascript" src="./js/idb.js"></script>
<title>L Squared Slide - PWA</title>
</head>
<body>
<h1>Hello - RC</h1>
<div id="waiting"></div>
<div id="container"></div>
<div id="fs"></div>
<div id="em"></div>
<div id="toolbar">
<div class="refresh spin"></div>
<div class="offline" style="display:none;"></div>
<div class="download" style="display:none;"><span class="tooltip"></span></div>
<div class="client" style="display:none;"><span class="tooltip"></span></div>
</div>
<div id="logoBottom">
<img src="./img/logo-sm-colored.png">
</div>
<div id="identify">
<div style="font-size:24px;">L Squared Digital Signage</div>
<div> </div>
<div class="name">Name: <span class="marL5 value"></span></div>
<div class="mac">Id: <span class="marL5 value"></span></div>
<div class="server">Server: <span class="marL5 value"></span></div>
<div class="environment">Environment: <span class="marL5 value"></span></div>
<div> </div>
<div class="type">Type: <span class="marL5">Media Player</span></div>
<!-- <div class="model">Model: <span class="marL5 value"></span></div> -->
<div class="os">OS: <span class="marL5 value"></span></div>
<div class="client">L Squared Slide: <span class="marL5 value"></span></div>
<div class="ip">IP: <span class="marL5 value"></span></div>
<div> </div>
<div class="storage">Available Storage: <span class="marL5 value"></span></div>
<div class="status">Status: <span class="marL5 value"></span> <img src="./img/check.png" class="check"></div>
</div>
<div id="blank"></div>
<div id="dialog" class="lsn-dialog hide">
<div class="lsn-dialog-body" style="width:600px">
<section class="panel mac-quad">
<div class="panel-heading">Media Player Registration</div>
<div class="panel-body bg-icon">
<h1 class="text-lg noMarB">This media player is not registered to the L Squared Hub.</h1>
<p>You can log into the L Squared Hub through your desktop browser and add this device using the following device ID:</p>
<div class="id-quad">
<span>Device ID:</span> <span id="mac"></span>
</div>
</div>
<div class="panel-footer">
<p class="noMar">For help with setup, please email <span class="text-blue text-bold">[email protected]</span> or call us at <span class="text-bold">1-877-344-1548</span> and select option 2 for customer service.</p>
</div>
</section>
</div>
</div>
<div id="no-network" class="lsn-dialog hide">
<div class="lsn-dialog-body" style="width:600px">
<section class="panel mac-quad">
<div class="panel-heading">Internet Connection Problem</div>
<div class="panel-body no-network-bg-icon">
<div class="no-network">
<h1 class="text-lg">Can't Connect</h1>
<p>This device needs to be connected to the internet. Please connect a USB keyboard and mouse to the media player and follow these steps:</p>
</div>
<div class="introSlider">
<div><img src="img/no-network-intro1.png"/></div>
<div><img src="img/no-network-intro2.png"/></div>
<div><img src="img/no-network-intro3.png"/></div>
</ul>
</div>
<div class="panel-footer">
<p class="noMar">For help with setup, please email <span class="text-blue text-bold">[email protected]</span> or call us at <span class="text-bold">1-855-500-3556</span> and select option 2 for customer service.</p>
</div>
</section>
</div>
</div>
<script type="text/javascript" src="./js/frame.js"></script>
<script type="text/javascript" src="./js/widgets/imgLoader.js"></script>
<script type="text/javascript" src="./js/widgets/vidLoader.js"></script>
<script type="text/javascript">
if('serviceWorker' in navigator){ // Register A service worker
window.addEventListener('load', function(){
const prefix = location.pathname.replace(/\/(index\.html)?$/, '');
navigator.serviceWorker.register('sw.js')
.then(function(registration) {
// Registration was successful
console.log('[success] scope: ', registration.scope);
}, function(err) {
// registration failed :(
console.log('[fail]: ', err);
});
});
}
console.log('index.js modified');
</script>
</body>
</html>