1
0
mirror of https://github.com/gilbN/theme.park.git synced 2024-11-19 17:42:32 +01:00
This commit is contained in:
GilbN 2023-07-22 17:05:22 +00:00
parent 8fd6040e06
commit 90f85631ae
56 changed files with 158 additions and 160 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,2 +1,2 @@
@import url("/css/base/tautulli/tautulli-base.css?sha=77ade73bb8491883c2f27b36027bf364");
@import url("/css/base/tautulli/tautulli-base.css?sha=ec36ae9b66c59fc187e554f151952624");
@import url("/css/theme-options/aquamarine.css?sha=d756574a59cc3bfa2433998efaf57bf3");

View File

@ -1,2 +1,2 @@
@import url("/css/base/tautulli/tautulli-base.css?sha=77ade73bb8491883c2f27b36027bf364");
@import url("/css/base/tautulli/tautulli-base.css?sha=ec36ae9b66c59fc187e554f151952624");
@import url("/css/community-theme-options/blackberry-abyss.css?sha=e8399c6f8a2e9f3ec99f9aad936db7a9");

View File

@ -1,2 +1,2 @@
@import url("/css/base/tautulli/tautulli-base.css?sha=77ade73bb8491883c2f27b36027bf364");
@import url("/css/base/tautulli/tautulli-base.css?sha=ec36ae9b66c59fc187e554f151952624");
@import url("/css/community-theme-options/blackberry-amethyst.css?sha=87786d9451286f37b81293bbf51a8205");

View File

@ -1,2 +1,2 @@
@import url("/css/base/tautulli/tautulli-base.css?sha=77ade73bb8491883c2f27b36027bf364");
@import url("/css/base/tautulli/tautulli-base.css?sha=ec36ae9b66c59fc187e554f151952624");
@import url("/css/community-theme-options/blackberry-carol.css?sha=dd744035926663fc42242daedc9f1794");

View File

@ -1,2 +1,2 @@
@import url("/css/base/tautulli/tautulli-base.css?sha=77ade73bb8491883c2f27b36027bf364");
@import url("/css/base/tautulli/tautulli-base.css?sha=ec36ae9b66c59fc187e554f151952624");
@import url("/css/community-theme-options/blackberry-dreamscape.css?sha=81a988c1ccc397ca303b898a69b8933f");

View File

@ -1,2 +1,2 @@
@import url("/css/base/tautulli/tautulli-base.css?sha=77ade73bb8491883c2f27b36027bf364");
@import url("/css/base/tautulli/tautulli-base.css?sha=ec36ae9b66c59fc187e554f151952624");
@import url("/css/community-theme-options/blackberry-flamingo.css?sha=1f73a7b422a1ad484a33b95e71e542d7");

View File

@ -1,2 +1,2 @@
@import url("/css/base/tautulli/tautulli-base.css?sha=77ade73bb8491883c2f27b36027bf364");
@import url("/css/base/tautulli/tautulli-base.css?sha=ec36ae9b66c59fc187e554f151952624");
@import url("/css/community-theme-options/blackberry-hearth.css?sha=63eff67e0507c9f40b3a6d721fd2e00b");

View File

@ -1,2 +1,2 @@
@import url("/css/base/tautulli/tautulli-base.css?sha=77ade73bb8491883c2f27b36027bf364");
@import url("/css/base/tautulli/tautulli-base.css?sha=ec36ae9b66c59fc187e554f151952624");
@import url("/css/community-theme-options/blackberry-martian.css?sha=b147b481a6e52a58dccff4ff3e2b83a0");

View File

@ -1,2 +1,2 @@
@import url("/css/base/tautulli/tautulli-base.css?sha=77ade73bb8491883c2f27b36027bf364");
@import url("/css/base/tautulli/tautulli-base.css?sha=ec36ae9b66c59fc187e554f151952624");
@import url("/css/community-theme-options/blackberry-pumpkin.css?sha=ded53ed23d3bb1b293c2b444f9c6b520");

View File

@ -1,2 +1,2 @@
@import url("/css/base/tautulli/tautulli-base.css?sha=77ade73bb8491883c2f27b36027bf364");
@import url("/css/base/tautulli/tautulli-base.css?sha=ec36ae9b66c59fc187e554f151952624");
@import url("/css/community-theme-options/blackberry-royal.css?sha=5656c5c4f467941883374376d45a8758");

View File

@ -1,2 +1,2 @@
@import url("/css/base/tautulli/tautulli-base.css?sha=77ade73bb8491883c2f27b36027bf364");
@import url("/css/base/tautulli/tautulli-base.css?sha=ec36ae9b66c59fc187e554f151952624");
@import url("/css/community-theme-options/blackberry-shadow.css?sha=b8941bbed98a08998a2fbe28319112c0");

View File

@ -1,2 +1,2 @@
@import url("/css/base/tautulli/tautulli-base.css?sha=77ade73bb8491883c2f27b36027bf364");
@import url("/css/base/tautulli/tautulli-base.css?sha=ec36ae9b66c59fc187e554f151952624");
@import url("/css/community-theme-options/blackberry-solar.css?sha=b993845b73c14914d185a76b44750c64");

View File

@ -1,2 +1,2 @@
@import url("/css/base/tautulli/tautulli-base.css?sha=77ade73bb8491883c2f27b36027bf364");
@import url("/css/base/tautulli/tautulli-base.css?sha=ec36ae9b66c59fc187e554f151952624");
@import url("/css/community-theme-options/blackberry-vanta.css?sha=66ca6a0d6a5055bc0a2a0460c945fa7a");

View File

@ -1,2 +1,2 @@
@import url("/css/base/tautulli/tautulli-base.css?sha=77ade73bb8491883c2f27b36027bf364");
@import url("/css/base/tautulli/tautulli-base.css?sha=ec36ae9b66c59fc187e554f151952624");
@import url("/css/theme-options/dark.css?sha=1bbea8b71216f2c2b7eff31ee72c389f");

