-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
153 lines (64 loc) · 2.93 KB
/
index.php
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
<!DOCTYPE html>
<html lang="it" dir="ltr">
<head>
<link rel="icon" href="favicon.ico">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, minimum-scale=1.0">
<meta name="theme-color" content="#f1c40e">
<!--Meta tag per iOS-->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="Di Maggio Tech Seum">
<link rel="apple-touch-icon" href="res/192x192.png">
<!--TODO Aggiungere splash screen per iOS-->
<link rel="stylesheet" href="./style/allstyles.css" />
<link rel="manifest" href="manifest.json" />
<script type="text/javascript" src="./script/elencoReperti.js"></script>
<script type="text/javascript" src="./script/webcam.js"></script>
<script type="text/javascript" src="./script/swiped_events.js"></script>
<script type="text/javascript" src="./script/rileva_invio.js"></script>
<script type="text/javascript" src="./script/html5-qrcode.min.js"></script>
<script type="text/javascript" src="./script/page_navigation.js"></script>
<title>Di Maggio Techseum</title>
</head>
<body>
<?php include("navbar.html"); ?>
<div id="page_render">
<!--Qui vengono caricate le pagine interne alla shell-->
<!--HOME-->
<div id="div_sfondo_home">
<p id="iniziale">
<span id='title_la'>La</span> <span id='title_storia'>storia</span> <span id='title_del1'>del</span> <br />
<span id="title_passato">passato</span>
<span id='title_attraverso'>attraverso</span> <span id='title_le'>le</span> <span id='title_tecnologie'>tecnologie</span> <span id='title_del2'>del</span><br />
<span id='title_futuro'>futuro</span>
</p>
</div>
</div>
<?php include("bottom-navbar.html"); ?>
<!--Pagine della sidebar laterale-->
<?php include("segnalaUnBug.html"); ?>
<!--Pagina principale del reperto-->
<?php include("reperto.html"); ?>
<script src="script/page_navigation.js"></script>
<!--Div per il controllo dell'orientamento del dispositivo-->
<p id="messaggioGiraTelefono">
Non puoi usare quest'app da desktop, ma solo su smartphone.
Se lo stai usando, ruota il telefono in verticale.
</p>
</body>
</html>
<script>
if ('serviceWorker' in navigator) {
navigator.serviceWorker
.register('service-worker.js')
.then(function(swReg) {
console.log("Service Worker Registered");
swRegistration = swReg;
//initializeUI();
})
.catch((err) => {
console.log("Errore: ", err);
})
};
</script>