editing
This commit is contained in:
parent
17f010c5e5
commit
ed37305c6a
36
index.html
36
index.html
|
@ -13,32 +13,19 @@
|
|||
|
||||
<nav class="navbar navbar-expand-lg bg-danger navbar-dark">
|
||||
<div class="container">
|
||||
|
||||
<a href="#" data-target="home" class="navbar-brand spalnk">Tesses YouTube Downloader</a>
|
||||
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navmenu">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navmenu">
|
||||
|
||||
<ul class="navbar-nav ms-auto"> <li class="nav-item">
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNavDarkDropdown" aria-controls="navbarNavDarkDropdown" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navbarNavDarkDropdown">
|
||||
<ul class="navbar-nav">
|
||||
<li class="nav-item dropdown">
|
||||
<a class="nav-link dropdown-toggle" href="#" id="navbarDarkDropdownMenuLink" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
||||
Media
|
||||
</a>
|
||||
<ul class="dropdown-menu dropdown-menu-dark" aria-labelledby="navbarDarkDropdownMenuLink">
|
||||
<li><a class="dropdown-item spalink" href="#" data-target="videos">Videos</a></li>
|
||||
<li><a class="dropdown-item" href="my_videos.html">My Videos <span class="badge badge-secondary">42</span></a></li>
|
||||
<li><a class="dropdown-item spalink" href="#" data-target="playlists">YouTube Playlists</a></li>
|
||||
<li><a class="dropdown-item spalink" href="#" data-target="personalplaylists">Personal Playlists</a></li>
|
||||
</ul>
|
||||
<div class="collapse navbar-collapse" id="navmenu">
|
||||
<ul class="navbar-nav ms-auto">
|
||||
<li class="nav-item">
|
||||
<a href="#" data-target="videos" class="nav-link spalnk">Videos</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<li class="nav-item">
|
||||
<a href="#" data-target="playlists" class="nav-link spalnk">Playlists</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a href="#" data-target="queue" class="nav-link spalnk">Queue</a>
|
||||
|
@ -56,7 +43,9 @@
|
|||
<li class="nav-item">
|
||||
<a href="extensions.html" class="nav-link">Extensions</a>
|
||||
</li>
|
||||
|
||||
<li class="nav-item">
|
||||
<a href="my_videos.html" class="nav-link">My Videos</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -188,12 +177,7 @@
|
|||
<span class="video_author"></span>
|
||||
|
||||
</div>
|
||||
<div class="col-1">
|
||||
<h4>
|
||||
<a class="video_link_alt" style="text-decoration: none" class="text-dark">⋮
|
||||
</a></h4>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
</card>
|
||||
|
|
|
@ -326,11 +326,8 @@ function add_video(vid_list,item)
|
|||
var video_link=video_element.querySelector(".video_link");
|
||||
video_link.innerText = title;
|
||||
|
||||
video_link.href="javascript:void";
|
||||
video_link.addEventListener('click',(e)=>{
|
||||
e.preventDefault();
|
||||
video_dialog_show(myVid,myTitle);
|
||||
});
|
||||
video_link.href="videoPlayer.html#NotConverted=" + id;
|
||||
|
||||
var video_thumbnail=video_element.querySelector(".image");
|
||||
if(settings.showThumbnails){
|
||||
video_thumbnail.setAttribute("src","api/Storage/File/Thumbnails/168x94/" + id + ".jpg");
|
||||
|
|
Loading…
Reference in New Issue