View File

@ -1,2 +1,2 @@
@import url("/css/base/tautulli/tautulli-base.css?sha=77ade73bb8491883c2f27b36027bf364");
@import url("/css/base/tautulli/tautulli-base.css?sha=ec36ae9b66c59fc187e554f151952624");
@import url("/css/theme-options/dracula.css?sha=6366d3845240fb8943c2b54d56335a19");

View File

@ -1,2 +1,2 @@
@import url("/css/base/tautulli/tautulli-base.css?sha=77ade73bb8491883c2f27b36027bf364");
@import url("/css/base/tautulli/tautulli-base.css?sha=ec36ae9b66c59fc187e554f151952624");
@import url("/css/community-theme-options/hotline-old.css?sha=1996bf028fd671f9a43dc15035e65c33");

View File

@ -1,2 +1,2 @@
@import url("/css/base/tautulli/tautulli-base.css?sha=77ade73bb8491883c2f27b36027bf364");
@import url("/css/base/tautulli/tautulli-base.css?sha=ec36ae9b66c59fc187e554f151952624");
@import url("/css/theme-options/hotline.css?sha=b104dcbd717283d00fe6de4219744ecc");

View File

@ -1,2 +1,2 @@
@import url("/css/base/tautulli/tautulli-base.css?sha=77ade73bb8491883c2f27b36027bf364");
@import url("/css/base/tautulli/tautulli-base.css?sha=ec36ae9b66c59fc187e554f151952624");
@import url("/css/theme-options/hotpink.css?sha=152a8bd511ff5cfe5df90e00688ba1fc");

View File

@ -1,2 +1,2 @@
@import url("/css/base/tautulli/tautulli-base.css?sha=77ade73bb8491883c2f27b36027bf364");
@import url("/css/base/tautulli/tautulli-base.css?sha=ec36ae9b66c59fc187e554f151952624");
@import url("/css/community-theme-options/ibracorp.css?sha=c614a1a123a048850289e718fd113c8f");

View File

@ -1,2 +1,2 @@
@import url("/css/base/tautulli/tautulli-base.css?sha=77ade73bb8491883c2f27b36027bf364");
@import url("/css/base/tautulli/tautulli-base.css?sha=ec36ae9b66c59fc187e554f151952624");
@import url("/css/theme-options/maroon.css?sha=aba3461aac201e257cf5cea12d9f6c5c");

View File

@ -1,2 +1,2 @@
@import url("/css/base/tautulli/tautulli-base.css?sha=77ade73bb8491883c2f27b36027bf364");
@import url("/css/base/tautulli/tautulli-base.css?sha=ec36ae9b66c59fc187e554f151952624");
@import url("/css/community-theme-options/mind.css?sha=9f02ff1636bb19fbbc1c883f0a69814d");

View File

@ -1,2 +1,2 @@
@import url("/css/base/tautulli/tautulli-base.css?sha=77ade73bb8491883c2f27b36027bf364");
@import url("/css/base/tautulli/tautulli-base.css?sha=ec36ae9b66c59fc187e554f151952624");
@import url("/css/theme-options/nord.css?sha=1b026fc9951acb87776302d71db5705e");

View File

@ -1,2 +1,2 @@
@import url("/css/base/tautulli/tautulli-base.css?sha=77ade73bb8491883c2f27b36027bf364");
@import url("/css/base/tautulli/tautulli-base.css?sha=ec36ae9b66c59fc187e554f151952624");
@import url("/css/community-theme-options/onedark.css?sha=35d1229e080c54d138ea4c9512c0f0db");

View File

@ -1,2 +1,2 @@
@import url("/css/base/tautulli/tautulli-base.css?sha=77ade73bb8491883c2f27b36027bf364");
@import url("/css/base/tautulli/tautulli-base.css?sha=ec36ae9b66c59fc187e554f151952624");
@import url("/css/theme-options/organizr.css?sha=fceff07a68bad62cd3848afce664a97f");

View File

@ -1,2 +1,2 @@
@import url("/css/base/tautulli/tautulli-base.css?sha=77ade73bb8491883c2f27b36027bf364");
@import url("/css/base/tautulli/tautulli-base.css?sha=ec36ae9b66c59fc187e554f151952624");
@import url("/css/theme-options/overseerr.css?sha=e144b7051d5a835c99e85a5a6b616e5e");

View File

@ -1,2 +1,2 @@
@import url("/css/base/tautulli/tautulli-base.css?sha=77ade73bb8491883c2f27b36027bf364");
@import url("/css/base/tautulli/tautulli-base.css?sha=ec36ae9b66c59fc187e554f151952624");
@import url("/css/community-theme-options/pine-shadow.css?sha=953a1c8800f65def81edfbf1097de444");

View File

@ -1,2 +1,2 @@
@import url("/css/base/tautulli/tautulli-base.css?sha=77ade73bb8491883c2f27b36027bf364");
@import url("/css/base/tautulli/tautulli-base.css?sha=ec36ae9b66c59fc187e554f151952624");
@import url("/css/theme-options/plex.css?sha=a4c4891e132b89426160a1fe32205f4f");

View File

@ -1,2 +1,2 @@
@import url("/css/base/tautulli/tautulli-base.css?sha=77ade73bb8491883c2f27b36027bf364");
@import url("/css/base/tautulli/tautulli-base.css?sha=ec36ae9b66c59fc187e554f151952624");
@import url("/css/community-theme-options/power.css?sha=4bfda3cbb74c41f827e46f8b8e14dbdf");

View File

@ -1,2 +1,2 @@
@import url("/css/base/tautulli/tautulli-base.css?sha=77ade73bb8491883c2f27b36027bf364");
@import url("/css/base/tautulli/tautulli-base.css?sha=ec36ae9b66c59fc187e554f151952624");
@import url("/css/community-theme-options/reality.css?sha=fab9956884e76c612c6de71dafb0b746");

