diff --git a/tubearchivist/home/templates/home/channel_id.html b/tubearchivist/home/templates/home/channel_id.html index f814bae..12a9247 100644 --- a/tubearchivist/home/templates/home/channel_id.html +++ b/tubearchivist/home/templates/home/channel_id.html @@ -117,7 +117,7 @@ {% if videos %} {% for video in videos %}
- +
video-thumb diff --git a/tubearchivist/home/templates/home/playlist_id.html b/tubearchivist/home/templates/home/playlist_id.html index bb9aac2..25e2793 100644 --- a/tubearchivist/home/templates/home/playlist_id.html +++ b/tubearchivist/home/templates/home/playlist_id.html @@ -66,7 +66,6 @@
-
Hide watched videos: @@ -86,7 +85,7 @@ {% if videos %} {% for video in videos %}
- +
video-thumb diff --git a/tubearchivist/static/css/style.css b/tubearchivist/static/css/style.css index afd95d4..0cf1c3d 100644 --- a/tubearchivist/static/css/style.css +++ b/tubearchivist/static/css/style.css @@ -436,7 +436,8 @@ button:hover { text-align: left; } -.video-desc h3 { +.video-desc h3, +.player-title h3 { font-size: 0.9em; text-transform: uppercase; } diff --git a/tubearchivist/static/script.js b/tubearchivist/static/script.js index 13f9309..5ef8c5e 100644 --- a/tubearchivist/static/script.js +++ b/tubearchivist/static/script.js @@ -321,13 +321,6 @@ function createPlayer(button) { titleBar.appendChild(closeButton); // played titleBar.appendChild(playedStatus); - // video title - var videoTitleLink = document.createElement('a'); - videoTitleLink.setAttribute('href', '/video/' + dataId + '/'); - var videoTitle = document.createElement('h2'); - videoTitle.innerText = mediaTitle; - videoTitleLink.appendChild(videoTitle); - titleBar.appendChild(videoTitleLink); // channel title var channelTitleLink = document.createElement('a'); channelTitleLink.setAttribute('href', '/channel/' + mediaChannelId + '/'); @@ -335,6 +328,13 @@ function createPlayer(button) { channelTitle.innerText = mediaChannel; channelTitleLink.appendChild(channelTitle); titleBar.appendChild(channelTitleLink); + // video title + var videoTitleLink = document.createElement('a'); + videoTitleLink.setAttribute('href', '/video/' + dataId + '/'); + var videoTitle = document.createElement('h2'); + videoTitle.innerText = mediaTitle; + videoTitleLink.appendChild(videoTitle); + titleBar.appendChild(videoTitleLink); // add titlebar playerElement.appendChild(titleBar); // add whole