1
0
mirror of https://github.com/gilbN/theme.park.git synced 2024-10-02 13:37:21 +02:00
* qbittorrent: 💄Fixes for #526

* Unraid: Fix login script github.io URL
Unraid: Fix the navbar scroll overflow.

* Move from subversion to git for pulling the qbittorrent webui (#530)

* Move from subversion to git for pulling the qbittorrent webui

* slight verbage changes

---------

Co-authored-by: Blake <7227893+nintendo424@users.noreply.github.com>
This commit is contained in:
GilbN 2024-01-20 12:15:57 +01:00 committed by GitHub
parent 6720374b03
commit 89a556cd00
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 29 additions and 22 deletions

View File

@ -55,7 +55,7 @@ fi
case ${DOMAIN} in case ${DOMAIN} in
*"github.io"*) *"github.io"*)
echo "Switching to github.io URL style" echo "Switching to github.io URL style"
DOMAIN="${DOMAIN}\/theme.park" DOMAIN="${DOMAIN}/theme.park"
;; ;;
esac esac

View File

@ -489,6 +489,7 @@ hr {
.toolbarTabs { .toolbarTabs {
background: var(--transparency-dark-25) !important; background: var(--transparency-dark-25) !important;
margin: 0px 5px 0 0 !important;
} }
.progressbar_dark { .progressbar_dark {
@ -662,4 +663,9 @@ select:focus {
.select-watched-folder-editable { .select-watched-folder-editable {
background-color: var(--transparency-dark-05); background-color: var(--transparency-dark-05);
border: solid var(--transparency-light-10) 1px; border: solid var(--transparency-light-10) 1px;
}
#torrentsFilterToolbar {
float: right;
margin-right: .5rem;
} }

View File

@ -102,6 +102,7 @@ pre {
.nav-tile { .nav-tile {
background-color: var(--transparency-dark-50); background-color: var(--transparency-dark-50);
overflow-x: auto;
} }
div.title { div.title {

View File

@ -1,7 +1,7 @@
FROM scratch FROM scratch
LABEL maintainer="GilbN" LABEL maintainer="GilbN"
LABEL app="Qbittorrent" LABEL app="Qbittorrent"
#copy local files. #copy local files.
COPY root/ / COPY root/ /

View File

@ -23,17 +23,17 @@ if [ "${TP_DISABLE_THEME}" = true ]; then
exit 0 exit 0
fi fi
if ! [[ -x "$(command -v svn)" ]]; then if ! [[ -x "$(command -v git)" ]]; then
echo '--------------------------' echo '--------------------------'
echo '| Installing svn package |' echo '| Installing git package |'
echo '--------------------------' echo '--------------------------'
if [ -x "$(command -v apk)" ]; then if [ -x "$(command -v apk)" ]; then
apk update && \ apk update && \
apk add --no-cache subversion apk add --no-cache git
apk add --no-cache perl apk add --no-cache perl
elif [ -x "$(command -v apt-get)" ]; then elif [ -x "$(command -v apt-get)" ]; then
apt-get update && \ apt-get update && \
apt-get install -y subversion apt-get install -y git
apt-get install -y perl apt-get install -y perl
fi fi
fi fi
@ -80,15 +80,15 @@ if [[ ! -d /themepark ]]; then
echo '---------------------------------------' echo '---------------------------------------'
echo '| Downloading WebUI files from github |' echo '| Downloading WebUI files from github |'
echo '---------------------------------------' echo '---------------------------------------'
printf '\nDownloading qBittorrent webui to "/themepark"..please wait\n' printf '\nDownloading qBittorrent to /temp\n'
svn export --quiet https://github.com/qbittorrent/qBittorrent/trunk/src/webui/www /themepark git clone --depth 1 https://github.com/qbittorrent/qBittorrent /temp
printf '\nDownload finished\n\n' printf '\nDownload finished\n\n'
printf '\nDownloading qBittorrent webui icons to "/themepark/xxx"..please wait\n' cp -a /temp/src/webui/www /themepark
svn export --force --quiet https://github.com/qbittorrent/qBittorrent/trunk/src/icons /temp cp -a /temp/src/icons/. /themepark/public/icons
cp -a /temp/. /themepark/public/icons cp -a /temp/src/icons/. /themepark/private/icons
cp -a /temp/. /themepark/private/icons printf '\nCopy finished\n\n'
rm -rf /temp rm -rf /temp
printf '\nDownload finished\n\n' printf '\nCleanup finished\n\n'
fi fi
sed_file(){ sed_file(){

View File

@ -1,6 +1,6 @@
#!/usr/bin/with-contenv bash #!/usr/bin/with-contenv bash
if ! [[ -x "$(command -v svn)" ]]; then if ! [[ -x "$(command -v git)" ]]; then
echo "subversion" >> /mod-repo-packages-to-install.list echo "git" >> /mod-repo-packages-to-install.list
echo "perl" >> /mod-repo-packages-to-install.list echo "perl" >> /mod-repo-packages-to-install.list
fi fi

View File

@ -65,15 +65,15 @@ if [[ ! -d /themepark ]]; then
echo '---------------------------------------' echo '---------------------------------------'
echo '| Downloading WebUI files from github |' echo '| Downloading WebUI files from github |'
echo '---------------------------------------' echo '---------------------------------------'
printf '\nDownloading qBittorrent webui to "/themepark"..please wait\n' printf '\nDownloading qBittorrent to /temp\n'
svn export --quiet https://github.com/qbittorrent/qBittorrent/trunk/src/webui/www /themepark git clone --depth 1 https://github.com/qbittorrent/qBittorrent /temp
printf '\nDownload finished\n\n' printf '\nDownload finished\n\n'
printf '\nDownloading qBittorrent webui icons to "/themepark/xxx"..please wait\n' cp -a /temp/src/webui/www /themepark
svn export --force --quiet https://github.com/qbittorrent/qBittorrent/trunk/src/icons /temp cp -a /temp/src/icons/. /themepark/public/icons
cp -a /temp/. /themepark/public/icons cp -a /temp/src/icons/. /themepark/private/icons
cp -a /temp/. /themepark/private/icons printf '\nCopy finished\n\n'
rm -rf /temp rm -rf /temp
printf '\nDownload finished\n\n' printf '\nCleanup finished\n\n'
fi fi
sed_file(){ sed_file(){