]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Webui: minimal reworks for access theme
authorTrujulu <trujulu@gmail.com>
Sun, 27 Oct 2019 10:57:41 +0000 (10:57 +0000)
committerJaroslav Kysela <perex@perex.cz>
Sun, 27 Oct 2019 17:23:41 +0000 (18:23 +0100)
* Edit the help image to reduce the white saw edges.
* Use white images for tvdb and tmdb when using access.

src/webui/extjs.c
src/webui/static/icons/help.png
src/webui/static/img/tmdb_white.png [new file with mode: 0644]
src/webui/static/img/tvdb_white.png [new file with mode: 0644]
vendor/ext-3.4.1/resources/css/xtheme-access.css

index 501fe1d52ebd04b5ec2fb6a49b6372794ccd5994..1a4e020b5b2b856a7d9a8db16f0af275f9c54ad6 100644 (file)
@@ -198,8 +198,8 @@ page_about(http_connection_t *hc, const char *remain, void *opaque)
 FamFamFam</a>, "\
 "<a target=\"_blank\" href=\"https://www.google.com/get/noto/help/emoji/\">Google Noto Color Emoji</a> "\
 "<a target=\"_blank\" href=\"https://raw.githubusercontent.com/googlei18n/noto-emoji/master/LICENSE\">(Apache Licence v2.0)</a>.\n"\
-"<p>This product uses the TMDB API but is not endorsed or certified by <a target=\"_blank\" href=\"https://www.themoviedb.org\">TMDb</a> <img src=\"static/img/tmdb.png\"></p>"\
-"<p>TV information and images are provided by TheTVDB.com, but we are not endorsed or certified by TheTVDB.com or its affiliates. <a target=\"_blank\" href=\"https://thetvdb.com\">TheTVDB.com</a> <img src=\"static/img/tvdb.png\"></p>"\
+"<p>This product uses the TMDB API but is not endorsed or certified by <a target=\"_blank\" href=\"https://www.themoviedb.org\">TMDb</a> <img src=\"static/img/tmdb.png\" class=\"tmdb\"></p>"\
+"<p>TV information and images are provided by TheTVDB.com, but we are not endorsed or certified by TheTVDB.com or its affiliates. <a target=\"_blank\" href=\"https://thetvdb.com\">TheTVDB.com</a> <img src=\"static/img/tvdb.png\" class=\"tvdb\"></p>"\
 "</p>\n",
     tvh_gettext_lang(lang, N_("Based on software from")),
     tvh_gettext_lang(lang, N_("Icons from")));
index dc15b8da8f04dac0c43a7374a296a0758986a695..474c22fd3ff2feed28b4b6b7af3f02876ff3bfb9 100644 (file)
Binary files a/src/webui/static/icons/help.png and b/src/webui/static/icons/help.png differ
diff --git a/src/webui/static/img/tmdb_white.png b/src/webui/static/img/tmdb_white.png
new file mode 100644 (file)
index 0000000..8518c48
Binary files /dev/null and b/src/webui/static/img/tmdb_white.png differ
diff --git a/src/webui/static/img/tvdb_white.png b/src/webui/static/img/tvdb_white.png
new file mode 100644 (file)
index 0000000..5454f20
Binary files /dev/null and b/src/webui/static/img/tvdb_white.png differ
index 7f0bd21a539163957697f574c58acf12f2c81bd5..6f65bacc23aa821dfb0080982b3e5ea8ccaaa9a8 100644 (file)
@@ -1832,3 +1832,11 @@ body.x-body-masked .x-window-plain .x-window-mc {
 .x-window-dlg .ext-mb-error {
     background-image:url(../images/access/window/icon-error.gif);
 }
+
+.tmdb {
+    content:url(../../../img/tmdb_white.png)!important;
+}
+
+.tvdb {
+    content:url(../../../img/tvdb_white.png)!important;
+}