2024-03-29

This commit is contained in:
deathbybandaid 2024-03-29 08:53:33 -04:00
parent 48562748c4
commit 61fe99f629
85 changed files with 624 additions and 184 deletions

View File

@ -1,4 +1,4 @@
[class*="NavBar-plexLogo-"] { [class*="NavBar-logoContainer-"] {
background-image: url("/theme.park/css/addons/plex/plex-alt-logo/SeekPng.com_your-logo-here-png_2467553.png"); background-image: url("/theme.park/css/addons/plex/plex-alt-logo/SeekPng.com_your-logo-here-png_2467553.png");
background-position: 50%; background-position: 50%;
background-repeat: no-repeat; background-repeat: no-repeat;
@ -7,6 +7,6 @@
width: 40px; width: 40px;
} }
[class*="NavBar-plexLogo-"] svg { [class*="NavBar-logoContainer-"] svg {
display: none; display: none;
} }

View File

@ -24,4 +24,9 @@
width: 120px; width: 120px;
height: 40px; height: 40px;
opacity: 1; opacity: 1;
}
.panel-header > img.logo {
content: url("/theme.park/css/addons/radarr/radarr-4k-logo/radarr4k-v3.png");
width: auto;
} }

View File

@ -13,4 +13,8 @@
[class*="LoadingPage-logoFull-"] { [class*="LoadingPage-logoFull-"] {
content: url("/theme.park/css/addons/sonarr/sonarr-4k-logo/sonarr-4k.png"); content: url("/theme.park/css/addons/sonarr/sonarr-4k-logo/sonarr-4k.png");
opacity: 1; opacity: 1;
}
.panel-header > img.logo {
content: url("/theme.park/css/addons/sonarr/sonarr-4k-logo/sonarr-4k.png");
} }

View File

@ -11,7 +11,7 @@
[class*="PageHeader-logo-"] { [class*="PageHeader-logo-"] {
width: 32px; width: 32px;
height: 32px; height: 32px;
margin-left: 0px; margin-left: 0;
content: url("/theme.park/css/addons/sonarr/sonarr-4k-logo/sonarr-4k.png"); content: url("/theme.park/css/addons/sonarr/sonarr-4k-logo/sonarr-4k.png");
} }
} }
@ -24,4 +24,9 @@
width: 120px; width: 120px;
height: 40px; height: 40px;
opacity: 1; opacity: 1;
}
.panel-header > img.logo {
content: url("/theme.park/css/addons/sonarr/sonarr-4k-text-logo/sonarr-4k-text.png");
width: auto;
} }

View File

