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
*"github.io"*)
echo "Switching to github.io URL style"
DOMAIN="${DOMAIN}\/theme.park"
DOMAIN="${DOMAIN}/theme.park"
;;
esac

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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