View File

@ -1,2 +1,2 @@
@import url("/css/base/tautulli/tautulli-base.css?sha=77ade73bb8491883c2f27b36027bf364");
@import url("/css/base/tautulli/tautulli-base.css?sha=ec36ae9b66c59fc187e554f151952624");
@import url("/css/community-theme-options/soul.css?sha=1b36e7232a886dc953c85652881b8a00");

View File

@ -1,2 +1,2 @@
@import url("/css/base/tautulli/tautulli-base.css?sha=77ade73bb8491883c2f27b36027bf364");
@import url("/css/base/tautulli/tautulli-base.css?sha=ec36ae9b66c59fc187e554f151952624");
@import url("/css/theme-options/space-gray.css?sha=90a7104be7219a1a90f4ba0464774472");

View File

@ -1,2 +1,2 @@
@import url("/css/base/tautulli/tautulli-base.css?sha=77ade73bb8491883c2f27b36027bf364");
@import url("/css/base/tautulli/tautulli-base.css?sha=ec36ae9b66c59fc187e554f151952624");
@import url("/css/community-theme-options/space.css?sha=805cb02ce365df0e26965c25e4a105ca");

File diff suppressed because one or more lines are too long

View File

@ -1,2 +1,2 @@
@import url("/css/base/tautulli/tautulli-base.css?sha=77ade73bb8491883c2f27b36027bf364");
@import url("/css/base/tautulli/tautulli-base.css?sha=ec36ae9b66c59fc187e554f151952624");
@import url("/css/community-theme-options/time.css?sha=2ef20efc1ed3edbad12b085582ce88e6");

View File

@ -1,2 +1,2 @@
@import url("/css/base/tautulli/tautulli-base.css?sha=77ade73bb8491883c2f27b36027bf364");
@import url("/css/base/tautulli/tautulli-base.css?sha=ec36ae9b66c59fc187e554f151952624");
@import url("/css/community-theme-options/trueblack.css?sha=541f73821cfe0a75a26106011079b244");

File diff suppressed because one or more lines are too long

View File

