-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnav.html
127 lines (117 loc) · 6.03 KB
/
nav.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
120
121
122
123
124
125
126
127
<nav class="navbar navbar-expand-sm navbar-light shadow-lg" style="background-color: #1DB954;">
<a class="navbar-brand" href="https://spotifydata.com" style="font-family: 'Righteous', cursive;">Spotify Data</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarToggler" aria-controls="navbarToggler" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse justify-content-between" id="navbarToggler">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" id="songdata_link">Song Info</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="userdata_link" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Account Stats</a>
<div class="dropdown-menu bg-dark" id="userdata_dropdown" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="#">Profile</a>
<a class="dropdown-item" href="#">Top Artists and Tracks (tabbed)</a>
<a class="dropdown-item" href="#">Recently Played</a>
<a class="dropdown-item" href="#">Followers/Following</a>
<a class="dropdown-item" href="#">
<!--<svg class="float-right" width="25" height="25" viewBox="0 0 8.4666665 8.4666669">
<g inkscape:label="Layer 1" inkscape:groupmode="layer" id="layer1" transform="translate(0,-288.53332)">
<path inkscape:connector-curvature="0" id="path8057" d="m 3.8859141,290.31736 -2.5116107,4.36789 a 0.40014058,0.39764426 0 0 0 0.3474193,0.59495 l 5.0232213,0 a 0.40014058,0.39764426 0 0 0 0.3474191,-0.59495 l -2.5116103,-4.36789 a 0.40014058,0.39764426 0 0 0 -0.6948387,0 z" style="fill:none;fill-rule:evenodd;stroke:#f77707;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path style="fill:none;fill-rule:evenodd;stroke:#f77707;stroke-width:0.26458335px;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1" d="m 4.2333334,291.77454 8e-7,1.78395" id="path8059" inkscape:connector-curvature="0" sodipodi:nodetypes="cc" />
<path id="circle8061" d="m 4.3656251,294.08947 a 0.13229167,0.13228111 0 0 1 -0.1322917,0.13227 0.13229167,0.13228111 0 0 1 -0.1322917,-0.13227 0.13229167,0.13228111 0 0 1 0.1322917,-0.13229 0.13229167,0.13228111 0 0 1 0.1322917,0.13229 z" style="opacity:1;fill:#f77707;fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" inkscape:connector-curvature="0" />
</g>
</svg>-->Playlists</a>
<a class="dropdown-item" href="#">Recommendations</a>
</div>
</li>
</ul>
<!--<div class="navbar-collapse justify-content-end mr-2 font-weight-bold" id="user_name"></div>-->
<div class="d-flex justify-content-end">
<button onclick="openFeedbackModal()" id="feedbackButton" class="nav-link btn btn-success mr-2 my-2 my-sm-0 font-weight-bold" type="button" style="color: black">Suggest Something</button>
<button onclick="logout()" class="nav-link btn btn-success my-2 my-sm-0 font-weight-bold" type="button" style="color: black">Logout</button>
</div>
</div>
</nav>
<div class="alertdiv"></div>
<div class="mt-3" id="errormessage" style="display: none;">
<div class="text-light text-center">
<h4>Invalid access token! Please sign in again.</h4>
</div>
<div class="text-center">
<a class="btn btn-primary" id="loginbutton" href="https://spotifydata.com">Back to login page</a>
</div>
</div>
<div class="modal fade" id="feedbackModal" tabindex="-1" aria-labelledby="feedbackModal" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content modal-form" style="">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Give Feedback on Spotify Data</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<form>
<p class="">I love to hear from people who use this site! Feel free to share any comments, concerns, or suggestions below.</p>
<div class="form-group">
<label for="name" class="col-form-label">Your Name:</label>
<input type="text" class="form-control" id="feedback-name">
</div>
<div class="form-group">
<label for="message-text" class="col-form-label">Message:</label>
<textarea class="form-control" id="feedback-message-text"></textarea>
</div>
</form>
</div>
<button onclick="sendFeedback()" type="button" class="btn btn-primary" id="feedback-submit">Send message</button>
</div>
<div class="modal-content modal-success" style="display: none">
<div class="modal-body text-center">
Thanks for your feedback!
</div>
</div>
</div>
</div>
<style>
.tooltip-inner {
max-width: 350px;
}
th {
font-size: 1.1em;
}
th,
tr {
font-weight: bold;
}
.dropdown-item:hover {
background-color: #343a40;
color: white;
}
.dropdown-item.active {
background-color: #343a40;
/*color: #1DB954;*/
font-weight: bold;
}
.dropdown-item {
color: lightgray;
}
.active {
font-weight: bold;
}
.nav-link {
color: black !important;
}
.alert .btn-danger {
float: right;
}
.alert #error {
line-height: 34px;
}
.alert > div:after {
clear: both;
content: '';
display: table;
}
</style>