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-08-22 19:50:00 +00:00
parent 90f85631ae
commit 8783114b89
88 changed files with 375 additions and 247 deletions

View File

@ -3,8 +3,10 @@ on:
push:
branches:
- master
- develop
- testing
paths:
- 'docker-mods/**'
- '**/docker-mods/**'
workflow_dispatch:
inputs:
app:
@ -43,6 +45,7 @@ on:
append-tag:
required: false
description: 'Append a the tag with "-custom" e.g :radarr-testing'
jobs:
push_to_ghcr_io:
runs-on: ubuntu-latest
@ -51,46 +54,47 @@ jobs:
uses: actions/checkout@v3.1.0
with:
fetch-depth: 0
- name: get changed files
id: getfile
run: |
echo "files=$(git diff-tree --no-commit-id --name-only -r ${{ github.sha }} docker-mods/| xargs)" >> $GITHUB_ENV
- name: Login to GitHub Container Registry
uses: docker/login-action@v2.1.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
username: ${{ secrets.GHCR_USER }}
password: ${{ secrets.GH_PAT }}
- name: find correct directory then build&push
- name: Extract branch name
shell: bash
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
id: extract_branch
- name: build all on push
if: ${{ github.event_name == 'push' }}
run: |
for i in ${{ env.files }}
do
directory="$( echo $i | cut -d'/' -f2 -s )"
if [ -z "$directory" ]; then
continue # Skip root dir
elif [ "$i" == *.md ]; then
continue # Skip markdown files
elif [ "$i" == *.yml ]; then
continue # Skip YAML files
fi
docker build docker-mods/$directory --tag ghcr.io/gilbn/theme.park:$directory
docker push ghcr.io/gilbn/theme.park:$directory
done
branch=${{ steps.extract_branch.outputs.branch }}
if [ "$branch" = "master" ]; then
branch=""
else
branch="-$branch"
fi
for dir in docker-mods/*;
do
app="$( echo "$dir" | cut -d'/' -f2 -s )"
docker build docker-mods/$app --tag ghcr.io/${{ secrets.GHCR_USER }}/theme.park:$app$branch
docker push ghcr.io/${{ secrets.GHCR_USER }}/theme.park:$app$branch
done
- name: manually build
if: ${{ github.event.inputs.app && github.event.inputs.app != 'build-all-the-mods' }}
run: |
docker build docker-mods/${{ github.event.inputs.app }} --tag ghcr.io/gilbn/theme.park:${{ github.event.inputs.app }}${{ github.event.inputs.append-tag }}
docker push ghcr.io/gilbn/theme.park:${{ github.event.inputs.app }}${{ github.event.inputs.append-tag }}
docker build docker-mods/${{ github.event.inputs.app }} --tag ghcr.io/${{ secrets.GHCR_USER }}/theme.park:${{ github.event.inputs.app }}${{ github.event.inputs.append-tag }}
docker push ghcr.io/${{ secrets.GHCR_USER }}/theme.park:${{ github.event.inputs.app }}${{ github.event.inputs.append-tag }}
- name: manually build all mods
if: ${{ github.event.inputs.app == 'build-all-the-mods' }}
run: |
for dir in docker-mods/*;
do
app="$( echo "$dir" | cut -d'/' -f2 -s )"
docker build docker-mods/$app --tag ghcr.io/gilbn/theme.park:$app${{ github.event.inputs.append-tag }}
docker push ghcr.io/gilbn/theme.park:$app${{ github.event.inputs.append-tag }}
docker build docker-mods/$app --tag ghcr.io/${{ secrets.GHCR_USER }}/theme.park:$app${{ github.event.inputs.append-tag }}
docker push ghcr.io/${{ secrets.GHCR_USER }}/theme.park:$app${{ github.event.inputs.append-tag }}
done
push_to_dockerhub:
runs-on: ubuntu-latest
steps:
@ -98,42 +102,42 @@ jobs:
uses: actions/checkout@v3.1.0
with:
fetch-depth: 0
- name: get changed files
id: getfile
run: |
echo "files=$(git diff-tree --no-commit-id --name-only -r ${{ github.sha }} docker-mods/| xargs)" >> $GITHUB_ENV
- name: Login to Docker Hub
uses: docker/login-action@v2.1.0
with:
username: ${{ secrets.DH_USER }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: find correct directory then build&push
- name: Extract branch name
shell: bash
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
id: extract_branch
- name: build all on push
if: ${{ github.event_name == 'push' }}
run: |
for i in ${{ env.files }}
do
directory="$( echo $i | cut -d'/' -f2 -s )"
if [ -z "$directory" ]; then
continue # Skip root dir
elif [ "$i" == *.md ]; then
continue # Skip markdown files
elif [ "$i" == *.yml ]; then
continue # Skip YAML files
fi
docker build docker-mods/$directory --tag gilbn/theme.park:$directory
docker push gilbn/theme.park:$directory
done
branch=${{ steps.extract_branch.outputs.branch }}
if [ "$branch" = "master" ]; then
branch=""
else
branch="-$branch"
fi
for dir in docker-mods/*;
do
app="$( echo "$dir" | cut -d'/' -f2 -s )"
docker build docker-mods/$app --tag ${{ secrets.DH_USER }}/theme.park:$app$branch
docker push ${{ secrets.DH_USER }}/theme.park:$app$branch
done
- name: manually build
if: ${{ github.event.inputs.app && github.event.inputs.app != 'build-all-the-mods' }}
run: |
docker build docker-mods/${{ github.event.inputs.app }} --tag gilbn/theme.park:${{ github.event.inputs.app }}${{ github.event.inputs.append-tag }}
docker push gilbn/theme.park:${{ github.event.inputs.app }}${{ github.event.inputs.append-tag }}
docker build docker-mods/${{ github.event.inputs.app }} --tag ${{ secrets.DH_USER }}/theme.park:${{ github.event.inputs.app }}${{ github.event.inputs.append-tag }}
docker push ${{ secrets.DH_USER }}/theme.park:${{ github.event.inputs.app }}${{ github.event.inputs.append-tag }}
- name: manually build all mods
if: ${{ github.event.inputs.app == 'build-all-the-mods' }}
run: |
for dir in docker-mods/*;
do
app="$( echo "$dir" | cut -d'/' -f2 -s )"
docker build docker-mods/$app --tag gilbn/theme.park:$app${{ github.event.inputs.append-tag }}
docker push gilbn/theme.park:$app${{ github.event.inputs.append-tag }}
docker build docker-mods/$app --tag ${{ secrets.DH_USER }}/theme.park:$app${{ github.event.inputs.append-tag }}
docker push ${{ secrets.DH_USER }}/theme.park:$app${{ github.event.inputs.append-tag }}
done

View File

@ -0,0 +1,71 @@
#!/bin/bash
#
# Theme-Park Theme CSS Synchronization Script
#
# This script synchronizes the CSS files needed for the theme-park.dev Unraid theme
# into the Dynamix CSS styles folder. The script creates destination subfolders if
# they don't exist and performs rsync for each subfolder. It then updates the @import references
# in the CSS files so the files get correctly loaded by the client.
#
# This script is intended for users of the "Theme Engine" plugin, allowing custom
# styling to be added into the HTML head that references the copied CSS files.
#
# After running this script, you can use the following code snippet as an example
# in your HTML head (Custom styling (advanced)) to include the copied CSS files using the "Theme Engine" plugin:
#
# <!-- Example for Theme Engine plugin -->
# </style>
# <link type="text/css" rel="stylesheet" href="/webGui/styles/theme-park/css/base/unraid/nord.css"/>
#
# Tip: You can use the "User Scripts" plugin in Unraid to schedule this script to run
# automatically when the Unraid array starts.
#
# Define root source folder (CHANGE THIS TO YOUR DESIRED SOURCE FOLDER)
root_source_folder="/path/to/the/theme-park/root/folder"
# -------------------- Start of Script --------------------
# Define subfolders
subfolders=("base/unraid" "theme-options" "defaults" "community-theme-options")
# Main destination folder
main_destination_folder="/usr/local/emhttp/plugins/dynamix/styles/theme-park/css/"
# User instructions
# Instructions: Only change the 'root_source_folder' variable to point to your desired source directory.
# Do NOT modify other variables unless you understand their purpose.
# Create subfolders if they don't exist
for subfolder in "${subfolders[@]}"; do
destination_folder="$main_destination_folder$subfolder"
if [ ! -d "$destination_folder" ]; then
echo "Destination folder not found. Creating destination folder: $destination_folder"
mkdir -p "$destination_folder"
fi
done
# Perform rsync for each subfolder to its corresponding destination
for subfolder in "${subfolders[@]}"; do
source_folder="$root_source_folder/$subfolder"
destination_folder="$main_destination_folder$subfolder"
# Check if source folder exists
if [ ! -d "$source_folder" ]; then
echo "Source folder not found: $source_folder"
exit 1
fi
rsync -av --delete "$source_folder/" "$destination_folder"
echo "Synchronization complete for source: $source_folder to destination: $destination_folder"
done
# Update import references in CSS files so the the files get correctly loaded on the client
echo "Updating import references..."
find "$main_destination_folder" -type f -name "*.css" -exec sed -i 's|@import url("/css/|@import url("/webGui/styles/theme-park/css/|g' {} +
echo "Reference update complete."
# ---- End of Script ----
echo "All synchronizations complete."

View File

@ -1,2 +1,2 @@
@import url("/css/base/gitea/gitea-base.css?sha=e1e99310d71503572cff0ad7a33b4701");
@import url("/css/base/gitea/gitea-base.css?sha=427d22b023a3ba8c5b3a9ff7a2c5e605");
@import url("/css/theme-options/aquamarine.css?sha=d756574a59cc3bfa2433998efaf57bf3");

View File

@ -1,2 +1,2 @@
@import url("/css/base/gitea/gitea-base.css?sha=e1e99310d71503572cff0ad7a33b4701");
@import url("/css/base/gitea/gitea-base.css?sha=427d22b023a3ba8c5b3a9ff7a2c5e605");
@import url("/css/community-theme-options/blackberry-abyss.css?sha=e8399c6f8a2e9f3ec99f9aad936db7a9");

View File

@ -1,2 +1,2 @@
@import url("/css/base/gitea/gitea-base.css?sha=e1e99310d71503572cff0ad7a33b4701");
@import url("/css/base/gitea/gitea-base.css?sha=427d22b023a3ba8c5b3a9ff7a2c5e605");
@import url("/css/community-theme-options/blackberry-amethyst.css?sha=87786d9451286f37b81293bbf51a8205");

View File

@ -1,2 +1,2 @@
@import url("/css/base/gitea/gitea-base.css?sha=e1e99310d71503572cff0ad7a33b4701");
@import url("/css/base/gitea/gitea-base.css?sha=427d22b023a3ba8c5b3a9ff7a2c5e605");
@import url("/css/community-theme-options/blackberry-carol.css?sha=dd744035926663fc42242daedc9f1794");

View File

@ -1,2 +1,2 @@
@import url("/css/base/gitea/gitea-base.css?sha=e1e99310d71503572cff0ad7a33b4701");
@import url("/css/base/gitea/gitea-base.css?sha=427d22b023a3ba8c5b3a9ff7a2c5e605");
@import url("/css/community-theme-options/blackberry-dreamscape.css?sha=81a988c1ccc397ca303b898a69b8933f");

View File

@ -1,2 +1,2 @@
@import url("/css/base/gitea/gitea-base.css?sha=e1e99310d71503572cff0ad7a33b4701");
@import url("/css/base/gitea/gitea-base.css?sha=427d22b023a3ba8c5b3a9ff7a2c5e605");
@import url("/css/community-theme-options/blackberry-flamingo.css?sha=1f73a7b422a1ad484a33b95e71e542d7");

View File

@ -1,2 +1,2 @@
@import url("/css/base/gitea/gitea-base.css?sha=e1e99310d71503572cff0ad7a33b4701");
@import url("/css/base/gitea/gitea-base.css?sha=427d22b023a3ba8c5b3a9ff7a2c5e605");
@import url("/css/community-theme-options/blackberry-hearth.css?sha=63eff67e0507c9f40b3a6d721fd2e00b");

View File

@ -1,2 +1,2 @@
@import url("/css/base/gitea/gitea-base.css?sha=e1e99310d71503572cff0ad7a33b4701");
@import url("/css/base/gitea/gitea-base.css?sha=427d22b023a3ba8c5b3a9ff7a2c5e605");
@import url("/css/community-theme-options/blackberry-martian.css?sha=b147b481a6e52a58dccff4ff3e2b83a0");

View File

@ -1,2 +1,2 @@
@import url("/css/base/gitea/gitea-base.css?sha=e1e99310d71503572cff0ad7a33b4701");
@import url("/css/base/gitea/gitea-base.css?sha=427d22b023a3ba8c5b3a9ff7a2c5e605");
@import url("/css/community-theme-options/blackberry-pumpkin.css?sha=ded53ed23d3bb1b293c2b444f9c6b520");

View File

@ -1,2 +1,2 @@
@import url("/css/base/gitea/gitea-base.css?sha=e1e99310d71503572cff0ad7a33b4701");
@import url("/css/base/gitea/gitea-base.css?sha=427d22b023a3ba8c5b3a9ff7a2c5e605");
@import url("/css/community-theme-options/blackberry-royal.css?sha=5656c5c4f467941883374376d45a8758");

View File

@ -1,2 +1,2 @@
@import url("/css/base/gitea/gitea-base.css?sha=e1e99310d71503572cff0ad7a33b4701");
@import url("/css/base/gitea/gitea-base.css?sha=427d22b023a3ba8c5b3a9ff7a2c5e605");
@import url("/css/community-theme-options/blackberry-shadow.css?sha=b8941bbed98a08998a2fbe28319112c0");

View File

@ -1,2 +1,2 @@
@import url("/css/base/gitea/gitea-base.css?sha=e1e99310d71503572cff0ad7a33b4701");
@import url("/css/base/gitea/gitea-base.css?sha=427d22b023a3ba8c5b3a9ff7a2c5e605");
@import url("/css/community-theme-options/blackberry-solar.css?sha=b993845b73c14914d185a76b44750c64");

View File

@ -1,2 +1,2 @@
@import url("/css/base/gitea/gitea-base.css?sha=e1e99310d71503572cff0ad7a33b4701");
@import url("/css/base/gitea/gitea-base.css?sha=427d22b023a3ba8c5b3a9ff7a2c5e605");
@import url("/css/community-theme-options/blackberry-vanta.css?sha=66ca6a0d6a5055bc0a2a0460c945fa7a");

View File

@ -1,2 +1,2 @@
@import url("/css/base/gitea/gitea-base.css?sha=e1e99310d71503572cff0ad7a33b4701");
@import url("/css/base/gitea/gitea-base.css?sha=427d22b023a3ba8c5b3a9ff7a2c5e605");
@import url("/css/theme-options/dark.css?sha=1bbea8b71216f2c2b7eff31ee72c389f");

View File

@ -1,2 +1,2 @@
@import url("/css/base/gitea/gitea-base.css?sha=e1e99310d71503572cff0ad7a33b4701");
@import url("/css/base/gitea/gitea-base.css?sha=427d22b023a3ba8c5b3a9ff7a2c5e605");
@import url("/css/theme-options/dracula.css?sha=6366d3845240fb8943c2b54d56335a19");

File diff suppressed because one or more lines are too long

View File

@ -1,2 +1,2 @@
@import url("/css/base/gitea/gitea-base.css?sha=e1e99310d71503572cff0ad7a33b4701");
@import url("/css/base/gitea/gitea-base.css?sha=427d22b023a3ba8c5b3a9ff7a2c5e605");
@import url("/css/community-theme-options/hotline-old.css?sha=1996bf028fd671f9a43dc15035e65c33");

View File

@ -1,2 +1,2 @@
@import url("/css/base/gitea/gitea-base.css?sha=e1e99310d71503572cff0ad7a33b4701");
@import url("/css/base/gitea/gitea-base.css?sha=427d22b023a3ba8c5b3a9ff7a2c5e605");
@import url("/css/theme-options/hotline.css?sha=b104dcbd717283d00fe6de4219744ecc");

View File

@ -1,2 +1,2 @@
@import url("/css/base/gitea/gitea-base.css?sha=e1e99310d71503572cff0ad7a33b4701");
@import url("/css/base/gitea/gitea-base.css?sha=427d22b023a3ba8c5b3a9ff7a2c5e605");
@import url("/css/theme-options/hotpink.css?sha=152a8bd511ff5cfe5df90e00688ba1fc");

View File

@ -1,2 +1,2 @@
@import url("/css/base/gitea/gitea-base.css?sha=e1e99310d71503572cff0ad7a33b4701");
@import url("/css/base/gitea/gitea-base.css?sha=427d22b023a3ba8c5b3a9ff7a2c5e605");
@import url("/css/community-theme-options/ibracorp.css?sha=c614a1a123a048850289e718fd113c8f");

View File

@ -1,2 +1,2 @@
@import url("/css/base/gitea/gitea-base.css?sha=e1e99310d71503572cff0ad7a33b4701");
@import url("/css/base/gitea/gitea-base.css?sha=427d22b023a3ba8c5b3a9ff7a2c5e605");
@import url("/css/theme-options/maroon.css?sha=aba3461aac201e257cf5cea12d9f6c5c");

View File

@ -1,2 +1,2 @@
@import url("/css/base/gitea/gitea-base.css?sha=e1e99310d71503572cff0ad7a33b4701");
@import url("/css/base/gitea/gitea-base.css?sha=427d22b023a3ba8c5b3a9ff7a2c5e605");
@import url("/css/community-theme-options/mind.css?sha=9f02ff1636bb19fbbc1c883f0a69814d");

View File

@ -1,2 +1,2 @@
@import url("/css/base/gitea/gitea-base.css?sha=e1e99310d71503572cff0ad7a33b4701");
@import url("/css/base/gitea/gitea-base.css?sha=427d22b023a3ba8c5b3a9ff7a2c5e605");
@import url("/css/theme-options/nord.css?sha=1b026fc9951acb87776302d71db5705e");

View File

@ -1,2 +1,2 @@
@import url("/css/base/gitea/gitea-base.css?sha=e1e99310d71503572cff0ad7a33b4701");
@import url("/css/base/gitea/gitea-base.css?sha=427d22b023a3ba8c5b3a9ff7a2c5e605");
@import url("/css/community-theme-options/onedark.css?sha=35d1229e080c54d138ea4c9512c0f0db");

View File

@ -1,2 +1,2 @@
@import url("/css/base/gitea/gitea-base.css?sha=e1e99310d71503572cff0ad7a33b4701");
@import url("/css/base/gitea/gitea-base.css?sha=427d22b023a3ba8c5b3a9ff7a2c5e605");
@import url("/css/theme-options/organizr.css?sha=fceff07a68bad62cd3848afce664a97f");

View File

@ -1,2 +1,2 @@
@import url("/css/base/gitea/gitea-base.css?sha=e1e99310d71503572cff0ad7a33b4701");
@import url("/css/base/gitea/gitea-base.css?sha=427d22b023a3ba8c5b3a9ff7a2c5e605");
@import url("/css/theme-options/overseerr.css?sha=e144b7051d5a835c99e85a5a6b616e5e");

View File

@ -1,2 +1,2 @@
@import url("/css/base/gitea/gitea-base.css?sha=e1e99310d71503572cff0ad7a33b4701");
@import url("/css/base/gitea/gitea-base.css?sha=427d22b023a3ba8c5b3a9ff7a2c5e605");
@import url("/css/community-theme-options/pine-shadow.css?sha=953a1c8800f65def81edfbf1097de444");

View File

@ -1,2 +1,2 @@
@import url("/css/base/gitea/gitea-base.css?sha=e1e99310d71503572cff0ad7a33b4701");
@import url("/css/base/gitea/gitea-base.css?sha=427d22b023a3ba8c5b3a9ff7a2c5e605");
@import url("/css/theme-options/plex.css?sha=a4c4891e132b89426160a1fe32205f4f");

View File

@ -1,2 +1,2 @@
@import url("/css/base/gitea/gitea-base.css?sha=e1e99310d71503572cff0ad7a33b4701");
@import url("/css/base/gitea/gitea-base.css?sha=427d22b023a3ba8c5b3a9ff7a2c5e605");
@import url("/css/community-theme-options/power.css?sha=4bfda3cbb74c41f827e46f8b8e14dbdf");

View File

@ -1,2 +1,2 @@
@import url("/css/base/gitea/gitea-base.css?sha=e1e99310d71503572cff0ad7a33b4701");
@import url("/css/base/gitea/gitea-base.css?sha=427d22b023a3ba8c5b3a9ff7a2c5e605");
@import url("/css/community-theme-options/reality.css?sha=fab9956884e76c612c6de71dafb0b746");

View File

@ -1,2 +1,2 @@
@import url("/css/base/gitea/gitea-base.css?sha=e1e99310d71503572cff0ad7a33b4701");
@import url("/css/base/gitea/gitea-base.css?sha=427d22b023a3ba8c5b3a9ff7a2c5e605");
@import url("/css/community-theme-options/soul.css?sha=1b36e7232a886dc953c85652881b8a00");

View File

@ -1,2 +1,2 @@
@import url("/css/base/gitea/gitea-base.css?sha=e1e99310d71503572cff0ad7a33b4701");
@import url("/css/base/gitea/gitea-base.css?sha=427d22b023a3ba8c5b3a9ff7a2c5e605");
@import url("/css/theme-options/space-gray.css?sha=90a7104be7219a1a90f4ba0464774472");

View File

@ -1,2 +1,2 @@
@import url("/css/base/gitea/gitea-base.css?sha=e1e99310d71503572cff0ad7a33b4701");
@import url("/css/base/gitea/gitea-base.css?sha=427d22b023a3ba8c5b3a9ff7a2c5e605");
@import url("/css/community-theme-options/space.css?sha=805cb02ce365df0e26965c25e4a105ca");

View File

@ -1,2 +1,2 @@
@import url("/css/base/gitea/gitea-base.css?sha=e1e99310d71503572cff0ad7a33b4701");
@import url("/css/base/gitea/gitea-base.css?sha=427d22b023a3ba8c5b3a9ff7a2c5e605");
@import url("/css/community-theme-options/time.css?sha=2ef20efc1ed3edbad12b085582ce88e6");

View File

@ -1,2 +1,2 @@
@import url("/css/base/gitea/gitea-base.css?sha=e1e99310d71503572cff0ad7a33b4701");
@import url("/css/base/gitea/gitea-base.css?sha=427d22b023a3ba8c5b3a9ff7a2c5e605");
@import url("/css/community-theme-options/trueblack.css?sha=541f73821cfe0a75a26106011079b244");

View File

@ -1,2 +1,2 @@
@import url("/css/base/transmission/transmission-base.css?sha=63dd7677e406901d67610b51848959a3");
@import url("/css/base/transmission/transmission-base.css?sha=1222c07aa2b4993a9e5bb83246adab90");
@import url("/css/theme-options/aquamarine.css?sha=d756574a59cc3bfa2433998efaf57bf3");

View File

@ -1,2 +1,2 @@
@import url("/css/base/transmission/transmission-base.css?sha=63dd7677e406901d67610b51848959a3");
@import url("/css/base/transmission/transmission-base.css?sha=1222c07aa2b4993a9e5bb83246adab90");
@import url("/css/community-theme-options/blackberry-abyss.css?sha=e8399c6f8a2e9f3ec99f9aad936db7a9");

View File

@ -1,2 +1,2 @@
@import url("/css/base/transmission/transmission-base.css?sha=63dd7677e406901d67610b51848959a3");
@import url("/css/base/transmission/transmission-base.css?sha=1222c07aa2b4993a9e5bb83246adab90");
@import url("/css/community-theme-options/blackberry-amethyst.css?sha=87786d9451286f37b81293bbf51a8205");

View File

@ -1,2 +1,2 @@
@import url("/css/base/transmission/transmission-base.css?sha=63dd7677e406901d67610b51848959a3");
@import url("/css/base/transmission/transmission-base.css?sha=1222c07aa2b4993a9e5bb83246adab90");
@import url("/css/community-theme-options/blackberry-carol.css?sha=dd744035926663fc42242daedc9f1794");

View File

@ -1,2 +1,2 @@
@import url("/css/base/transmission/transmission-base.css?sha=63dd7677e406901d67610b51848959a3");
@import url("/css/base/transmission/transmission-base.css?sha=1222c07aa2b4993a9e5bb83246adab90");
@import url("/css/community-theme-options/blackberry-dreamscape.css?sha=81a988c1ccc397ca303b898a69b8933f");

View File

@ -1,2 +1,2 @@
@import url("/css/base/transmission/transmission-base.css?sha=63dd7677e406901d67610b51848959a3");
@import url("/css/base/transmission/transmission-base.css?sha=1222c07aa2b4993a9e5bb83246adab90");
@import url("/css/community-theme-options/blackberry-flamingo.css?sha=1f73a7b422a1ad484a33b95e71e542d7");

View File

@ -1,2 +1,2 @@
@import url("/css/base/transmission/transmission-base.css?sha=63dd7677e406901d67610b51848959a3");
@import url("/css/base/transmission/transmission-base.css?sha=1222c07aa2b4993a9e5bb83246adab90");
@import url("/css/community-theme-options/blackberry-hearth.css?sha=63eff67e0507c9f40b3a6d721fd2e00b");

View File

@ -1,2 +1,2 @@
@import url("/css/base/transmission/transmission-base.css?sha=63dd7677e406901d67610b51848959a3");
@import url("/css/base/transmission/transmission-base.css?sha=1222c07aa2b4993a9e5bb83246adab90");
@import url("/css/community-theme-options/blackberry-martian.css?sha=b147b481a6e52a58dccff4ff3e2b83a0");

View File

@ -1,2 +1,2 @@
@import url("/css/base/transmission/transmission-base.css?sha=63dd7677e406901d67610b51848959a3");
@import url("/css/base/transmission/transmission-base.css?sha=1222c07aa2b4993a9e5bb83246adab90");
@import url("/css/community-theme-options/blackberry-pumpkin.css?sha=ded53ed23d3bb1b293c2b444f9c6b520");

View File

@ -1,2 +1,2 @@
@import url("/css/base/transmission/transmission-base.css?sha=63dd7677e406901d67610b51848959a3");
@import url("/css/base/transmission/transmission-base.css?sha=1222c07aa2b4993a9e5bb83246adab90");
@import url("/css/community-theme-options/blackberry-royal.css?sha=5656c5c4f467941883374376d45a8758");

View File

@ -1,2 +1,2 @@
@import url("/css/base/transmission/transmission-base.css?sha=63dd7677e406901d67610b51848959a3");
@import url("/css/base/transmission/transmission-base.css?sha=1222c07aa2b4993a9e5bb83246adab90");
@import url("/css/community-theme-options/blackberry-shadow.css?sha=b8941bbed98a08998a2fbe28319112c0");

View File

@ -1,2 +1,2 @@
@import url("/css/base/transmission/transmission-base.css?sha=63dd7677e406901d67610b51848959a3");
@import url("/css/base/transmission/transmission-base.css?sha=1222c07aa2b4993a9e5bb83246adab90");
@import url("/css/community-theme-options/blackberry-solar.css?sha=b993845b73c14914d185a76b44750c64");

View File

@ -1,2 +1,2 @@
@import url("/css/base/transmission/transmission-base.css?sha=63dd7677e406901d67610b51848959a3");
@import url("/css/base/transmission/transmission-base.css?sha=1222c07aa2b4993a9e5bb83246adab90");
@import url("/css/community-theme-options/blackberry-vanta.css?sha=66ca6a0d6a5055bc0a2a0460c945fa7a");

View File

@ -1,2 +1,2 @@
@import url("/css/base/transmission/transmission-base.css?sha=63dd7677e406901d67610b51848959a3");
@import url("/css/base/transmission/transmission-base.css?sha=1222c07aa2b4993a9e5bb83246adab90");
@import url("/css/theme-options/dark.css?sha=1bbea8b71216f2c2b7eff31ee72c389f");

View File

@ -1,2 +1,2 @@
@import url("/css/base/transmission/transmission-base.css?sha=63dd7677e406901d67610b51848959a3");
@import url("/css/base/transmission/transmission-base.css?sha=1222c07aa2b4993a9e5bb83246adab90");
@import url("/css/theme-options/dracula.css?sha=6366d3845240fb8943c2b54d56335a19");

View File

@ -1,2 +1,2 @@
@import url("/css/base/transmission/transmission-base.css?sha=63dd7677e406901d67610b51848959a3");
@import url("/css/base/transmission/transmission-base.css?sha=1222c07aa2b4993a9e5bb83246adab90");
@import url("/css/community-theme-options/hotline-old.css?sha=1996bf028fd671f9a43dc15035e65c33");

View File

@ -1,2 +1,2 @@
@import url("/css/base/transmission/transmission-base.css?sha=63dd7677e406901d67610b51848959a3");
@import url("/css/base/transmission/transmission-base.css?sha=1222c07aa2b4993a9e5bb83246adab90");
@import url("/css/theme-options/hotline.css?sha=b104dcbd717283d00fe6de4219744ecc");

View File

@ -1,2 +1,2 @@
@import url("/css/base/transmission/transmission-base.css?sha=63dd7677e406901d67610b51848959a3");
@import url("/css/base/transmission/transmission-base.css?sha=1222c07aa2b4993a9e5bb83246adab90");
@import url("/css/theme-options/hotpink.css?sha=152a8bd511ff5cfe5df90e00688ba1fc");

View File

@ -1,2 +1,2 @@
@import url("/css/base/transmission/transmission-base.css?sha=63dd7677e406901d67610b51848959a3");
@import url("/css/base/transmission/transmission-base.css?sha=1222c07aa2b4993a9e5bb83246adab90");
@import url("/css/community-theme-options/ibracorp.css?sha=c614a1a123a048850289e718fd113c8f");

View File

@ -1,2 +1,2 @@
@import url("/css/base/transmission/transmission-base.css?sha=63dd7677e406901d67610b51848959a3");
@import url("/css/base/transmission/transmission-base.css?sha=1222c07aa2b4993a9e5bb83246adab90");
@import url("/css/theme-options/maroon.css?sha=aba3461aac201e257cf5cea12d9f6c5c");

View File

@ -1,2 +1,2 @@
@import url("/css/base/transmission/transmission-base.css?sha=63dd7677e406901d67610b51848959a3");
@import url("/css/base/transmission/transmission-base.css?sha=1222c07aa2b4993a9e5bb83246adab90");
@import url("/css/community-theme-options/mind.css?sha=9f02ff1636bb19fbbc1c883f0a69814d");

View File

@ -1,2 +1,2 @@
@import url("/css/base/transmission/transmission-base.css?sha=63dd7677e406901d67610b51848959a3");
@import url("/css/base/transmission/transmission-base.css?sha=1222c07aa2b4993a9e5bb83246adab90");
@import url("/css/theme-options/nord.css?sha=1b026fc9951acb87776302d71db5705e");

View File

@ -1,2 +1,2 @@
@import url("/css/base/transmission/transmission-base.css?sha=63dd7677e406901d67610b51848959a3");
@import url("/css/base/transmission/transmission-base.css?sha=1222c07aa2b4993a9e5bb83246adab90");
@import url("/css/community-theme-options/onedark.css?sha=35d1229e080c54d138ea4c9512c0f0db");

View File

@ -1,2 +1,2 @@
@import url("/css/base/transmission/transmission-base.css?sha=63dd7677e406901d67610b51848959a3");
@import url("/css/base/transmission/transmission-base.css?sha=1222c07aa2b4993a9e5bb83246adab90");
@import url("/css/theme-options/organizr.css?sha=fceff07a68bad62cd3848afce664a97f");

View File

@ -1,2 +1,2 @@
@import url("/css/base/transmission/transmission-base.css?sha=63dd7677e406901d67610b51848959a3");
@import url("/css/base/transmission/transmission-base.css?sha=1222c07aa2b4993a9e5bb83246adab90");
@import url("/css/theme-options/overseerr.css?sha=e144b7051d5a835c99e85a5a6b616e5e");

View File

@ -1,2 +1,2 @@
@import url("/css/base/transmission/transmission-base.css?sha=63dd7677e406901d67610b51848959a3");
@import url("/css/base/transmission/transmission-base.css?sha=1222c07aa2b4993a9e5bb83246adab90");
@import url("/css/community-theme-options/pine-shadow.css?sha=953a1c8800f65def81edfbf1097de444");

View File

@ -1,2 +1,2 @@
@import url("/css/base/transmission/transmission-base.css?sha=63dd7677e406901d67610b51848959a3");
@import url("/css/base/transmission/transmission-base.css?sha=1222c07aa2b4993a9e5bb83246adab90");
@import url("/css/theme-options/plex.css?sha=a4c4891e132b89426160a1fe32205f4f");

View File

@ -1,2 +1,2 @@
@import url("/css/base/transmission/transmission-base.css?sha=63dd7677e406901d67610b51848959a3");
@import url("/css/base/transmission/transmission-base.css?sha=1222c07aa2b4993a9e5bb83246adab90");
@import url("/css/community-theme-options/power.css?sha=4bfda3cbb74c41f827e46f8b8e14dbdf");

View File

@ -1,2 +1,2 @@
@import url("/css/base/transmission/transmission-base.css?sha=63dd7677e406901d67610b51848959a3");
@import url("/css/base/transmission/transmission-base.css?sha=1222c07aa2b4993a9e5bb83246adab90");
@import url("/css/community-theme-options/reality.css?sha=fab9956884e76c612c6de71dafb0b746");

View File

@ -1,2 +1,2 @@
@import url("/css/base/transmission/transmission-base.css?sha=63dd7677e406901d67610b51848959a3");
@import url("/css/base/transmission/transmission-base.css?sha=1222c07aa2b4993a9e5bb83246adab90");
@import url("/css/community-theme-options/soul.css?sha=1b36e7232a886dc953c85652881b8a00");

View File

@ -1,2 +1,2 @@
@import url("/css/base/transmission/transmission-base.css?sha=63dd7677e406901d67610b51848959a3");
@import url("/css/base/transmission/transmission-base.css?sha=1222c07aa2b4993a9e5bb83246adab90");
@import url("/css/theme-options/space-gray.css?sha=90a7104be7219a1a90f4ba0464774472");

View File

@ -1,2 +1,2 @@
@import url("/css/base/transmission/transmission-base.css?sha=63dd7677e406901d67610b51848959a3");
@import url("/css/base/transmission/transmission-base.css?sha=1222c07aa2b4993a9e5bb83246adab90");
@import url("/css/community-theme-options/space.css?sha=805cb02ce365df0e26965c25e4a105ca");

View File

@ -1,2 +1,2 @@
@import url("/css/base/transmission/transmission-base.css?sha=63dd7677e406901d67610b51848959a3");
@import url("/css/base/transmission/transmission-base.css?sha=1222c07aa2b4993a9e5bb83246adab90");
@import url("/css/community-theme-options/time.css?sha=2ef20efc1ed3edbad12b085582ce88e6");

File diff suppressed because one or more lines are too long

View File

@ -1,2 +1,2 @@
@import url("/css/base/transmission/transmission-base.css?sha=63dd7677e406901d67610b51848959a3");
@import url("/css/base/transmission/transmission-base.css?sha=1222c07aa2b4993a9e5bb83246adab90");
@import url("/css/community-theme-options/trueblack.css?sha=541f73821cfe0a75a26106011079b244");

File diff suppressed because one or more lines are too long

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -43,8 +43,13 @@ if ! grep -q "${TP_DOMAIN}/css/base" /usr/share/transmission/web/index.html; the
echo '---------------------------'
echo '| Adding the stylesheet |'
echo '---------------------------'
echo 'There may be 2 missing file errors right now. If there''s only 2 you may safely'
echo 'ignore them as they''re there for backwards compatability. If there are more'
echo 'errors than that, something went wrong.'
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/transmission\/transmission-base.css'><\/head> /g" /usr/share/transmission/web/index.html
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'><\/head> /g" /usr/share/transmission/web/index.html
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/transmission\/transmission-base.css'><\/head> /g" /usr/share/transmission/public_html/index.html
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'><\/head> /g" /usr/share/transmission/public_html/index.html
printf 'Stylesheet set to %s\n' "${TP_THEME}
"
fi
fi

View File

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

View File

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

View File

@ -11,9 +11,9 @@
"organizr": {
"glass": {
"css": [
"https://theme-park.dev/css/addons/organizr/glass/glass-base.css?sha=914bc5aa30992f0ba74793e35b643dc1",
"https://theme-park.dev/css/addons/organizr/glass/organizr-base-old.css?sha=7ca2b0e71ab22a2e00ed59acb3415c4e",
"https://theme-park.dev/css/addons/organizr/glass/glass-login.css?sha=b7cce58f74f91aaf452f3e2a2fd46e2e",
"https://theme-park.dev/css/addons/organizr/glass/glass-base.css?sha=914bc5aa30992f0ba74793e35b643dc1"
"https://theme-park.dev/css/addons/organizr/glass/glass-login.css?sha=b7cce58f74f91aaf452f3e2a2fd46e2e"
]
}
},
@ -44,38 +44,38 @@
"login-page": {
"alien": {
"css": [
"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/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/scanner.css?sha=9c97f33f026050abca26282258e9f35d",
"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/isolation_video.css?sha=41157d0ffbb87985a3d35048fb1ebe30",
"https://theme-park.dev/css/addons/unraid/login-page/alien/hallway4.css?sha=4c9c5c40e696e9258c963981705a9eb2",
"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/nightmare.css?sha=1da7c77a6d81a9ccf14e8b802ab0fd46",
"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"
"https://theme-park.dev/css/addons/unraid/login-page/alien/hallway3.css?sha=dd01b13d8039ae268e41f876e8588f79",
"https://theme-park.dev/css/addons/unraid/login-page/alien/hallway2.css?sha=b384251e3a5baf8f43d699dd99c32ca3"
]
},
"fallout": {
"css": [
"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/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/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/custom.css?sha=ec87723e62568661bbb9313c129da613"
"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/custom.css?sha=ec87723e62568661bbb9313c129da613",
"https://theme-park.dev/css/addons/unraid/login-page/fallout/terminal2.css?sha=9e80f6fa107747f276298eb42eef781d"
]
},
"retro-terminal": {
"css": [
"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/green.css?sha=8bff192aff5e98d97e8d1980dd6fd664",
"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/red.css?sha=84917694a232621fe6ff57d15476506b",
"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/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"
"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/green.css?sha=8bff192aff5e98d97e8d1980dd6fd664"
]
}
}
@ -243,7 +243,7 @@
},
"gitea": {
"addons": {},
"base_css": "https://theme-park.dev/css/base/gitea/gitea-base.css?sha=e1e99310d71503572cff0ad7a33b4701"
"base_css": "https://theme-park.dev/css/base/gitea/gitea-base.css?sha=427d22b023a3ba8c5b3a9ff7a2c5e605"
},
"guacamole": {
"addons": {},
@ -308,9 +308,9 @@
"addons": {
"glass": {
"css": [
"https://theme-park.dev/css/addons/organizr/glass/glass-base.css?sha=914bc5aa30992f0ba74793e35b643dc1",
"https://theme-park.dev/css/addons/organizr/glass/organizr-base-old.css?sha=7ca2b0e71ab22a2e00ed59acb3415c4e",
"https://theme-park.dev/css/addons/organizr/glass/glass-login.css?sha=b7cce58f74f91aaf452f3e2a2fd46e2e",
"https://theme-park.dev/css/addons/organizr/glass/glass-base.css?sha=914bc5aa30992f0ba74793e35b643dc1"
"https://theme-park.dev/css/addons/organizr/glass/glass-login.css?sha=b7cce58f74f91aaf452f3e2a2fd46e2e"
]
}
},
@ -400,45 +400,45 @@
},
"transmission": {
"addons": {},
"base_css": "https://theme-park.dev/css/base/transmission/transmission-base.css?sha=63dd7677e406901d67610b51848959a3"
"base_css": "https://theme-park.dev/css/base/transmission/transmission-base.css?sha=1222c07aa2b4993a9e5bb83246adab90"
},
"unraid": {
"addons": {
"login-page": {
"alien": {
"css": [
"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/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/scanner.css?sha=9c97f33f026050abca26282258e9f35d",
"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/isolation_video.css?sha=41157d0ffbb87985a3d35048fb1ebe30",
"https://theme-park.dev/css/addons/unraid/login-page/alien/hallway4.css?sha=4c9c5c40e696e9258c963981705a9eb2",
"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/nightmare.css?sha=1da7c77a6d81a9ccf14e8b802ab0fd46",
"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"
"https://theme-park.dev/css/addons/unraid/login-page/alien/hallway3.css?sha=dd01b13d8039ae268e41f876e8588f79",
"https://theme-park.dev/css/addons/unraid/login-page/alien/hallway2.css?sha=b384251e3a5baf8f43d699dd99c32ca3"
]
},
"fallout": {
"css": [
"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/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/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/custom.css?sha=ec87723e62568661bbb9313c129da613"
"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/custom.css?sha=ec87723e62568661bbb9313c129da613",
"https://theme-park.dev/css/addons/unraid/login-page/fallout/terminal2.css?sha=9e80f6fa107747f276298eb42eef781d"
]
},
"retro-terminal": {
"css": [
"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/green.css?sha=8bff192aff5e98d97e8d1980dd6fd664",
"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/red.css?sha=84917694a232621fe6ff57d15476506b",
"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/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"
"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/green.css?sha=8bff192aff5e98d97e8d1980dd6fd664"
]
}
}

View File

@ -36,7 +36,7 @@ def create_addons_json() -> str:
addon_folders = [name for name in listdir(
addon_root) if isdir(join(addon_root, name))]
for app in addon_folders:
app_addons = [addon for addon in listdir(f"{addon_root}/{app}")]
app_addons = [addon for addon in listdir(f"{addon_root}/{app}") if isdir(f"{addon_root}/{app}/{addon}")]
ADDONS["addons"].update({
app: {
addon: {} for addon in app_addons