From 9f090dbbf82a212b5e4b82f99ec48ec15c0946b0 Mon Sep 17 00:00:00 2001 From: James Taylor Date: Sat, 1 Feb 2020 16:16:49 -0800 Subject: Watch page: add info box with allowed countries and tor exit node Should help with debugging various content blocks --- youtube/templates/watch.html | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'youtube/templates/watch.html') diff --git a/youtube/templates/watch.html b/youtube/templates/watch.html index 4e69322..27e1986 100644 --- a/youtube/templates/watch.html +++ b/youtube/templates/watch.html @@ -137,6 +137,7 @@ grid-row:8; grid-column: 1 / span 2; background-color: var(--interface-color); + padding-bottom: 7px; } .music-list table,th,td{ border: 1px solid; @@ -150,6 +151,22 @@ font-weight:bold; margin-bottom:5px; } + .more-info{ + grid-row: 9; + grid-column: 1 / span 2; + background-color: var(--interface-color); + } + .more-info > summary{ + font-weight: normal; + border-width: 1px 0px; + border-style: solid; + } + .more-info-content{ + padding: 5px; + } + .more-info-content p{ + margin: 8px 0px; + } .comments-area-outer{ grid-column: 2; grid-row: 3; @@ -316,6 +333,16 @@ {% endif %} +
+ More info +
+

Tor exit node: {{ ip_address }}

+ {% if invidious_used %} +

Used Invidious as fallback.

+ {% endif %} +

Allowed countries: {{ allowed_countries|join(', ') }}

+
+
{% if related_videos_mode != 0 %} -- cgit v1.2.3