-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
90 lines (74 loc) · 3.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
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
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap CSS -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/styles.css" rel="stylesheet">
<link rel="manifest" href="manifest.json">
<link rel="shortcut icon" href="icons/favicon.ico" type="image/x-icon">
<link rel="icon" href="icons/favicon.ico" type="image/x-icon">
<!-- iOS meta tags and icons -->
<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="Keep it Sound">
<link rel="apple-touch-icon" href="icons/152.png">
<meta name="description" content="App para gerenciar playlist de músicas">
<meta name="theme-color" content="#B200B2" />
<title>Kiss - Keep it Sounds</title>
</head>
<body>
<!-- Detalhamento do Card-->
<!-- Modal -->
<div class="modal fade" id="fullProfile" tabindex="-1" aria-labelledby="fullProfile" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered modal-dialog-scrollable">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="fullProfile_Title">---</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body" id="fullProfile_Body">
<h5>Letra:</h5>
<span id="fullProfile_Experiencia"></span>
</div>
</div>
</div>
</div>
<header class="container-fluid fixed-top">
<img src="imgs/logo1.png" class="logo">
</header>
<main class="container" id="content">
<div class="row">
<div class="col-12" style="text-align: center; margin-top: 20px;" >
<img src="imgs/loading.gif" width="128">
</div>
</div>
</main>
<footer class="container-fluid fixed-bottom">
<div class="box-center">
<div class="btn-group" role="group" aria-label="Menu Footer">
<button type="button" class="btn btn-primary">Artistas</button>
<button type="button" class="btn btn-primary">Músicas</button>
<button type="button" class="btn btn-primary">Favoritos</button>
<button type="button" class="btn btn-danger" hidden id="btInstall">Instalar</button>
</div>
</div>
</footer>
<script src="js/bootstrap.bundle.min.js"></script>
<script src="js/app.js"></script>
<script>
let swRegistro = null;
if('serviceWorker' in navigator){
window.addEventListener('load', ()=>{
navigator.serviceWorker.register('service-worker.js').then((reg) => {
console.log("Service Worker registrado com sucesso!");
swRegistro = reg;
inicializarInstalacao();
});
});
}
</script>
</body>
</html>