forked from Lettly/YourMusic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconnect.html
119 lines (87 loc) · 4.07 KB
/
connect.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
114
115
116
117
118
119
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<!-- Tab color -->
<!-- Chrome, Firefox OS and Opera -->
<meta name="theme-color" content="#24292e">
<!-- Windows Phone -->
<meta name="msapplication-navbutton-color" content="#24292e">
<!-- iOS Safari -->
<meta name="apple-mobile-web-app-status-bar-style" content="#24292e">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css"
integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
<!-- Fontawsome -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.8/css/all.css" />
<script src="https://kit.fontawesome.com/8c55047497.js" crossorigin="anonymous"></script>
<!-- My Style -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.0.0/animate.min.css" />
<link rel="stylesheet" type="text/css" href="dist/css/style.css" />
<!-- Favicon -->
<link rel="apple-touch-icon" sizes="180x180" href="dist/imgs/favicon/apple-touch-icon.png" />
<link rel="icon" type="image/png" sizes="32x32" href="dist/imgs/favicon/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="dist/imgs/favicon/favicon-16x16.png" />
<link rel="manifest" href="dist/imgs/favicon/site.webmanifest" />
<title>YourMusic</title>
</head>
<body class="no-select" style="overflow: auto!important">
<!-- Navbar container -->
<nav class="navbar navbar-dark" style="background-color: #24292e;">
<div class="container-lg p-0">
<a class="navbar-brand" href="index.html">YourMusic</a>
<form class="form-inline">
<button type="button" class="btn btn-sm btn-danger text-white disabled-login" data-container="body"
data-toggle="popover" data-placement="left" data-content="ฅ^•ﻌ•^ฅ">
DEMO
</button>
</form>
</div>
</nav>
<!-- Body container -->
<div class="container-lg pt-5">
<!-- Nome/Logo locale -->
<div class="row">
<div class="col">
<h2 class="title text-center m-auto mb-5 pb-5">Collega Spotify</h2>
</div>
</div>
</div>
<!-- playing song -->
<div class="container-lg h-50">
<div class="form-row">
<div class="col-sm-8 col-lg-6 mx-auto mt-5 pt-5">
<input type="submit" class="btn btn-primary btn-block" value="Collegami"
onclick="location.href='api/v1/auth.php';" />
</div>
</div>
</div>
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js"
integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js"
integrity="sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI"
crossorigin="anonymous"></script>
<script>
// SET THE CORRECT VIEWPORT ON MOBILE
// First we get the viewport height and we multiple it by 1% to get a value for a vh unit
let vh = window.innerHeight * 0.01;
// Then we set the value in the --vh custom property to the root of the document
document.documentElement.style.setProperty('--vh', `${vh}px`);
// enable popover
$(function () {
$('[data-toggle="popover"]').popover()
});
// disabled DEMO popover
$('.disabled-login').popover().click(function () {
setTimeout(function () {
$('.disabled-login').popover('hide');
}, 1200);
});
</script>
</body>
</html>