mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-12-07 20:18:49 +00:00
Added spotify and YouTube logo for import-buttons, and fixed so the spinning thingy moves when exporting playlist
This commit is contained in:
@@ -134,6 +134,15 @@
|
||||
margin: 0 4rem 0 0 !important;
|
||||
}
|
||||
|
||||
.import-spotify-auth{
|
||||
padding-left:5px;
|
||||
}
|
||||
|
||||
.spotify_logo, .youtube_logo{
|
||||
height: 90%;
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
.import-buttons, .export-buttons{
|
||||
padding:10px;
|
||||
}
|
||||
|
||||
4
static/dist/embed.min.js
vendored
4
static/dist/embed.min.js
vendored
File diff suppressed because one or more lines are too long
6
static/dist/main.min.js
vendored
6
static/dist/main.min.js
vendored
File diff suppressed because one or more lines are too long
BIN
static/images/spotify.png
Normal file
BIN
static/images/spotify.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.5 KiB |
BIN
static/images/youtube.png
Normal file
BIN
static/images/youtube.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6.0 KiB |
@@ -376,6 +376,8 @@ var List = {
|
||||
|
||||
exportToYoutube: function(){
|
||||
var request_url = "https://www.googleapis.com/youtube/v3/playlists?part=snippet";
|
||||
$(".exported-list-container").removeClass("hide");
|
||||
$("#playlist_loader_export").removeClass("hide");
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: request_url,
|
||||
@@ -415,11 +417,10 @@ var List = {
|
||||
if(number_added == full_playlist.length - 1){
|
||||
Helper.log("All videoes added!");
|
||||
Helper.log("url: https://www.youtube.com/playlist?list=" + playlist_id);
|
||||
$(".exported-list").append("<h5>Exported URL:</h5>");
|
||||
$(".exported-list").append("<h5>Exported list</h5>");
|
||||
$(".exported-list").append("<a target='_blank' class='btn light exported-playlist' href='https://www.youtube.com/playlist?list=" + playlist_id + "'>" + chan + "</a>");
|
||||
$("#playlist_loader_export").addClass("hide");
|
||||
//$(".youtube_export_button").removeClass("hide");
|
||||
$(".exported-list-container").removeClass("hide");
|
||||
}
|
||||
number_added += 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user