@ -0,0 +1,20 @@
@media (min-width: 752px) {
[class*="PageHeader-logo-"] {
content: url("/theme.park/css/addons/sonarr/sonarr-anime-blue-logo/sonarr-anime-blue.png");
}
}
@media only screen and (max-width: 768px) {
[class*="PageHeader-logo-"] {
content: url("/theme.park/css/addons/sonarr/sonarr-anime-blue-logo/sonarr-anime-blue.png");
}
}
[class*="LoadingPage-logoFull-"] {
content: url("/theme.park/css/addons/sonarr/sonarr-anime-blue-logo/sonarr-anime-blue.png");
opacity: 1;
}
.panel-header > img.logo {
content: url("/theme.park/css/addons/sonarr/sonarr-anime-blue-logo/sonarr-anime-blue.png");
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

View File

@ -0,0 +1,32 @@
@media (min-width: 752px) {
[class*="PageHeader-logo-"] {
content: url("/theme.park/css/addons/sonarr/sonarr-anime-blue-text-logo/sonarr-anime-blue-text.png");
margin-left: 15px;
width: 120px;
height: 40px;
}
}
@media only screen and (max-width: 768px) {
[class*="PageHeader-logo-"] {
width: 32px;
height: 32px;
margin-left: 0;
content: url("/theme.park/css/addons/sonarr/sonarr-anime-blue-logo/sonarr-anime-blue.png");
}
}
[class*="LoadingPage-logoFull-"] {
content: url("/theme.park/css/addons/sonarr/sonarr-anime-blue-text-logo/sonarr-anime-blue-text.png");
margin-top: 50px;
margin-right: auto;
margin-left: auto;
width: 120px;
height: 40px;
opacity: 1;
}
.panel-header > img.logo {
content: url("/theme.park/css/addons/sonarr/sonarr-anime-blue-text-logo/sonarr-anime-blue-text.png");
width: auto;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

View File

@ -0,0 +1,20 @@
@media (min-width: 752px) {
[class*="PageHeader-logo-"] {
content: url("/theme.park/css/addons/sonarr/sonarr-anime-logo/sonarr-anime.png");
}
}
@media only screen and (max-width: 768px) {
[class*="PageHeader-logo-"] {
content: url("/theme.park/css/addons/sonarr/sonarr-anime-logo/sonarr-anime.png");
}
}
[class*="LoadingPage-logoFull-"] {
content: url("/theme.park/css/addons/sonarr/sonarr-anime-logo/sonarr-anime.png");
opacity: 1;
}
.panel-header > img.logo {
content: url("/theme.park/css/addons/sonarr/sonarr-anime-logo/sonarr-anime.png");
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

View File

@ -0,0 +1,32 @@
@media (min-width: 752px) {
[class*="PageHeader-logo-"] {
content: url("/theme.park/css/addons/sonarr/sonarr-anime-text-logo/sonarr-anime-text.png");
margin-left: 15px;
width: 120px;
height: 40px;
}
}
@media only screen and (max-width: 768px) {
[class*="PageHeader-logo-"] {
width: 32px;
height: 32px;
margin-left: 0;
content: url("/theme.park/css/addons/sonarr/sonarr-anime-logo/sonarr-anime.png");
}
}
[class*="LoadingPage-logoFull-"] {
content: url("/theme.park/css/addons/sonarr/sonarr-anime-text-logo/sonarr-anime-text.png");
margin-top: 50px;
margin-right: auto;
margin-left: auto;
width: 120px;
height: 40px;
opacity: 1;
}
.panel-header > img.logo {
content: url("/theme.park/css/addons/sonarr/sonarr-anime-text-logo/sonarr-anime-text.png");
width: auto;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

View File

@ -0,0 +1,74 @@
# sonarr-*-logo
Source files:
1. [sonarr-logo.psd](sonarr-logo.psd) contains 256x256 sonarr logo and 3 more layers:
- sonarr-4k-logo
- sonarr-anime-logo
- sonarr-anime-blue-logo
1. [sonarr-text.psd](sonarr-text.psd) contains 900x29 sonarr with text logo and 2 more layers:
- sonarr-anime-text-logo
- sonarr-anime-blue-text-logo
Preview:
<table>
<tr>
<td>sonarr-4k-logo</td>
<td> <img src="sonarr-4k-logo/sonarr-4k.png" width="100" height="100" alt="sonarr-4k-logo"/></td>
<td style="background-color: white"> <img src="sonarr-4k-logo/sonarr-4k.png" width="100" height="100" alt="sonarr-4k-logo"/></td>
<td style="background-color: #00ccff"><img src="sonarr-4k-logo/sonarr-4k.png" width="100" height="100" alt="sonarr-4k-logo"/></td>
<td style="background-color: #2a2a2a"><img src="sonarr-4k-logo/sonarr-4k.png" width="100" height="100" alt="sonarr-4k-logo"/></td>
<td style="background-color: #606060"><img src="sonarr-4k-logo/sonarr-4k.png" width="100" height="100" alt="sonarr-4k-logo"/></td>
</tr>
<tr>
<td>sonarr-anime-logo</td>
<td> <img src="sonarr-anime-logo/sonarr-anime.png" width="100" height="100" alt="sonarr-anime-logo"/></td>
<td style="background-color: white"> <img src="sonarr-anime-logo/sonarr-anime.png" width="100" height="100" alt="sonarr-anime-logo"/></td>
<td style="background-color: #00ccff"><img src="sonarr-anime-logo/sonarr-anime.png" width="100" height="100" alt="sonarr-anime-logo"/></td>
<td style="background-color: #2a2a2a"><img src="sonarr-anime-logo/sonarr-anime.png" width="100" height="100" alt="sonarr-anime-logo"/></td>
<td style="background-color: #606060"><img src="sonarr-anime-logo/sonarr-anime.png" width="100" height="100" alt="sonarr-anime-logo"/></td>
</tr>
<tr>
<td>sonarr-anime-blue-logo</td>
<td> <img src="sonarr-anime-blue-logo/sonarr-anime-blue.png" width="100" height="100" alt="sonarr-anime-blue-logo"/></td>
<td style="background-color: white"> <img src="sonarr-anime-blue-logo/sonarr-anime-blue.png" width="100" height="100" alt="sonarr-anime-blue-logo"/></td>
<td style="background-color: #00ccff"><img src="sonarr-anime-blue-logo/sonarr-anime-blue.png" width="100" height="100" alt="sonarr-anime-blue-logo"/></td>
<td style="background-color: #2a2a2a"><img src="sonarr-anime-blue-logo/sonarr-anime-blue.png" width="100" height="100" alt="sonarr-anime-blue-logo"/></td>
<td style="background-color: #606060"><img src="sonarr-anime-blue-logo/sonarr-anime-blue.png" width="100" height="100" alt="sonarr-anime-blue-logo"/></td>
</tr>
</table>
<table>
<tr>
<td>sonarr-text-logo</td>
<td> <img src="sonarr-text-logo/sonarr-text.png" width="200" height=auto alt="sonarr-4k-logo"/></td>
<td style="background-color: white"> <img src="sonarr-text-logo/sonarr-text.png" width="200" height=auto alt="sonarr-4k-logo"/></td>
<td style="background-color: #2a2a2a"><img src="sonarr-text-logo/sonarr-text.png" width="200" height=auto alt="sonarr-4k-logo"/></td>
<td style="background-color: #606060"><img src="sonarr-text-logo/sonarr-text.png" width="200" height=auto alt="sonarr-4k-logo"/></td>
</tr>
<tr>
<td>sonarr-4k-text-logo</td>
<td> <img src="sonarr-4k-text-logo/sonarr-4k-text.png" width="200" height=auto alt="sonarr-anime-logo"/></td>
<td style="background-color: white"> <img src="sonarr-4k-text-logo/sonarr-4k-text.png" width="200" height=auto alt="sonarr-anime-logo"/></td>
<td style="background-color: #2a2a2a"><img src="sonarr-4k-text-logo/sonarr-4k-text.png" width="200" height=auto alt="sonarr-anime-logo"/></td>
<td style="background-color: #606060"><img src="sonarr-4k-text-logo/sonarr-4k-text.png" width="200" height=auto alt="sonarr-anime-logo"/></td>
</tr>
<tr>
<td>sonarr-anime-text-logo</td>
<td> <img src="sonarr-anime-text-logo/sonarr-anime-text.png" width="200" height=auto alt="sonarr-anime-blue-logo"/></td>
<td style="background-color: white"> <img src="sonarr-anime-text-logo/sonarr-anime-text.png" width="200" height=auto alt="sonarr-anime-blue-logo"/></td>
<td style="background-color: #2a2a2a"><img src="sonarr-anime-text-logo/sonarr-anime-text.png" width="200" height=auto alt="sonarr-anime-blue-logo"/></td>
<td style="background-color: #606060"><img src="sonarr-anime-text-logo/sonarr-anime-text.png" width="200" height=auto alt="sonarr-anime-blue-logo"/></td>
</tr>
<tr>
<td>sonarr-anime-blue-text-logo</td>
<td> <img src="sonarr-anime-blue-text-logo/sonarr-anime-blue-text.png" width="200" height=auto alt="sonarr-anime-blue-logo"/></td>
<td style="background-color: white"> <img src="sonarr-anime-blue-text-logo/sonarr-anime-blue-text.png" width="200" height=auto alt="sonarr-anime-blue-logo"/></td>
<td style="background-color: #2a2a2a"><img src="sonarr-anime-blue-text-logo/sonarr-anime-blue-text.png" width="200" height=auto alt="sonarr-anime-blue-logo"/></td>
<td style="background-color: #606060"><img src="sonarr-anime-blue-text-logo/sonarr-anime-blue-text.png" width="200" height=auto alt="sonarr-anime-blue-logo"/></td>
</tr>
</table>

Binary file not shown.

View File

@ -16,4 +16,9 @@
width: 120px; width: 120px;
height: 40px; height: 40px;
opacity: 1; opacity: 1;
}
.panel-header > img.logo {
content: url("/theme.park/css/addons/sonarr/sonarr-text-logo/sonarr-text.png");
width: auto;
} }

Binary file not shown.

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

@ -208,6 +208,7 @@ label {
#desktopNavbar ul li a { #desktopNavbar ul li a {
color: var(--text); color: var(--text);
padding: 1px 10px;
} }
#desktopNavbar ul li a:hover { #desktopNavbar ul li a:hover {
@ -408,8 +409,8 @@ li.divider {
/* Sidemenu */ /* Sidemenu */
.selectedFilter { .selectedFilter {
background-color: var(--button-color); background-color: var(--button-color) !important;
color: var(--button-text); color: var(--button-text) !important;
} }
.selectedFilter:before { .selectedFilter:before {
@ -489,6 +490,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 +664,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

@ -100,9 +100,23 @@ pre {
border-radius: 0px 0px 0px 25px; border-radius: 0px 0px 0px 25px;
} }
.nav-tile {
background-color: var(--transparency-dark-50);
overflow-x: auto;
}
div.title {
border-bottom: 1px solid var(--transparency-light-15);
background-color: var(--transparency-dark-45);
}
#nav-block #nav-item:focus:after, #nav-block #nav-item:focus:after,
#nav-block #nav-item:hover:after, #nav-block #nav-item:hover:after,
#nav-block #nav-item.active:after { #nav-block #nav-item.active:after,
.nav-item:focus:after,
.nav-item:hover:after,
.nav-user.show:hover:after {
background-color: var(--accent-color-hover);
background: var(--accent-color-hover); background: var(--accent-color-hover);
} }
@ -129,14 +143,18 @@ textarea {
/*DASHBOARD*/ /*DASHBOARD*/
table.share_status.dashboard { table.share_status.dashboard {
background: var(--transparency-dark-15); background: var(--transparency-dark-15);
border: 1px solid rgba(255, 255, 255, .25); border: 1px solid var(--transparency-light-25);
} }
table.share_status.dashboard tr>td.next { table.share_status.dashboard tr>td.next {
border-top: 1px solid rgba(255, 255, 255, .25); border-top: 1px solid var(--transparency-light-25);
color: var(--text-hover); color: var(--text-hover);
} }
table.share_status.dashboard tbody {
border: 1px solid var(--transparency-light-15);
}
span.outer.solid { span.outer.solid {
background-color: transparent; background-color: transparent;
} }
@ -177,7 +195,7 @@ table.tablesorter thead tr th {
/*MAIN*/ /*MAIN*/
#title { #title {
border-bottom: 1px solid rgba(255, 255, 255, .25); border-bottom: 1px solid var(--transparency-light-25);
background: var(--transparency-dark-50); background: var(--transparency-dark-50);
color: var(--text-hover); color: var(--text-hover);
} }
@ -202,15 +220,15 @@ table.disk_status tbody tr:nth-child(even) {
} }
table.disk_status thead tr:last-child { table.disk_status thead tr:last-child {
border-bottom: 1px solid rgb(160, 160, 160); border-bottom: 1px solid var(--transparency-light-25);
} }
table.tablesorter thead tr { table.tablesorter thead tr {
border-bottom: rgba(255, 255, 255, .25) 1px solid; border-bottom: var(--transparency-light-25) 1px solid;
} }
table tbody tr.tr_last { table tbody tr.tr_last {
border-top: 1px solid rgba(255, 255, 255, .25); border-top: 1px solid var(--transparency-light-25);
} }
table.share_status tbody tr.warn { table.share_status tbody tr.warn {
@ -286,7 +304,7 @@ a.button:hover,
/* USERS */ /* USERS */
div.user-list { div.user-list {
border: 1px solid rgba(255, 255, 255, .15); border: 1px solid var(--transparency-light-15);
background: var(--transparency-light-05); background: var(--transparency-light-05);
} }
@ -458,7 +476,7 @@ li.caMenuItem:hover {
.ca_holder { .ca_holder {
background: var(--transparency-dark-25) !important; background: var(--transparency-dark-25) !important;
border-color: rgba(255, 255, 255, 0.1) !important; border-color: var(--transparency-light-10) !important;
} }
.ca_holder:hover { .ca_holder:hover {
@ -656,9 +674,13 @@ div.shade-black {
/* MODAL */ /* MODAL */
/* .sweet-alert { .sweet-alert, .sweet-alert .sa-icon.sa-success .sa-fix {
background: var(--modal-bg-color) !important; background-color: var(--modal-bg-color);
} */ }
.sweet-alert.nchan h2 {
background-color: var(--transparency-light-15);
}
.showSweetAlert:not([data-has-cancel-button="false"]), .showSweetAlert:not([data-has-cancel-button="false"]),
.swal-overlay--show-modal .swal-modal { .swal-overlay--show-modal .swal-modal {

View File

@ -15,6 +15,10 @@
@import url("/theme.park/css/defaults/placeholders.css"); @import url("/theme.park/css/defaults/placeholders.css");
@import url("/theme.park/css/defaults/transparent.css"); @import url("/theme.park/css/defaults/transparent.css");
:root {
--v-theme-accent: var(--accent-color):
}
@media (max-width: 720px) { @media (max-width: 720px) {
.modal__body, .modal__body,
@ -59,6 +63,11 @@ html {
border-radius: 20px border-radius: 20px
} }
/* OVERLAY */
.v-overlay__scrim {
background: rgb(var(--accent-color));
}
/* TEXT */ /* TEXT */
.h1, .h1,
.h2, .h2,
@ -78,6 +87,10 @@ p,
color: var(--text-hover); color: var(--text-hover);
} }
.text-accent {
color: rgb(var(--accent-color)) !important;
}
.v-select__slot>label { .v-select__slot>label {
color: var(--text-hover) !important; color: var(--text-hover) !important;
} }
@ -113,11 +126,11 @@ p,
} }
/* TOP NAVBAR */ /* TOP NAVBAR */
[class*="theme--"].v-app-bar.v-toolbar.v-sheet { [class*="theme--"].v-app-bar.v-toolbar {
color: var(--text) !important; color: var(--text) !important;
} }
.v-app-bar.v-app-bar--hide-shadow { .v-toolbar[class*="theme--"] {
background: var(--transparency-dark-25) !important; background: var(--transparency-dark-25) !important;
} }
@ -137,7 +150,7 @@ p,
} }
/* SIDE MENU */ /* SIDE MENU */
.v-application .primary { .v-application .primary,.v-navigation-drawer {
background: var(--transparency-dark-25) !important; background: var(--transparency-dark-25) !important;
color: var(--text) !important; color: var(--text) !important;
} }
@ -157,12 +170,25 @@ p,
.v-navigation-drawer--is-mobile:not(.v-navigation-drawer--close), .v-navigation-drawer--is-mobile:not(.v-navigation-drawer--close),
.v-navigation-drawer--temporary:not(.v-navigation-drawer--close), .v-navigation-drawer--temporary:not(.v-navigation-drawer--close),
.v-navigation-drawer--is-mobile:not(.v-navigation-drawer--close), .v-navigation-drawer--is-mobile:not(.v-navigation-drawer--close),
.v-navigation-drawer--temporary:not(.v-navigation-drawer--close) { .v-navigation-drawer--temporary:not(.v-navigation-drawer--close),
[class*="theme--"].v-app-bar.v-toolbar {
-webkit-backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
backdrop-filter: blur(10px); backdrop-filter: blur(10px);
} }
} }
/* STATS */
[class*="v-theme--"] .bg-secondary {
background-color: var(--transparency-light-15) !important;
border-color: rgba(255, 255, 255, .15) !important;
}
/* CURRENT SPEED */
.v-navigation-drawer__content .v-sheet[class*="theme--"].bg-primary {
background-color: transparent !important;
border-color: rgba(255, 255, 255, .15) !important;
}
/* slightly transparent fallback for Firefox (not supporting backdrop-filter) */ /* slightly transparent fallback for Firefox (not supporting backdrop-filter) */
@supports not ((-webkit-backdrop-filter: none) or (backdrop-filter: none)) { @supports not ((-webkit-backdrop-filter: none) or (backdrop-filter: none)) {
@ -184,6 +210,31 @@ p,
caret-color: var(--v-download-base) !important; caret-color: var(--v-download-base) !important;
} }
/* TABS */
.v-slide-group.v-tabs.v-tabs--horizontal.bg-primary{
background: var(--transparency-dark-25) !important;
}
.v-btn.v-slide-group-item--active.v-tab--selected {
background: var(--transparency-dark-35) !important;
}
/* BUTTON */
.v-btn--variant-elevated, .v-btn--variant-flat {
background: var(--button-color) !important;
color: var(--button-text) !important;
}
.bg-red {
--v-theme-overlay-multiplier: var(--v-theme-red-overlay-multiplier);
background-color: rgb(var(--v-theme-red)) !important;
color: rgb(var(--v-theme-on-red)) !important;
}
.v-btn--icon.v-btn--density-compact {
background: transparent !important;
}
/* MODAL */ /* MODAL */
.v-dialog [class*="theme--"].v-card, .v-dialog [class*="theme--"].v-card,
.v-dialog [class*="theme--"].v-tabs-items, .v-dialog [class*="theme--"].v-tabs-items,
@ -295,6 +346,15 @@ button>.v-btn--is-elevated .v-btn--has-bg.v-icon__svg {
.v-text-field--outlined fieldset { .v-text-field--outlined fieldset {
border-color: rgba(255, 255, 255, .1) !important; border-color: rgba(255, 255, 255, .1) !important;
} }
.v-field.v-field--variant-solo.v-theme--darkTheme {
background: var(--transparency-dark-25) !important;
}
.v-field--variant-solo, .v-field--variant-solo-filled, .v-field--variant-solo-inverted {
background: var(--transparency-dark-25) !important;
border-color: transparent;
color: rgba(var(--v-theme-on-surface), var(--v-high-emphasis-opacity));
box-shadow: 0 3px 1px -2px var(--v-shadow-key-umbra-opacity, rgba(0, 0, 0, .2)), 0 2px 2px 0 var(--v-shadow-key-penumbra-opacity, rgba(0, 0, 0, .14)), 0 1px 5px 0 var(--v-shadow-key-ambient-opacity, rgba(0, 0, 0, .12));
}
/* DASHBOARD */ /* DASHBOARD */
@ -425,10 +485,23 @@ button>.v-btn--is-elevated .v-btn--has-bg.v-icon__svg {
color: var(--text) !important; color: var(--text) !important;
} }
.v-menu__content [class*="theme--"][class*="theme--"].v-list { .v-menu__content [class*="theme--"][class*="theme--"].v-list,.v-menu [class*="theme--"][class*="theme--"].v-list {
background: var(--drop-down-menu-bg) background: var(--drop-down-menu-bg)
} }
.v-expansion-panel {
background-color: var(--drop-down-menu-bg) !important;
color: var(--text);
}
.v-expansion-panel-title__overlay {
background-color: var(--drop-down-menu-bg) !important;
}
.v-bottom-navigation {
background: var(--drop-down-menu-bg);
color: var(--text);
}
[class*="theme--"].v-icon { [class*="theme--"].v-icon {
color: rgb(var(--accent-color)) !important; color: rgb(var(--accent-color)) !important;
} }
@ -437,8 +510,21 @@ button>.v-btn--is-elevated .v-btn--has-bg.v-icon__svg {
border-color: rgba(255, 255, 255, .2) !important; border-color: rgba(255, 255, 255, .2) !important;
} }
.v-menu>.v-overlay__content>.v-card, .v-menu>.v-overlay__content>.v-sheet, .v-menu>.v-overlay__content>.v-list {
background: rgb(var(--drop-down-menu-bg));
border-radius: inherit;
overflow: auto;
height: 100%;
box-shadow: 0 5px 5px -3px var(--transparency-light-10) !important;
}
.v-list-item--variant-plain, .v-list-item--variant-outlined, .v-list-item--variant-text, .v-list-item--variant-tonal {
background: transparent;
color: var(--link-color);
}
/* TABLE */ /* TABLE */
[class*="theme--"].v-data-table { [class*="theme--"].v-data-table,.v-table {
background: transparent; background: transparent;
color: var(--text); color: var(--text);
} }
@ -512,6 +598,7 @@ button>.v-btn--is-elevated .v-btn--has-bg.v-icon__svg {
/* SETTING */ /* SETTING */
[class*="theme--"].v-list { [class*="theme--"].v-list {
background: var(--transparency-light-05); background: var(--transparency-dark-10);
color: rgba(0,0,0,.87); color: rgba(0,0,0,.87);
} }

View File

@ -0,0 +1,34 @@
:root {
--main-bg-color: #303446;
--modal-bg-color: #292c3c;
--modal-header-color: #232634;
--modal-footer-color: #232634;
--drop-down-menu-bg: #414559;
--button-color: #414559;
--button-color-hover: #51576d;
--button-text: var(--text);
--button-text-hover: var(--text-hover);
--accent-color: 137, 180, 250; /* Mocha Blue */
--accent-color-hover: rgb(var(--accent-color), 0.8);
--link-color: var(--text);
--link-color-hover: #8caaee;
--label-text-color: #fff; /* have to break convention here */
--text: #c6d0f5;
--text-hover: var(--text);
--text-muted: a5adce;
/* Specials */
--arr-queue-color: #a6d189; /* Servarr apps + Bazarr */
--plex-poster-unwatched: #ef9f76;
--petio-spinner: invert(66%) sepia(15%) saturate(1451%) hue-rotate(185deg) brightness(105%) contrast(96%); /* Made with https://codepen.io/jsm91/embed/ZEEawyZ */ /* Blue */
--gitea-color-primary-dark-4: var(--accent-color);
--overseerr-gradient: linear-gradient(
var(--main-bg-color),
var(--main-bg-color)
); /* Make sure this is compatible with whatever takes in the gradient */
}

View File

@ -0,0 +1,34 @@
:root {
--main-bg-color: #eff1f5;
--modal-bg-color: #e6e9ef;
--modal-header-color: #dce0e8;
--modal-footer-color: #dce0e8;
--drop-down-menu-bg: #ccd0da;
--button-color: #ccd0da;
--button-color-hover: #bcc0cc;
--button-text: var(--text);
--button-text-hover: var(--text-hover);
--accent-color: 137, 180, 250; /* Mocha Blue */
--accent-color-hover: rgb(var(--accent-color), 0.8);
--link-color: var(--text);
--link-color-hover: #1e66f5;
--label-text-color: #fff; /* have to break convention here */
--text: #4c4f69;
--text-hover: var(--text);
--text-muted: 6c6f85;
/* Specials */
--arr-queue-color: #40a02b; /* Servarr apps + Bazarr */
--plex-poster-unwatched: #fe640b;
--petio-spinner: invert(66%) sepia(15%) saturate(1451%) hue-rotate(185deg) brightness(105%) contrast(96%); /* Made with https://codepen.io/jsm91/embed/ZEEawyZ */ /* Blue */
--gitea-color-primary-dark-4: var(--accent-color);
--overseerr-gradient: linear-gradient(
var(--main-bg-color),
var(--main-bg-color)
); /* Make sure this is compatible with whatever takes in the gradient */
}

View File

@ -0,0 +1,34 @@
:root {
--main-bg-color: #24273a;
--modal-bg-color: #1e2030;
--modal-header-color: #181926;
--modal-footer-color: #181926;
--drop-down-menu-bg: #363a4f;
--button-color: #363a4f;
--button-color-hover: #494d64;
--button-text: var(--text);
--button-text-hover: var(--text-hover);
--accent-color: 137, 180, 250; /* Mocha Blue */
--accent-color-hover: rgb(var(--accent-color), 0.8);
--link-color: var(--text);
--link-color-hover: #8aadf4;
--label-text-color: #fff; /* have to break convention here */
--text: #cad3f5;
--text-hover: var(--text);
--text-muted: a5adcb;
/* Specials */
--arr-queue-color: #a6da95; /* Servarr apps + Bazarr */
--plex-poster-unwatched: #f5a97f;
--petio-spinner: invert(66%) sepia(15%) saturate(1451%) hue-rotate(185deg) brightness(105%) contrast(96%); /* Made with https://codepen.io/jsm91/embed/ZEEawyZ */ /* Blue */
--gitea-color-primary-dark-4: var(--accent-color);
--overseerr-gradient: linear-gradient(
var(--main-bg-color),
var(--main-bg-color)
); /* Make sure this is compatible with whatever takes in the gradient */
}

View File

@ -0,0 +1,34 @@
:root {
--main-bg-color: #1e1e2e;
--modal-bg-color: #181825;
--modal-header-color: #11111b;
--modal-footer-color: #11111b;
--drop-down-menu-bg: #313244;
--button-color: #313244;
--button-color-hover: #45475a;
--button-text: var(--text);
--button-text-hover: var(--text-hover);
--accent-color: 137, 180, 250; /* Mocha Blue */
--accent-color-hover: rgb(var(--accent-color), 0.8);
--link-color: var(--text);
--link-color-hover: #89b4fa;
--label-text-color: #fff; /* have to break convention here */
--text: #cdd6f4;
--text-hover: var(--text);
--text-muted: a6adc8;
/* Specials */
--arr-queue-color: #a6e3a1; /* Servarr apps + Bazarr */
--plex-poster-unwatched: #fab387;
--petio-spinner: invert(66%) sepia(15%) saturate(1451%) hue-rotate(185deg) brightness(105%) contrast(96%); /* Made with https://codepen.io/jsm91/embed/ZEEawyZ */ /* Blue */
--gitea-color-primary-dark-4: var(--accent-color);
--overseerr-gradient: linear-gradient(
var(--main-bg-color),
var(--main-bg-color)
); /* Make sure this is compatible with whatever takes in the gradient */
}

View File

@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bash #!/usr/bin/with-contenv bash
echo '---------------------------' echo '---------------------------'
echo '| Bazarr theme.park Mod |' echo '| Bazarr theme.park Mod |'

View File

@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bash #!/usr/bin/with-contenv bash
echo '---------------------------' echo '---------------------------'
echo '| Bazarr theme.park Mod |' echo '| Bazarr theme.park Mod |'

View File

@ -1,4 +1,4 @@
#!/command/with-contenv bash #!/command/with-contenv bash
echo '--------------------------------' echo '--------------------------------'
echo '| Calibre-web theme.park Mod |' echo '| Calibre-web theme.park Mod |'

View File

@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bash #!/usr/bin/with-contenv bash
echo '--------------------------------' echo '--------------------------------'
echo '| Calibre-web theme.park Mod |' echo '| Calibre-web theme.park Mod |'

View File

@ -1,4 +1,4 @@
#!/command/with-contenv bash #!/command/with-contenv bash
echo '---------------------------' echo '---------------------------'
echo '| Deluge theme.park Mod |' echo '| Deluge theme.park Mod |'

View File

@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bash #!/usr/bin/with-contenv bash
echo '---------------------------' echo '---------------------------'
echo '| Deluge theme.park Mod |' echo '| Deluge theme.park Mod |'

View File

@ -1,4 +1,4 @@
#!/command/with-contenv bash #!/command/with-contenv bash
echo '----------------------------' echo '----------------------------'
echo '| Duplicati theme.park Mod |' echo '| Duplicati theme.park Mod |'

View File

@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bash #!/usr/bin/with-contenv bash
echo '----------------------------' echo '----------------------------'
echo '| Duplicati theme.park Mod |' echo '| Duplicati theme.park Mod |'

View File

@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bash #!/usr/bin/with-contenv bash
echo '-------------------------' echo '-------------------------'
echo '| Emby theme.park Mod |' echo '| Emby theme.park Mod |'
@ -39,5 +39,5 @@ if [[ -z ${TP_THEME} ]]; then
fi fi
# Adding stylesheets # Adding stylesheets
printf '%s\n' "@import url('${TP_SCHEME}://${TP_DOMAIN}/css/${THEME_TYPE}/${TP_THEME}.css');" "@import url('${TP_SCHEME}://${TP_DOMAIN}/css/base/emby/emby-base.css');" > /app/emby/dashboard-ui/modules/themes/light/theme.css printf '%s\n' "@import url('${TP_SCHEME}://${TP_DOMAIN}/css/${THEME_TYPE}/${TP_THEME}.css');" "@import url('${TP_SCHEME}://${TP_DOMAIN}/css/base/emby/emby-base.css');" > /app/emby/system/dashboard-ui/modules/themes/light/theme.css
printf 'Stylesheet set to %s\n' "${TP_THEME}" printf 'Stylesheet set to %s\n' "${TP_THEME}"

View File

@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bash #!/usr/bin/with-contenv bash
echo '-------------------------' echo '-------------------------'
echo '| Emby theme.park Mod |' echo '| Emby theme.park Mod |'
@ -39,5 +39,5 @@ if [[ -z ${TP_THEME} ]]; then
fi fi
# Adding stylesheets # Adding stylesheets
printf '%s\n' "@import url('${TP_SCHEME}://${TP_DOMAIN}/css/${THEME_TYPE}/${TP_THEME}.css');" "@import url('${TP_SCHEME}://${TP_DOMAIN}/css/base/emby/emby-base.css');" > /app/emby/dashboard-ui/modules/themes/light/theme.css printf '%s\n' "@import url('${TP_SCHEME}://${TP_DOMAIN}/css/${THEME_TYPE}/${TP_THEME}.css');" "@import url('${TP_SCHEME}://${TP_DOMAIN}/css/base/emby/emby-base.css');" > /app/emby/system/dashboard-ui/modules/themes/light/theme.css
printf 'Stylesheet set to %s\n' "${TP_THEME}" printf 'Stylesheet set to %s\n' "${TP_THEME}"

View File

@ -1,4 +1,4 @@
#!/command/with-contenv bash #!/command/with-contenv bash
echo '---------------------------' echo '---------------------------'
echo '| Jackett theme.park Mod |' echo '| Jackett theme.park Mod |'

View File

@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bash #!/usr/bin/with-contenv bash
echo '---------------------------' echo '---------------------------'
echo '| Jackett theme.park Mod |' echo '| Jackett theme.park Mod |'

View File

@ -1,4 +1,4 @@
#!/command/with-contenv bash #!/command/with-contenv bash
echo '-----------------------------' echo '-----------------------------'
echo '| Jellyfin theme.park Mod |' echo '| Jellyfin theme.park Mod |'

View File

@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bash #!/usr/bin/with-contenv bash
echo '-----------------------------' echo '-----------------------------'
echo '| Jellyfin theme.park Mod |' echo '| Jellyfin theme.park Mod |'

View File

@ -1,4 +1,4 @@
#!/command/with-contenv bash #!/command/with-contenv bash
echo '----------------------------------' echo '----------------------------------'
echo '| Lazylibrarian theme.park Mod |' echo '| Lazylibrarian theme.park Mod |'

View File

@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bash #!/usr/bin/with-contenv bash
echo '----------------------------------' echo '----------------------------------'
echo '| Lazylibrarian theme.park Mod |' echo '| Lazylibrarian theme.park Mod |'

View File

@ -1,4 +1,4 @@
#!/command/with-contenv bash #!/command/with-contenv bash
echo '-------------------------------' echo '-------------------------------'
echo '| Librespeed theme.park Mod |' echo '| Librespeed theme.park Mod |'

View File

@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bash #!/usr/bin/with-contenv bash
echo '-------------------------------' echo '-------------------------------'
echo '| Librespeed theme.park Mod |' echo '| Librespeed theme.park Mod |'

View File

@ -1,4 +1,4 @@
#!/command/with-contenv bash #!/command/with-contenv bash
echo '---------------------------' echo '---------------------------'
echo '| Lidarr theme.park Mod |' echo '| Lidarr theme.park Mod |'
@ -65,7 +65,7 @@ if ! grep -q "${TP_DOMAIN}/css/base" "${APP_FILEPATH}"; then
done done
fi fi
sed -i "s!<body>!<body>${sheets}!g" "${APP_FILEPATH}" sed -i "s!</body>!${sheets}</body>!g" "${APP_FILEPATH}"
sed -i "s!<body>!<body>${sheets}!g" "${LOGIN_FILEPATH}" sed -i "s!</body>!${sheets}</body>!g" "${LOGIN_FILEPATH}"
printf 'Stylesheets inserted.' printf 'Stylesheets inserted.'
fi fi

View File

@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bash #!/usr/bin/with-contenv bash
echo '---------------------------' echo '---------------------------'
echo '| Lidarr theme.park Mod |' echo '| Lidarr theme.park Mod |'
@ -65,7 +65,7 @@ if ! grep -q "${TP_DOMAIN}/css/base" "${APP_FILEPATH}"; then
done done
fi fi
sed -i "s!<body>!<body>${sheets}!g" "${APP_FILEPATH}" sed -i "s!</body>!${sheets}</body>!g" "${APP_FILEPATH}"
sed -i "s!<body>!<body>${sheets}!g" "${LOGIN_FILEPATH}" sed -i "s!</body>!${sheets}</body>!g" "${LOGIN_FILEPATH}"
printf 'Stylesheets inserted.' printf 'Stylesheets inserted.'
fi fi

View File

@ -1,4 +1,4 @@
#!/command/with-contenv bash #!/command/with-contenv bash
echo '-------------------------' echo '-------------------------'
echo '| Mylar3 theme.park Mod |' echo '| Mylar3 theme.park Mod |'

View File

@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bash #!/usr/bin/with-contenv bash
echo '-------------------------' echo '-------------------------'
echo '| Mylar3 theme.park Mod |' echo '| Mylar3 theme.park Mod |'

View File

@ -1,4 +1,4 @@
#!/command/with-contenv bash #!/command/with-contenv bash
echo '--------------------------------------' echo '--------------------------------------'
echo '| Nginx Proxy Manager theme.park Mod |' echo '| Nginx Proxy Manager theme.park Mod |'

View File

@ -1,4 +1,4 @@
#!/command/with-contenv bash #!/command/with-contenv bash
echo '--------------------------------------' echo '--------------------------------------'
echo '| Nginx Proxy Manager theme.park Mod |' echo '| Nginx Proxy Manager theme.park Mod |'

View File

@ -1,4 +1,4 @@
#!/command/with-contenv bash #!/command/with-contenv bash
echo '---------------------------' echo '---------------------------'
echo '| NZBGet theme.park Mod |' echo '| NZBGet theme.park Mod |'

View File

@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bash #!/usr/bin/with-contenv bash
echo '---------------------------' echo '---------------------------'
echo '| NZBGet theme.park Mod |' echo '| NZBGet theme.park Mod |'

View File

@ -1,4 +1,4 @@
#!/command/with-contenv bash #!/command/with-contenv bash
echo '-------------------------' echo '-------------------------'
echo '| Plex theme.park Mod |' echo '| Plex theme.park Mod |'
@ -11,12 +11,6 @@ echo -e "Variables set:\\n\
'TP_SCHEME'=${TP_SCHEME}\\n\ 'TP_SCHEME'=${TP_SCHEME}\\n\
'TP_THEME'=${TP_THEME}\\n" 'TP_THEME'=${TP_THEME}\\n"
APP_FILEPATH=''
if [ "${TP_HOTIO}" = true ]; then
echo 'Changing to Hotio file path!'
APP_FILEPATH='/app'
fi
# Set default # Set default
if [[ -z ${TP_DOMAIN} ]]; then if [[ -z ${TP_DOMAIN} ]]; then
echo 'No domain set, defaulting to theme-park.dev' echo 'No domain set, defaulting to theme-park.dev'
@ -45,16 +39,16 @@ if [[ -z ${TP_THEME} ]]; then
fi fi
# Adding stylesheets # Adding stylesheets
if ! grep -q "${TP_DOMAIN}/css/base" "${APP_FILEPATH}"/usr/lib/plexmediaserver/Resources/Plug-ins-*/WebClient.bundle/Contents/Resources/index.html; then if ! grep -q "${TP_DOMAIN}/css/base" /usr/lib/plexmediaserver/Resources/Plug-ins-*/WebClient.bundle/Contents/Resources/index.html; then
echo '---------------------------' echo '---------------------------'
echo '| Adding the stylesheet |' echo '| Adding the stylesheet |'
echo '---------------------------' echo '---------------------------'
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/plex\/plex-base.css'><\/head> /g" "${APP_FILEPATH}"/usr/lib/plexmediaserver/Resources/Plug-ins-*/WebClient.bundle/Contents/Resources/index.html sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/plex\/plex-base.css'><\/head> /g" /usr/lib/plexmediaserver/Resources/Plug-ins-*/WebClient.bundle/Contents/Resources/index.html
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'><\/head> /g" "${APP_FILEPATH}"/usr/lib/plexmediaserver/Resources/Plug-ins-*/WebClient.bundle/Contents/Resources/index.html sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'><\/head> /g" /usr/lib/plexmediaserver/Resources/Plug-ins-*/WebClient.bundle/Contents/Resources/index.html
printf 'Stylesheet set to %s\n' "${TP_THEME}" printf 'Stylesheet set to %s\n' "${TP_THEME}"
if [[ -n ${TP_ADDON} ]]; then if [[ -n ${TP_ADDON} ]]; then
for addon in $(echo "$TP_ADDON" | tr "|" " "); do for addon in $(echo "$TP_ADDON" | tr "|" " "); do
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/addons\/plex\/${addon}\/${addon}.css'><\/head> /g" "${APP_FILEPATH}"/usr/lib/plexmediaserver/Resources/Plug-ins-*/WebClient.bundle/Contents/Resources/index.html sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/addons\/plex\/${addon}\/${addon}.css'><\/head> /g" /usr/lib/plexmediaserver/Resources/Plug-ins-*/WebClient.bundle/Contents/Resources/index.html
printf 'Added custom addon: %s\n\n' "${addon}" printf 'Added custom addon: %s\n\n' "${addon}"
done done
fi fi

View File

@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bash #!/usr/bin/with-contenv bash
echo '-------------------------' echo '-------------------------'
echo '| Plex theme.park Mod |' echo '| Plex theme.park Mod |'
@ -11,12 +11,6 @@ echo -e "Variables set:\\n\
'TP_SCHEME'=${TP_SCHEME}\\n\ 'TP_SCHEME'=${TP_SCHEME}\\n\
'TP_THEME'=${TP_THEME}\\n" 'TP_THEME'=${TP_THEME}\\n"
APP_FILEPATH=''
if [ "${TP_HOTIO}" = true ]; then
echo 'Changing to Hotio file path!'
APP_FILEPATH='/app'
fi
# Set default # Set default
if [[ -z ${TP_DOMAIN} ]]; then if [[ -z ${TP_DOMAIN} ]]; then
echo 'No domain set, defaulting to theme-park.dev' echo 'No domain set, defaulting to theme-park.dev'
@ -45,16 +39,16 @@ if [[ -z ${TP_THEME} ]]; then
fi fi
# Adding stylesheets # Adding stylesheets
if ! grep -q "${TP_DOMAIN}/css/base" "${APP_FILEPATH}"/usr/lib/plexmediaserver/Resources/Plug-ins-*/WebClient.bundle/Contents/Resources/index.html; then if ! grep -q "${TP_DOMAIN}/css/base" /usr/lib/plexmediaserver/Resources/Plug-ins-*/WebClient.bundle/Contents/Resources/index.html; then
echo '---------------------------' echo '---------------------------'
echo '| Adding the stylesheet |' echo '| Adding the stylesheet |'
echo '---------------------------' echo '---------------------------'
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/plex\/plex-base.css'><\/head> /g" "${APP_FILEPATH}"/usr/lib/plexmediaserver/Resources/Plug-ins-*/WebClient.bundle/Contents/Resources/index.html sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/plex\/plex-base.css'><\/head> /g" /usr/lib/plexmediaserver/Resources/Plug-ins-*/WebClient.bundle/Contents/Resources/index.html
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'><\/head> /g" "${APP_FILEPATH}"/usr/lib/plexmediaserver/Resources/Plug-ins-*/WebClient.bundle/Contents/Resources/index.html sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'><\/head> /g" /usr/lib/plexmediaserver/Resources/Plug-ins-*/WebClient.bundle/Contents/Resources/index.html
printf 'Stylesheet set to %s\n' "${TP_THEME}" printf 'Stylesheet set to %s\n' "${TP_THEME}"
if [[ -n ${TP_ADDON} ]]; then if [[ -n ${TP_ADDON} ]]; then
for addon in $(echo "$TP_ADDON" | tr "|" " "); do for addon in $(echo "$TP_ADDON" | tr "|" " "); do
sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/addons\/plex\/${addon}\/${addon}.css'><\/head> /g" "${APP_FILEPATH}"/usr/lib/plexmediaserver/Resources/Plug-ins-*/WebClient.bundle/Contents/Resources/index.html sed -i "s/<\/head>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/addons\/plex\/${addon}\/${addon}.css'><\/head> /g" /usr/lib/plexmediaserver/Resources/Plug-ins-*/WebClient.bundle/Contents/Resources/index.html
printf 'Added custom addon: %s\n\n' "${addon}" printf 'Added custom addon: %s\n\n' "${addon}"
done done
fi fi

View File

@ -1,4 +1,4 @@
#!/command/with-contenv bash #!/command/with-contenv bash
echo '---------------------------' echo '---------------------------'
echo '| Prowlarr theme.park Mod |' echo '| Prowlarr theme.park Mod |'
@ -65,7 +65,7 @@ if ! grep -q "${TP_DOMAIN}/css/base" "${APP_FILEPATH}"; then
done done
fi fi
sed -i "s!<body>!<body>${sheets}!g" "${APP_FILEPATH}" sed -i "s!</body>!${sheets}</body>!g" "${APP_FILEPATH}"
sed -i "s!<body>!<body>${sheets}!g" "${LOGIN_FILEPATH}" sed -i "s!</body>!${sheets}</body>!g" "${LOGIN_FILEPATH}"
printf 'Stylesheets inserted.' printf 'Stylesheets inserted.'
fi fi

View File

@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bash #!/usr/bin/with-contenv bash
echo '---------------------------' echo '---------------------------'
echo '| Prowlarr theme.park Mod |' echo '| Prowlarr theme.park Mod |'
@ -65,7 +65,7 @@ if ! grep -q "${TP_DOMAIN}/css/base" "${APP_FILEPATH}"; then
done done
fi fi
sed -i "s!<body>!<body>${sheets}!g" "${APP_FILEPATH}" sed -i "s!</body>!${sheets}</body>!g" "${APP_FILEPATH}"
sed -i "s!<body>!<body>${sheets}!g" "${LOGIN_FILEPATH}" sed -i "s!</body>!${sheets}</body>!g" "${LOGIN_FILEPATH}"
printf 'Stylesheets inserted.' printf 'Stylesheets inserted.'
fi fi

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

@ -1,4 +1,4 @@
#!/command/with-contenv bash #!/command/with-contenv bash
echo '------------------------------' echo '------------------------------'
echo '| qBittorrent theme.park Mod |' echo '| qBittorrent theme.park Mod |'
@ -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

@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bash #!/usr/bin/with-contenv bash
echo '------------------------------' echo '------------------------------'
echo '| qBittorrent theme.park Mod |' echo '| qBittorrent theme.park Mod |'
@ -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(){

View File

@ -1,4 +1,4 @@
#!/command/with-contenv bash #!/command/with-contenv bash
echo '---------------------------' echo '---------------------------'
echo '| Radarr theme.park Mod |' echo '| Radarr theme.park Mod |'
@ -65,7 +65,7 @@ if ! grep -q "${TP_DOMAIN}/css/base" "${APP_FILEPATH}"; then
done done
fi fi
sed -i "s!<body>!<body>${sheets}!g" "${APP_FILEPATH}" sed -i "s!</body>!${sheets}</body>!g" "${APP_FILEPATH}"
sed -i "s!<body>!<body>${sheets}!g" "${LOGIN_FILEPATH}" sed -i "s!</body>!${sheets}</body>!g" "${LOGIN_FILEPATH}"
printf 'Stylesheets inserted.' printf 'Stylesheets inserted.'
fi fi

View File

@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bash #!/usr/bin/with-contenv bash
echo '---------------------------' echo '---------------------------'
echo '| Radarr theme.park Mod |' echo '| Radarr theme.park Mod |'
@ -65,7 +65,7 @@ if ! grep -q "${TP_DOMAIN}/css/base" "${APP_FILEPATH}"; then
done done
fi fi
sed -i "s!<body>!<body>${sheets}!g" "${APP_FILEPATH}" sed -i "s!</body>!${sheets}</body>!g" "${APP_FILEPATH}"
sed -i "s!<body>!<body>${sheets}!g" "${LOGIN_FILEPATH}" sed -i "s!</body>!${sheets}</body>!g" "${LOGIN_FILEPATH}"
printf 'Stylesheets inserted.' printf 'Stylesheets inserted.'
fi fi

View File

@ -1,4 +1,4 @@
#!/command/with-contenv bash #!/command/with-contenv bash
echo '---------------------------' echo '---------------------------'
echo '| Readarr theme.park Mod |' echo '| Readarr theme.park Mod |'
@ -65,7 +65,7 @@ if ! grep -q "${TP_DOMAIN}/css/base" "${APP_FILEPATH}"; then
done done
fi fi
sed -i "s!<body>!<body>${sheets}!g" "${APP_FILEPATH}" sed -i "s!</body>!${sheets}</body>!g" "${APP_FILEPATH}"
sed -i "s!<body>!<body>${sheets}!g" "${LOGIN_FILEPATH}" sed -i "s!</body>!${sheets}</body>!g" "${LOGIN_FILEPATH}"
printf 'Stylesheets inserted.' printf 'Stylesheets inserted.'
fi fi

View File

@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bash #!/usr/bin/with-contenv bash
echo '---------------------------' echo '---------------------------'
echo '| Readarr theme.park Mod |' echo '| Readarr theme.park Mod |'
@ -65,7 +65,7 @@ if ! grep -q "${TP_DOMAIN}/css/base" "${APP_FILEPATH}"; then
done done
fi fi
sed -i "s!<body>!<body>${sheets}!g" "${APP_FILEPATH}" sed -i "s!</body>!${sheets}</body>!g" "${APP_FILEPATH}"
sed -i "s!<body>!<body>${sheets}!g" "${LOGIN_FILEPATH}" sed -i "s!</body>!${sheets}</body>!g" "${LOGIN_FILEPATH}"
printf 'Stylesheets inserted.' printf 'Stylesheets inserted.'
fi fi

View File

@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bash #!/usr/bin/with-contenv bash
echo '------------------------------' echo '------------------------------'
echo '| Rutorrent theme.park Mod |' echo '| Rutorrent theme.park Mod |'

View File

@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bash #!/usr/bin/with-contenv bash
echo '------------------------------' echo '------------------------------'
echo '| Rutorrent theme.park Mod |' echo '| Rutorrent theme.park Mod |'

View File

@ -1,4 +1,4 @@
#!/command/with-contenv bash #!/command/with-contenv bash
echo '----------------------------' echo '----------------------------'
echo '| SABnzbd theme.park Mod |' echo '| SABnzbd theme.park Mod |'

View File

@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bash #!/usr/bin/with-contenv bash
echo '----------------------------' echo '----------------------------'
echo '| SABnzbd theme.park Mod |' echo '| SABnzbd theme.park Mod |'

View File

@ -1,4 +1,4 @@
#!/command/with-contenv bash #!/command/with-contenv bash
echo '---------------------------' echo '---------------------------'
echo '| Sonarr theme.park Mod |' echo '| Sonarr theme.park Mod |'
@ -65,7 +65,7 @@ if ! grep -q "${TP_DOMAIN}/css/base" "${APP_FILEPATH}"; then
done done
fi fi
sed -i "s!<body>!<body>${sheets}!g" "${APP_FILEPATH}" sed -i "s!</body>!${sheets}</body>!g" "${APP_FILEPATH}"
sed -i "s!<body>!<body>${sheets}!g" "${LOGIN_FILEPATH}" sed -i "s!</body>!${sheets}</body>!g" "${LOGIN_FILEPATH}"
printf 'Stylesheets inserted.' printf 'Stylesheets inserted.'
fi fi

View File

@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bash #!/usr/bin/with-contenv bash
echo '---------------------------' echo '---------------------------'
echo '| Sonarr theme.park Mod |' echo '| Sonarr theme.park Mod |'
@ -65,7 +65,7 @@ if ! grep -q "${TP_DOMAIN}/css/base" "${APP_FILEPATH}"; then
done done
fi fi
sed -i "s!<body>!<body>${sheets}!g" "${APP_FILEPATH}" sed -i "s!</body>!${sheets}</body>!g" "${APP_FILEPATH}"
sed -i "s!<body>!<body>${sheets}!g" "${LOGIN_FILEPATH}" sed -i "s!</body>!${sheets}</body>!g" "${LOGIN_FILEPATH}"
printf 'Stylesheets inserted.' printf 'Stylesheets inserted.'
fi fi

View File

@ -1,22 +1,9 @@
#!/usr/bin/with-contenv bash #!/usr/bin/with-contenv bash
echo '-------------------------' echo '-------------------------'
echo '| SWAG theme.park Mod |' echo '| SWAG theme.park Mod |'
echo '-------------------------' echo '-------------------------'
if ! [[ -x "$(command -v svn)" ]]; then
echo '--------------------------'
echo '| Installing svn package |'
echo '--------------------------'
if [ -x "$(command -v apk)" ]; then
apk update && \
apk add --no-cache subversion
elif [ -x "$(command -v apt-get)" ]; then
apt-get update && \
apt-get install -y subversion
fi
fi
# Display variables for troubleshooting # Display variables for troubleshooting
echo -e "Variables set:\\n\ echo -e "Variables set:\\n\
'TP_BRANCH'=${TP_BRANCH}\\n" 'TP_BRANCH'=${TP_BRANCH}\\n"
@ -41,7 +28,7 @@ fi
mkdir -p /config/www/themepark mkdir -p /config/www/themepark
SHA_RELEASE=$(curl -sL "https://api.github.com/repos/gilbn/theme.park/commits/${TP_BRANCH}" | jq -r '.sha'); SHA_RELEASE=$(curl -sL "https://api.github.com/repos/themepark-dev/theme.park/commits/${TP_BRANCH}" | jq -r '.sha');
if [[ ! -f "/config/www/themepark/sha.txt" ]]; then if [[ ! -f "/config/www/themepark/sha.txt" ]]; then
SHA="" SHA=""
else else
@ -50,13 +37,21 @@ fi
# Downloading fresh webui files from source. # Downloading fresh webui files from source.
if [[ $SHA != $SHA_RELEASE ]]; then if [[ $SHA != $SHA_RELEASE ]]; then
echo "-----------------------------------------------------" echo "-----------------------------------------------------"
echo "| Downloading latest files from ${TP_BRANCH} branch |" echo "| Cloning latest files from ${TP_BRANCH} branch |"
echo "-----------------------------------------------------"
rm -rf /tmp/themepark
git clone --depth 1 --quiet --branch ${TP_BRANCH} https://github.com/themepark-dev/theme.park.git /tmp/themepark
echo "-----------------------------------------------------"
echo "| Copying files to /config/www/themepark |"
echo "-----------------------------------------------------"
cp -a /tmp/themepark/css /config/www/themepark/
cp -a /tmp/themepark/resources /config/www/themepark/
cp -a /tmp/themepark/themes.json /config/www/themepark/
cp -a /tmp/themepark/index.html /config/www/themepark/
rm -rf /tmp/themepark
echo "-----------------------------------------------------"
echo '| Clone and copy finished |'
echo "-----------------------------------------------------" echo "-----------------------------------------------------"
svn export --quiet --force "https://github.com/GilbN/theme.park/branches/${TP_BRANCH}/css" /config/www/themepark/css
svn export --quiet --force "https://github.com/GilbN/theme.park/branches/${TP_BRANCH}/resources" /config/www/themepark/resources
svn export --quiet --force "https://github.com/GilbN/theme.park/branches/${TP_BRANCH}/themes.json" /config/www/themepark
svn export --quiet --force "https://github.com/GilbN/theme.park/branches/${TP_BRANCH}/index.html" /config/www/themepark
printf '\nDownload finished\n\n'
fi fi
cat <<< "$SHA_RELEASE" > "/config/www/themepark/sha.txt" cat <<< "$SHA_RELEASE" > "/config/www/themepark/sha.txt"

View File

@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bash #!/usr/bin/with-contenv bash
echo '-------------------------' echo '-------------------------'
echo '| SWAG theme.park Mod |' echo '| SWAG theme.park Mod |'
@ -28,7 +28,7 @@ fi
mkdir -p /config/www/themepark mkdir -p /config/www/themepark
SHA_RELEASE=$(curl -sL "https://api.github.com/repos/gilbn/theme.park/commits/${TP_BRANCH}" | jq -r '.sha'); SHA_RELEASE=$(curl -sL "https://api.github.com/repos/themepark-dev/theme.park/commits/${TP_BRANCH}" | jq -r '.sha');
if [[ ! -f "/config/www/themepark/sha.txt" ]]; then if [[ ! -f "/config/www/themepark/sha.txt" ]]; then
SHA="" SHA=""
else else
@ -37,13 +37,21 @@ fi
# Downloading fresh webui files from source. # Downloading fresh webui files from source.
if [[ $SHA != $SHA_RELEASE ]]; then if [[ $SHA != $SHA_RELEASE ]]; then
echo "-----------------------------------------------------" echo "-----------------------------------------------------"
echo "| Downloading latest files from ${TP_BRANCH} branch |" echo "| Cloning latest files from ${TP_BRANCH} branch |"
echo "-----------------------------------------------------"
rm -rf /tmp/themepark
git clone --depth 1 --quiet --branch ${TP_BRANCH} https://github.com/themepark-dev/theme.park.git /tmp/themepark
echo "-----------------------------------------------------"
echo "| Copying files to /config/www/themepark |"
echo "-----------------------------------------------------"
cp -a /tmp/themepark/css /config/www/themepark/
cp -a /tmp/themepark/resources /config/www/themepark/
cp -a /tmp/themepark/themes.json /config/www/themepark/
cp -a /tmp/themepark/index.html /config/www/themepark/
rm -rf /tmp/themepark
echo "-----------------------------------------------------"
echo '| Clone and copy finished |'
echo "-----------------------------------------------------" echo "-----------------------------------------------------"
svn export --quiet --force "https://github.com/GilbN/theme.park/branches/${TP_BRANCH}/css" /config/www/themepark/css
svn export --quiet --force "https://github.com/GilbN/theme.park/branches/${TP_BRANCH}/resources" /config/www/themepark/resources
svn export --quiet --force "https://github.com/GilbN/theme.park/branches/${TP_BRANCH}/themes.json" /config/www/themepark
svn export --quiet --force "https://github.com/GilbN/theme.park/branches/${TP_BRANCH}/index.html" /config/www/themepark
printf '\nDownload finished\n\n'
fi fi
cat <<< "$SHA_RELEASE" > "/config/www/themepark/sha.txt" cat <<< "$SHA_RELEASE" > "/config/www/themepark/sha.txt"

View File

@ -1,4 +1,4 @@
#!/command/with-contenv bash #!/command/with-contenv bash
echo '-------------------------------' echo '-------------------------------'
echo '| Synclounge theme.park Mod |' echo '| Synclounge theme.park Mod |'

View File

@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bash #!/usr/bin/with-contenv bash
echo '-------------------------------' echo '-------------------------------'
echo '| Synclounge theme.park Mod |' echo '| Synclounge theme.park Mod |'

View File

@ -1,4 +1,4 @@
#!/command/with-contenv bash #!/command/with-contenv bash
echo '-----------------------------' echo '-----------------------------'
echo '| Tautulli theme.park Mod |' echo '| Tautulli theme.park Mod |'

View File

@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bash #!/usr/bin/with-contenv bash
echo '-----------------------------' echo '-----------------------------'
echo '| Tautulli theme.park Mod |' echo '| Tautulli theme.park Mod |'

View File

@ -1,4 +1,4 @@
#!/command/with-contenv bash #!/command/with-contenv bash
echo '-------------------------------' echo '-------------------------------'
echo '| The Lounge theme.park Mod |' echo '| The Lounge theme.park Mod |'

View File

@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bash #!/usr/bin/with-contenv bash
echo '-------------------------------' echo '-------------------------------'
echo '| The Lounge theme.park Mod |' echo '| The Lounge theme.park Mod |'

View File

@ -1,4 +1,4 @@
#!/command/with-contenv bash #!/command/with-contenv bash
echo '---------------------------------' echo '---------------------------------'
echo '| Transmission theme.park Mod |' echo '| Transmission theme.park Mod |'

View File

@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bash #!/usr/bin/with-contenv bash
echo '---------------------------------' echo '---------------------------------'
echo '| Transmission theme.park Mod |' echo '| Transmission theme.park Mod |'

View File

@ -1,4 +1,4 @@
#!/command/with-contenv bash #!/command/with-contenv bash
APP_FILEPATH='/config/qBittorrent/qBittorrent.conf' APP_FILEPATH='/config/qBittorrent/qBittorrent.conf'
INDEX_FILEPATH='/vuetorrent/public/index.html' INDEX_FILEPATH='/vuetorrent/public/index.html'
if [ "${TP_HOTIO}" = true ]; then if [ "${TP_HOTIO}" = true ]; then
@ -55,7 +55,7 @@ if [[ -z ${TP_THEME} ]]; then
fi fi
RELEASE_FILEPATH='/vuetorrent/release.json' RELEASE_FILEPATH='/vuetorrent/release.json'
NEEDS_UPDATE=false NEEDS_UPDATE=false
CURRENT_RELEASE=$(curl -s https://api.github.com/repos/WDaan/VueTorrent/releases/latest | jq -r ".assets[]") CURRENT_RELEASE=$(curl -Ls https://api.github.com/repos/WDaan/VueTorrent/releases/latest | jq -r ".assets[]")
# =============================================== # ===============================================
install_deps() { install_deps() {
@ -146,4 +146,4 @@ if ! grep -q "${TP_DOMAIN}/css/base" "${INDEX_FILEPATH}"; then
sed -i "s/<\/body>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/vuetorrent\/vuetorrent-base.css'><\/body> /g" "${INDEX_FILEPATH}" sed -i "s/<\/body>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/vuetorrent\/vuetorrent-base.css'><\/body> /g" "${INDEX_FILEPATH}"
sed -i "s/<\/body>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'><\/body> /g" "${INDEX_FILEPATH}" sed -i "s/<\/body>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'><\/body> /g" "${INDEX_FILEPATH}"
printf 'Stylesheet set to %s on public index.html\n' "${TP_THEME}" printf 'Stylesheet set to %s on public index.html\n' "${TP_THEME}"
fi fi

View File

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

View File

@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bash #!/usr/bin/with-contenv bash
APP_FILEPATH='/config/qBittorrent/qBittorrent.conf' APP_FILEPATH='/config/qBittorrent/qBittorrent.conf'
INDEX_FILEPATH='/vuetorrent/public/index.html' INDEX_FILEPATH='/vuetorrent/public/index.html'
if [ "${TP_HOTIO}" = true ]; then if [ "${TP_HOTIO}" = true ]; then
@ -55,7 +55,7 @@ if [[ -z ${TP_THEME} ]]; then
fi fi
RELEASE_FILEPATH='/vuetorrent/release.json' RELEASE_FILEPATH='/vuetorrent/release.json'
NEEDS_UPDATE=false NEEDS_UPDATE=false
CURRENT_RELEASE=$(curl -s https://api.github.com/repos/WDaan/VueTorrent/releases/latest | jq -r ".assets[]") CURRENT_RELEASE=$(curl -Ls https://api.github.com/repos/WDaan/VueTorrent/releases/latest | jq -r ".assets[]")
# =============================================== # ===============================================
check_updates() { check_updates() {
@ -131,4 +131,4 @@ if ! grep -q "${TP_DOMAIN}/css/base" "${INDEX_FILEPATH}"; then
sed -i "s/<\/body>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/vuetorrent\/vuetorrent-base.css'><\/body> /g" "${INDEX_FILEPATH}" sed -i "s/<\/body>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/base\/vuetorrent\/vuetorrent-base.css'><\/body> /g" "${INDEX_FILEPATH}"
sed -i "s/<\/body>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'><\/body> /g" "${INDEX_FILEPATH}" sed -i "s/<\/body>/<link rel='stylesheet' href='${TP_SCHEME}:\/\/${TP_DOMAIN}\/css\/${THEME_TYPE}\/${TP_THEME}.css'><\/body> /g" "${INDEX_FILEPATH}"
printf 'Stylesheet set to %s on public index.html\n' "${TP_THEME}" printf 'Stylesheet set to %s on public index.html\n' "${TP_THEME}"
fi fi

View File

@ -1,4 +1,4 @@
#!/command/with-contenv bash #!/command/with-contenv bash
echo '-----------------------------' echo '-----------------------------'
echo '| Whisparr theme.park Mod |' echo '| Whisparr theme.park Mod |'
@ -65,7 +65,7 @@ if ! grep -q "${TP_DOMAIN}/css/base" "${APP_FILEPATH}"; then
done done
fi fi
sed -i "s!<body>!<body>${sheets}!g" "${APP_FILEPATH}" sed -i "s!</body>!${sheets}</body>!g" "${APP_FILEPATH}"
sed -i "s!<body>!<body>${sheets}!g" "${LOGIN_FILEPATH}" sed -i "s!</body>!${sheets}</body>!g" "${LOGIN_FILEPATH}"
printf 'Stylesheets inserted.' printf 'Stylesheets inserted.'
fi fi

View File

@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bash #!/usr/bin/with-contenv bash
echo '-----------------------------' echo '-----------------------------'
echo '| Whisparr theme.park Mod |' echo '| Whisparr theme.park Mod |'
@ -65,7 +65,7 @@ if ! grep -q "${TP_DOMAIN}/css/base" "${APP_FILEPATH}"; then
done done
fi fi
sed -i "s!<body>!<body>${sheets}!g" "${APP_FILEPATH}" sed -i "s!</body>!${sheets}</body>!g" "${APP_FILEPATH}"
sed -i "s!<body>!<body>${sheets}!g" "${LOGIN_FILEPATH}" sed -i "s!</body>!${sheets}</body>!g" "${LOGIN_FILEPATH}"
printf 'Stylesheets inserted.' printf 'Stylesheets inserted.'
fi fi

View File

@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bash #!/usr/bin/with-contenv bash
# Display variables for troubleshooting # Display variables for troubleshooting
echo -e "[theme.park-init] Variables set:\\n\ echo -e "[theme.park-init] Variables set:\\n\