@ -52,15 +52,15 @@ if ! grep -q "${TP_DOMAIN}/css/base" "${APP_FILEPATH}"; then
echo '---------------------------'
echo '| Adding the stylesheet |'
echo '---------------------------'
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/lidarr\/lidarr-base.css'><\/head> /g" "${APP_FILEPATH}"
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'><\/head> /g" "${APP_FILEPATH}"
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/lidarr\/lidarr-base.css'><\/head> /g" "${LOGIN_FILEPATH}"
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'><\/head> /g" "${LOGIN_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/lidarr\/lidarr-base.css'> /g" "${APP_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'> /g" "${APP_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/lidarr\/lidarr-base.css'> /g" "${LOGIN_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'> /g" "${LOGIN_FILEPATH}"
printf 'Stylesheet set to %s\n' "${TP_THEME}"
if [[ -n ${TP_ADDON} ]]; then
for addon in $(echo "$TP_ADDON" | tr "|" " "); do
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/addons\/lidarr\/${addon}\/${addon}.css'><\/head> /g" "${APP_FILEPATH}"
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/addons\/lidarr\/${addon}\/${addon}.css'><\/head> /g" "${LOGIN_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/addons\/lidarr\/${addon}\/${addon}.css'> /g" "${APP_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/addons\/lidarr\/${addon}\/${addon}.css'> /g" "${LOGIN_FILEPATH}"
printf 'Added custom addon: %s\n\n' "${addon}"
done
fi

View File

@ -52,15 +52,15 @@ if ! grep -q "${TP_DOMAIN}/css/base" "${APP_FILEPATH}"; then
echo '---------------------------'
echo '| Adding the stylesheet |'
echo '---------------------------'
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/lidarr\/lidarr-base.css'><\/head> /g" "${APP_FILEPATH}"
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'><\/head> /g" "${APP_FILEPATH}"
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/lidarr\/lidarr-base.css'><\/head> /g" "${LOGIN_FILEPATH}"
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'><\/head> /g" "${LOGIN_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/lidarr\/lidarr-base.css'> /g" "${APP_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'> /g" "${APP_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/lidarr\/lidarr-base.css'> /g" "${LOGIN_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'> /g" "${LOGIN_FILEPATH}"
printf 'Stylesheet set to %s\n' "${TP_THEME}"
if [[ -n ${TP_ADDON} ]]; then
for addon in $(echo "$TP_ADDON" | tr "|" " "); do
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/addons\/lidarr\/${addon}\/${addon}.css'><\/head> /g" "${APP_FILEPATH}"
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/addons\/lidarr\/${addon}\/${addon}.css'><\/head> /g" "${LOGIN_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/addons\/lidarr\/${addon}\/${addon}.css'> /g" "${APP_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/addons\/lidarr\/${addon}\/${addon}.css'> /g" "${LOGIN_FILEPATH}"
printf 'Added custom addon: %s\n\n' "${addon}"
done
fi

View File

@ -52,15 +52,15 @@ if ! grep -q "${TP_DOMAIN}/css/base" "${APP_FILEPATH}"; then
echo '---------------------------'
echo '| Adding the stylesheet |'
echo '---------------------------'
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/prowlarr\/prowlarr-base.css'><\/head> /g" "${APP_FILEPATH}"
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'><\/head> /g" "${APP_FILEPATH}"
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/prowlarr\/prowlarr-base.css'><\/head> /g" "${LOGIN_FILEPATH}"
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'><\/head> /g" "${LOGIN_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/prowlarr\/prowlarr-base.css'> /g" "${APP_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'> /g" "${APP_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/prowlarr\/prowlarr-base.css'> /g" "${LOGIN_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'> /g" "${LOGIN_FILEPATH}"
printf 'Stylesheet set to %s\n' "${TP_THEME}"
if [[ -n ${TP_ADDON} ]]; then
for addon in $(echo "$TP_ADDON" | tr "|" " "); do
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/addons\/prowlarr\/${addon}\/${addon}.css'><\/head> /g" "${APP_FILEPATH}"
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/addons\/prowlarr\/${addon}\/${addon}.css'><\/head> /g" "${LOGIN_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/addons\/prowlarr\/${addon}\/${addon}.css'> /g" "${APP_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/addons\/prowlarr\/${addon}\/${addon}.css'> /g" "${LOGIN_FILEPATH}"
printf 'Added custom addon: %s\n\n' "${addon}"
done
fi

View File

@ -52,15 +52,15 @@ if ! grep -q "${TP_DOMAIN}/css/base" "${APP_FILEPATH}"; then
echo '---------------------------'
echo '| Adding the stylesheet |'
echo '---------------------------'
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/prowlarr\/prowlarr-base.css'><\/head> /g" "${APP_FILEPATH}"
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'><\/head> /g" "${APP_FILEPATH}"
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/prowlarr\/prowlarr-base.css'><\/head> /g" "${LOGIN_FILEPATH}"
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'><\/head> /g" "${LOGIN_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/prowlarr\/prowlarr-base.css'> /g" "${APP_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'> /g" "${APP_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/prowlarr\/prowlarr-base.css'> /g" "${LOGIN_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'> /g" "${LOGIN_FILEPATH}"
printf 'Stylesheet set to %s\n' "${TP_THEME}"
if [[ -n ${TP_ADDON} ]]; then
for addon in $(echo "$TP_ADDON" | tr "|" " "); do
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/addons\/prowlarr\/${addon}\/${addon}.css'><\/head> /g" "${APP_FILEPATH}"
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/addons\/prowlarr\/${addon}\/${addon}.css'><\/head> /g" "${LOGIN_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/addons\/prowlarr\/${addon}\/${addon}.css'> /g" "${APP_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/addons\/prowlarr\/${addon}\/${addon}.css'> /g" "${LOGIN_FILEPATH}"
printf 'Added custom addon: %s\n\n' "${addon}"
done
fi

View File

@ -98,8 +98,8 @@ sed_file(){
}
clean_file() {
perl -i -pe 's/QBT_TR?\(//' "$1"
perl -i -pe 's/\)QBT_TR\[CONTEXT=.*?\]//' "$1"
perl -i -pe 's/QBT_TR?\(//g' "$1"
perl -i -pe 's/\)QBT_TR\[CONTEXT=.*?\]//g' "$1"
}
if ! grep -q "${TP_DOMAIN}/css/base" /themepark/public/index.html; then
@ -117,10 +117,9 @@ if ! grep -q "${TP_DOMAIN}/css/base" /themepark/public/index.html; then
fi
# Clean all files
printf 'Cleaning files in /themepark for any translation text...\n\n
--------------------------------------------------------------------------
| !!! RESTART THE CONTAINER IF THIS IS THE FIRST TIME CLEANING FILES !!! |
--------------------------------------------------------------------------\n\n'
echo '------------------------------------------------------------'
echo '| Cleaning files in /themepark for any translation text... |'
echo '------------------------------------------------------------'
find /themepark -type f \( ! -iname "*.svg" \) | while read fname
do
clean_file $fname

View File

@ -83,8 +83,8 @@ sed_file(){
}
clean_file() {
perl -i -pe 's/QBT_TR?\(//' "$1"
perl -i -pe 's/\)QBT_TR\[CONTEXT=.*?\]//' "$1"
perl -i -pe 's/QBT_TR?\(//g' "$1"
perl -i -pe 's/\)QBT_TR\[CONTEXT=.*?\]//g' "$1"
}
if ! grep -q "${TP_DOMAIN}/css/base" /themepark/public/index.html; then
@ -102,10 +102,9 @@ if ! grep -q "${TP_DOMAIN}/css/base" /themepark/public/index.html; then
fi
# Clean all files
printf 'Cleaning files in /themepark for any translation text...\n\n
--------------------------------------------------------------------------
| !!! RESTART THE CONTAINER IF THIS IS THE FIRST TIME CLEANING FILES !!! |
--------------------------------------------------------------------------\n\n'
echo '------------------------------------------------------------'
echo '| Cleaning files in /themepark for any translation text... |'
echo '------------------------------------------------------------'
find /themepark -type f \( ! -iname "*.svg" \) | while read fname
do
clean_file $fname

View File

@ -52,15 +52,15 @@ if ! grep -q "${TP_DOMAIN}/css/base" "${APP_FILEPATH}"; then
echo '---------------------------'
echo '| Adding the stylesheet |'
echo '---------------------------'
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/radarr\/radarr-base.css'><\/head> /g" "${APP_FILEPATH}"
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'><\/head> /g" "${APP_FILEPATH}"
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/radarr\/radarr-base.css'><\/head> /g" "${LOGIN_FILEPATH}"
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'><\/head> /g" "${LOGIN_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/radarr\/radarr-base.css'> /g" "${APP_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'> /g" "${APP_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/radarr\/radarr-base.css'> /g" "${LOGIN_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'> /g" "${LOGIN_FILEPATH}"
printf 'Stylesheet set to %s\n' "${TP_THEME}"
if [[ -n ${TP_ADDON} ]]; then
for addon in $(echo "$TP_ADDON" | tr "|" " "); do
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/addons\/radarr\/${addon}\/${addon}.css'><\/head> /g" "${APP_FILEPATH}"
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/addons\/radarr\/${addon}\/${addon}.css'><\/head> /g" "${LOGIN_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/addons\/radarr\/${addon}\/${addon}.css'> /g" "${APP_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/addons\/radarr\/${addon}\/${addon}.css'> /g" "${LOGIN_FILEPATH}"
printf 'Added custom addon: %s\n\n' "${addon}"
done
fi

View File

@ -52,15 +52,15 @@ if ! grep -q "${TP_DOMAIN}/css/base" "${APP_FILEPATH}"; then
echo '---------------------------'
echo '| Adding the stylesheet |'
echo '---------------------------'
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/radarr\/radarr-base.css'><\/head> /g" "${APP_FILEPATH}"
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'><\/head> /g" "${APP_FILEPATH}"
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/radarr\/radarr-base.css'><\/head> /g" "${LOGIN_FILEPATH}"
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'><\/head> /g" "${LOGIN_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/radarr\/radarr-base.css'> /g" "${APP_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'> /g" "${APP_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/radarr\/radarr-base.css'> /g" "${LOGIN_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'> /g" "${LOGIN_FILEPATH}"
printf 'Stylesheet set to %s\n' "${TP_THEME}"
if [[ -n ${TP_ADDON} ]]; then
for addon in $(echo "$TP_ADDON" | tr "|" " "); do
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/addons\/radarr\/${addon}\/${addon}.css'><\/head> /g" "${APP_FILEPATH}"
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/addons\/radarr\/${addon}\/${addon}.css'><\/head> /g" "${LOGIN_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/addons\/radarr\/${addon}\/${addon}.css'> /g" "${APP_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/addons\/radarr\/${addon}\/${addon}.css'> /g" "${LOGIN_FILEPATH}"
printf 'Added custom addon: %s\n\n' "${addon}"
done
fi

View File

@ -52,15 +52,15 @@ if ! grep -q "${TP_DOMAIN}/css/base" "${APP_FILEPATH}"; then
echo '---------------------------'
echo '| Adding the stylesheet |'
echo '---------------------------'
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/readarr\/readarr-base.css'><\/head> /g" "${APP_FILEPATH}"
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'><\/head> /g" "${APP_FILEPATH}"
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/readarr\/readarr-base.css'><\/head> /g" "${LOGIN_FILEPATH}"
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'><\/head> /g" "${LOGIN_FILEPATH}"
sed -i "s/<body>/<body>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/readarr\/readarr-base.css'> /g" "${APP_FILEPATH}"
sed -i "s/<body>/<body>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'> /g" "${APP_FILEPATH}"
sed -i "s/<body>/<body>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/readarr\/readarr-base.css'> /g" "${LOGIN_FILEPATH}"
sed -i "s/<body>/<body>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'> /g" "${LOGIN_FILEPATH}"
printf 'Stylesheet set to %s\n' "${TP_THEME}"
if [[ -n ${TP_ADDON} ]]; then
for addon in $(echo "$TP_ADDON" | tr "|" " "); do
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/addons\/readarr\/${addon}\/${addon}.css'><\/head> /g" "${APP_FILEPATH}"
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/addons\/readarr\/${addon}\/${addon}.css'><\/head> /g" "${LOGIN_FILEPATH}"
sed -i "s/<body>/<body>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/addons\/readarr\/${addon}\/${addon}.css'> /g" "${APP_FILEPATH}"
sed -i "s/<body>/<body>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/addons\/readarr\/${addon}\/${addon}.css'> /g" "${LOGIN_FILEPATH}"
printf 'Added custom addon: %s\n\n' "${addon}"
done
fi

View File

@ -52,15 +52,15 @@ if ! grep -q "${TP_DOMAIN}/css/base" "${APP_FILEPATH}"; then
echo '---------------------------'
echo '| Adding the stylesheet |'
echo '---------------------------'
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/readarr\/readarr-base.css'><\/head> /g" "${APP_FILEPATH}"
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'><\/head> /g" "${APP_FILEPATH}"
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/readarr\/readarr-base.css'><\/head> /g" "${LOGIN_FILEPATH}"
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'><\/head> /g" "${LOGIN_FILEPATH}"
sed -i "s/<body>/<body>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/readarr\/readarr-base.css'> /g" "${APP_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'> /g" "${APP_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/readarr\/readarr-base.css'> /g" "${LOGIN_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'> /g" "${LOGIN_FILEPATH}"
printf 'Stylesheet set to %s\n' "${TP_THEME}"
if [[ -n ${TP_ADDON} ]]; then
for addon in $(echo "$TP_ADDON" | tr "|" " "); do
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/addons\/readarr\/${addon}\/${addon}.css'><\/head> /g" "${APP_FILEPATH}"
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/addons\/readarr\/${addon}\/${addon}.css'><\/head> /g" "${LOGIN_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/addons\/readarr\/${addon}\/${addon}.css'> /g" "${APP_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/addons\/readarr\/${addon}\/${addon}.css'> /g" "${LOGIN_FILEPATH}"
printf 'Added custom addon: %s\n\n' "${addon}"
done
fi

View File

@ -52,15 +52,15 @@ if ! grep -q "${TP_DOMAIN}/css/base" "${APP_FILEPATH}"; then
echo '---------------------------'
echo '| Adding the stylesheet |'
echo '---------------------------'
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/sonarr\/sonarr-base.css'><\/head> /g" "${APP_FILEPATH}"
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'><\/head> /g" "${APP_FILEPATH}"
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/sonarr\/sonarr-base.css'><\/head> /g" "${LOGIN_FILEPATH}"
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'><\/head> /g" "${LOGIN_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/sonarr\/sonarr-base.css'> /g" "${APP_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'> /g" "${APP_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/sonarr\/sonarr-base.css'> /g" "${LOGIN_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'> /g" "${LOGIN_FILEPATH}"
printf 'Stylesheet set to %s\n' "${TP_THEME}"
if [[ -n ${TP_ADDON} ]]; then
for addon in $(echo "$TP_ADDON" | tr "|" " "); do
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/addons\/sonarr\/${addon}\/${addon}.css'><\/head> /g" "${APP_FILEPATH}"
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/addons\/sonarr\/${addon}\/${addon}.css'><\/head> /g" "${LOGIN_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/addons\/sonarr\/${addon}\/${addon}.css'> /g" "${APP_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/addons\/sonarr\/${addon}\/${addon}.css'> /g" "${LOGIN_FILEPATH}"
printf 'Added custom addon: %s\n\n' "${addon}"
done
fi

View File

@ -52,15 +52,15 @@ if ! grep -q "${TP_DOMAIN}/css/base" "${APP_FILEPATH}"; then
echo '---------------------------'
echo '| Adding the stylesheet |'
echo '---------------------------'
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/sonarr\/sonarr-base.css'><\/head> /g" "${APP_FILEPATH}"
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'><\/head> /g" "${APP_FILEPATH}"
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/sonarr\/sonarr-base.css'><\/head> /g" "${LOGIN_FILEPATH}"
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'><\/head> /g" "${LOGIN_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/sonarr\/sonarr-base.css'> /g" "${APP_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'> /g" "${APP_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/sonarr\/sonarr-base.css'> /g" "${LOGIN_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'> /g" "${LOGIN_FILEPATH}"
printf 'Stylesheet set to %s\n' "${TP_THEME}"
if [[ -n ${TP_ADDON} ]]; then
for addon in $(echo "$TP_ADDON" | tr "|" " "); do
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/addons\/sonarr\/${addon}\/${addon}.css'><\/head> /g" "${APP_FILEPATH}"
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/addons\/sonarr\/${addon}\/${addon}.css'><\/head> /g" "${LOGIN_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/addons\/sonarr\/${addon}\/${addon}.css'> /g" "${APP_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/addons\/sonarr\/${addon}\/${addon}.css'> /g" "${LOGIN_FILEPATH}"
printf 'Added custom addon: %s\n\n' "${addon}"
done
fi

View File

@ -52,15 +52,15 @@ if ! grep -q "${TP_DOMAIN}/css/base" "${APP_FILEPATH}"; then
echo '---------------------------'
echo '| Adding the stylesheet |'
echo '---------------------------'
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/whisparr\/whisparr-base.css'><\/head> /g" "${APP_FILEPATH}"
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'><\/head> /g" "${APP_FILEPATH}"
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/whisparr\/whisparr-base.css'><\/head> /g" "${LOGIN_FILEPATH}"
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'><\/head> /g" "${LOGIN_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/whisparr\/whisparr-base.css'> /g" "${APP_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'> /g" "${APP_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/whisparr\/whisparr-base.css'> /g" "${LOGIN_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'> /g" "${LOGIN_FILEPATH}"
printf 'Stylesheet set to %s\n' "${TP_THEME}"
if [[ -n ${TP_ADDON} ]]; then
for addon in $(echo "$TP_ADDON" | tr "|" " "); do
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/addons\/whisparr\/${addon}\/${addon}.css'><\/head> /g" "${APP_FILEPATH}"
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/addons\/whisparr\/${addon}\/${addon}.css'><\/head> /g" "${LOGIN_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/addons\/whisparr\/${addon}\/${addon}.css'> /g" "${APP_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/addons\/whisparr\/${addon}\/${addon}.css'> /g" "${LOGIN_FILEPATH}"
printf 'Added custom addon: %s\n\n' "${addon}"
done
fi

View File

@ -52,15 +52,15 @@ if ! grep -q "${TP_DOMAIN}/css/base" "${APP_FILEPATH}"; then
echo '---------------------------'
echo '| Adding the stylesheet |'
echo '---------------------------'
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/whisparr\/whisparr-base.css'><\/head> /g" "${APP_FILEPATH}"
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'><\/head> /g" "${APP_FILEPATH}"
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/whisparr\/whisparr-base.css'><\/head> /g" "${LOGIN_FILEPATH}"
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'><\/head> /g" "${LOGIN_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/whisparr\/whisparr-base.css'> /g" "${APP_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'> /g" "${APP_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/whisparr\/whisparr-base.css'> /g" "${LOGIN_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'> /g" "${LOGIN_FILEPATH}"
printf 'Stylesheet set to %s\n' "${TP_THEME}"
if [[ -n ${TP_ADDON} ]]; then
for addon in $(echo "$TP_ADDON" | tr "|" " "); do
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/addons\/whisparr\/${addon}\/${addon}.css'><\/head> /g" "${APP_FILEPATH}"
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/addons\/whisparr\/${addon}\/${addon}.css'><\/head> /g" "${LOGIN_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/addons\/whisparr\/${addon}\/${addon}.css'> /g" "${APP_FILEPATH}"
sed -i "s/<body>/<body><link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/addons\/whisparr\/${addon}\/${addon}.css'> /g" "${LOGIN_FILEPATH}"
printf 'Added custom addon: %s\n\n' "${addon}"
done
fi

View File

@ -44,38 +44,38 @@
"login-page": {
"alien": {
"css": [
"https://theme-park.dev/css/addons/unraid/login-page/alien/scanner.css?sha=9c97f33f026050abca26282258e9f35d",
"https://theme-park.dev/css/addons/unraid/login-page/alien/hallway.css?sha=66fb1e93836e81eb0fa3fa27147cb9ea",
"https://theme-park.dev/css/addons/unraid/login-page/alien/hallway2.css?sha=b384251e3a5baf8f43d699dd99c32ca3",
"https://theme-park.dev/css/addons/unraid/login-page/alien/alien-base.css?sha=d7045656054ac9d428c390d0a96ff4bb",
"https://theme-park.dev/css/addons/unraid/login-page/alien/hallway3.css?sha=dd01b13d8039ae268e41f876e8588f79",
"https://theme-park.dev/css/addons/unraid/login-page/alien/isolation_video.css?sha=41157d0ffbb87985a3d35048fb1ebe30",
"https://theme-park.dev/css/addons/unraid/login-page/alien/isolation.css?sha=c838308ddf177d74e75fae445b2ea824",
"https://theme-park.dev/css/addons/unraid/login-page/alien/custom.css?sha=f42ec439c86c169aca34f7958d6bda7f",
"https://theme-park.dev/css/addons/unraid/login-page/alien/hallway3.css?sha=dd01b13d8039ae268e41f876e8588f79",
"https://theme-park.dev/css/addons/unraid/login-page/alien/hallway.css?sha=66fb1e93836e81eb0fa3fa27147cb9ea",
"https://theme-park.dev/css/addons/unraid/login-page/alien/alien-base.css?sha=d7045656054ac9d428c390d0a96ff4bb",
"https://theme-park.dev/css/addons/unraid/login-page/alien/nightmare.css?sha=1da7c77a6d81a9ccf14e8b802ab0fd46",
"https://theme-park.dev/css/addons/unraid/login-page/alien/hallway4.css?sha=4c9c5c40e696e9258c963981705a9eb2",
"https://theme-park.dev/css/addons/unraid/login-page/alien/nightmare.css?sha=1da7c77a6d81a9ccf14e8b802ab0fd46"
"https://theme-park.dev/css/addons/unraid/login-page/alien/isolation.css?sha=c838308ddf177d74e75fae445b2ea824",
"https://theme-park.dev/css/addons/unraid/login-page/alien/hallway2.css?sha=b384251e3a5baf8f43d699dd99c32ca3",
"https://theme-park.dev/css/addons/unraid/login-page/alien/custom.css?sha=f42ec439c86c169aca34f7958d6bda7f",
"https://theme-park.dev/css/addons/unraid/login-page/alien/scanner.css?sha=9c97f33f026050abca26282258e9f35d"
]
},
"fallout": {
"css": [
"https://theme-park.dev/css/addons/unraid/login-page/fallout/fallout-base.css?sha=3c183e6fbcfb18f9ded7887ee6fee86a",
"https://theme-park.dev/css/addons/unraid/login-page/fallout/terminal.css?sha=a803842569b686a642260679106742a9",
"https://theme-park.dev/css/addons/unraid/login-page/fallout/dirty_terminal2.css?sha=01cf21af49932e2ab0879da576930920",
"https://theme-park.dev/css/addons/unraid/login-page/fallout/terminal.css?sha=a803842569b686a642260679106742a9",
"https://theme-park.dev/css/addons/unraid/login-page/fallout/terminal2.css?sha=9e80f6fa107747f276298eb42eef781d",
"https://theme-park.dev/css/addons/unraid/login-page/fallout/custom.css?sha=ec87723e62568661bbb9313c129da613",
"https://theme-park.dev/css/addons/unraid/login-page/fallout/dirty_terminal.css?sha=1a5fd9a10cddc7cc5b2ab268be71b301",
"https://theme-park.dev/css/addons/unraid/login-page/fallout/fallout-base.css?sha=3c183e6fbcfb18f9ded7887ee6fee86a",
"https://theme-park.dev/css/addons/unraid/login-page/fallout/fallout_video.css?sha=ba3ee6187c21d2d8e302be035d68496a",
"https://theme-park.dev/css/addons/unraid/login-page/fallout/dirty_terminal.css?sha=1a5fd9a10cddc7cc5b2ab268be71b301"
"https://theme-park.dev/css/addons/unraid/login-page/fallout/custom.css?sha=ec87723e62568661bbb9313c129da613"
]
},
"retro-terminal": {
"css": [
"https://theme-park.dev/css/addons/unraid/login-page/retro-terminal/blue.css?sha=585b2b9c06233e8a0b90b155a2ec1d22",
"https://theme-park.dev/css/addons/unraid/login-page/retro-terminal/amber.css?sha=54cf35d4554023944c907f44653db03d",
"https://theme-park.dev/css/addons/unraid/login-page/retro-terminal/red.css?sha=84917694a232621fe6ff57d15476506b",
"https://theme-park.dev/css/addons/unraid/login-page/retro-terminal/white.css?sha=6bd4eead62c6381261f8beb78c3a1766",
"https://theme-park.dev/css/addons/unraid/login-page/retro-terminal/custom.css?sha=d8c4b0416a3bd2ee780608d39080e3fc",
"https://theme-park.dev/css/addons/unraid/login-page/retro-terminal/green.css?sha=8bff192aff5e98d97e8d1980dd6fd664",
"https://theme-park.dev/css/addons/unraid/login-page/retro-terminal/retro-terminal-base.css?sha=68c9a21adb524cab2e153a66c6a68d70"
"https://theme-park.dev/css/addons/unraid/login-page/retro-terminal/white.css?sha=6bd4eead62c6381261f8beb78c3a1766",
"https://theme-park.dev/css/addons/unraid/login-page/retro-terminal/retro-terminal-base.css?sha=68c9a21adb524cab2e153a66c6a68d70",
"https://theme-park.dev/css/addons/unraid/login-page/retro-terminal/custom.css?sha=d8c4b0416a3bd2ee780608d39080e3fc",
"https://theme-park.dev/css/addons/unraid/login-page/retro-terminal/red.css?sha=84917694a232621fe6ff57d15476506b",
"https://theme-park.dev/css/addons/unraid/login-page/retro-terminal/blue.css?sha=585b2b9c06233e8a0b90b155a2ec1d22"
]
}
}
@ -396,7 +396,7 @@
},
"tautulli": {
"addons": {},
"base_css": "https://theme-park.dev/css/base/tautulli/tautulli-base.css?sha=77ade73bb8491883c2f27b36027bf364"
"base_css": "https://theme-park.dev/css/base/tautulli/tautulli-base.css?sha=ec36ae9b66c59fc187e554f151952624"
},
"transmission": {
"addons": {},
@ -407,38 +407,38 @@
"login-page": {
"alien": {
"css": [
"https://theme-park.dev/css/addons/unraid/login-page/alien/scanner.css?sha=9c97f33f026050abca26282258e9f35d",
"https://theme-park.dev/css/addons/unraid/login-page/alien/hallway.css?sha=66fb1e93836e81eb0fa3fa27147cb9ea",
"https://theme-park.dev/css/addons/unraid/login-page/alien/hallway2.css?sha=b384251e3a5baf8f43d699dd99c32ca3",
"https://theme-park.dev/css/addons/unraid/login-page/alien/alien-base.css?sha=d7045656054ac9d428c390d0a96ff4bb",
"https://theme-park.dev/css/addons/unraid/login-page/alien/hallway3.css?sha=dd01b13d8039ae268e41f876e8588f79",
"https://theme-park.dev/css/addons/unraid/login-page/alien/isolation_video.css?sha=41157d0ffbb87985a3d35048fb1ebe30",
"https://theme-park.dev/css/addons/unraid/login-page/alien/isolation.css?sha=c838308ddf177d74e75fae445b2ea824",
"https://theme-park.dev/css/addons/unraid/login-page/alien/custom.css?sha=f42ec439c86c169aca34f7958d6bda7f",
"https://theme-park.dev/css/addons/unraid/login-page/alien/hallway3.css?sha=dd01b13d8039ae268e41f876e8588f79",
"https://theme-park.dev/css/addons/unraid/login-page/alien/hallway.css?sha=66fb1e93836e81eb0fa3fa27147cb9ea",
"https://theme-park.dev/css/addons/unraid/login-page/alien/alien-base.css?sha=d7045656054ac9d428c390d0a96ff4bb",
"https://theme-park.dev/css/addons/unraid/login-page/alien/nightmare.css?sha=1da7c77a6d81a9ccf14e8b802ab0fd46",
"https://theme-park.dev/css/addons/unraid/login-page/alien/hallway4.css?sha=4c9c5c40e696e9258c963981705a9eb2",
"https://theme-park.dev/css/addons/unraid/login-page/alien/nightmare.css?sha=1da7c77a6d81a9ccf14e8b802ab0fd46"
"https://theme-park.dev/css/addons/unraid/login-page/alien/isolation.css?sha=c838308ddf177d74e75fae445b2ea824",
"https://theme-park.dev/css/addons/unraid/login-page/alien/hallway2.css?sha=b384251e3a5baf8f43d699dd99c32ca3",
"https://theme-park.dev/css/addons/unraid/login-page/alien/custom.css?sha=f42ec439c86c169aca34f7958d6bda7f",
"https://theme-park.dev/css/addons/unraid/login-page/alien/scanner.css?sha=9c97f33f026050abca26282258e9f35d"
]
},
"fallout": {
"css": [
"https://theme-park.dev/css/addons/unraid/login-page/fallout/fallout-base.css?sha=3c183e6fbcfb18f9ded7887ee6fee86a",
"https://theme-park.dev/css/addons/unraid/login-page/fallout/terminal.css?sha=a803842569b686a642260679106742a9",
"https://theme-park.dev/css/addons/unraid/login-page/fallout/dirty_terminal2.css?sha=01cf21af49932e2ab0879da576930920",
"https://theme-park.dev/css/addons/unraid/login-page/fallout/terminal.css?sha=a803842569b686a642260679106742a9",
"https://theme-park.dev/css/addons/unraid/login-page/fallout/terminal2.css?sha=9e80f6fa107747f276298eb42eef781d",
"https://theme-park.dev/css/addons/unraid/login-page/fallout/custom.css?sha=ec87723e62568661bbb9313c129da613",
"https://theme-park.dev/css/addons/unraid/login-page/fallout/dirty_terminal.css?sha=1a5fd9a10cddc7cc5b2ab268be71b301",
"https://theme-park.dev/css/addons/unraid/login-page/fallout/fallout-base.css?sha=3c183e6fbcfb18f9ded7887ee6fee86a",
"https://theme-park.dev/css/addons/unraid/login-page/fallout/fallout_video.css?sha=ba3ee6187c21d2d8e302be035d68496a",
"https://theme-park.dev/css/addons/unraid/login-page/fallout/dirty_terminal.css?sha=1a5fd9a10cddc7cc5b2ab268be71b301"
"https://theme-park.dev/css/addons/unraid/login-page/fallout/custom.css?sha=ec87723e62568661bbb9313c129da613"
]
},
"retro-terminal": {
"css": [
"https://theme-park.dev/css/addons/unraid/login-page/retro-terminal/blue.css?sha=585b2b9c06233e8a0b90b155a2ec1d22",
"https://theme-park.dev/css/addons/unraid/login-page/retro-terminal/amber.css?sha=54cf35d4554023944c907f44653db03d",
"https://theme-park.dev/css/addons/unraid/login-page/retro-terminal/red.css?sha=84917694a232621fe6ff57d15476506b",
"https://theme-park.dev/css/addons/unraid/login-page/retro-terminal/white.css?sha=6bd4eead62c6381261f8beb78c3a1766",
"https://theme-park.dev/css/addons/unraid/login-page/retro-terminal/custom.css?sha=d8c4b0416a3bd2ee780608d39080e3fc",
"https://theme-park.dev/css/addons/unraid/login-page/retro-terminal/green.css?sha=8bff192aff5e98d97e8d1980dd6fd664",
"https://theme-park.dev/css/addons/unraid/login-page/retro-terminal/retro-terminal-base.css?sha=68c9a21adb524cab2e153a66c6a68d70"
"https://theme-park.dev/css/addons/unraid/login-page/retro-terminal/white.css?sha=6bd4eead62c6381261f8beb78c3a1766",
"https://theme-park.dev/css/addons/unraid/login-page/retro-terminal/retro-terminal-base.css?sha=68c9a21adb524cab2e153a66c6a68d70",
"https://theme-park.dev/css/addons/unraid/login-page/retro-terminal/custom.css?sha=d8c4b0416a3bd2ee780608d39080e3fc",
"https://theme-park.dev/css/addons/unraid/login-page/retro-terminal/red.css?sha=84917694a232621fe6ff57d15476506b",
"https://theme-park.dev/css/addons/unraid/login-page/retro-terminal/blue.css?sha=585b2b9c06233e8a0b90b155a2ec1d22"
]
}
}