-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
45 lines (42 loc) · 1.35 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>XploRayl</title>
<link rel="icon" type="image/png" href="./favicon.png" />
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
rel="stylesheet"
href="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.css"
/>
<link rel="stylesheet" href="./style.css" />
<script src="http://code.jquery.com/jquery-1.11.1.min.js"></script>
<script src="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.js"></script>
<script src="./script.js"></script>
<script>
sessionStorage.clear();
localStorage.clear();
$.getJSON("data.json", function (json) {
console.log(json);
var favsArr = [];
localStorage.setItem("data", JSON.stringify(json));
localStorage.setItem("favourites", JSON.stringify(favsArr));
});
$.getJSON("user.json", function (json) {
localStorage.setItem("user", JSON.stringify(json));
});
setTimeout(function () {
window.location = "./pages/login/login.html";
}, 2000);
</script>
</head>
<body>
<div class="splash-screen center-column center-row">
<img
src="./assets/images/logos/full logo black color.png"
alt=""
class="splash-logo"
/>
</div>
</body>
</html>