Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ceccbf4ded | ||
|
|
9cba2a0755 | ||
|
|
af036a9aa4 | ||
|
|
cfefd2d2d3 | ||
|
|
8e7299508b | ||
|
|
fc7aa36f41 |
@@ -40,7 +40,7 @@
|
||||
</div>
|
||||
<div class="selectContainer">
|
||||
<label class="selectLabel" for="SelectedSeason">Selected Season</label>
|
||||
<select is="emby-select" id="SelectedSeason" name="SelectedSeason" class="emby-select">
|
||||
<select id="SelectedSeason" name="SelectedSeason" class="emby-select">
|
||||
<option value="none">None</option>
|
||||
<option value="snowflakes">Snowflakes</option>
|
||||
<option value="snowfall">Snowfall</option>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<!-- <TreatWarningsAsErrors>false</TreatWarningsAsErrors> -->
|
||||
<Title>Jellyfin Seasonals Plugin</Title>
|
||||
<Authors>CodeDevMLH</Authors>
|
||||
<Version>1.6.5.0</Version>
|
||||
<Version>1.6.8.0</Version>
|
||||
<RepositoryUrl>https://github.com/CodeDevMLH/Jellyfin-Seasonals</RepositoryUrl>
|
||||
</PropertyGroup>
|
||||
|
||||
|
||||
BIN
Jellyfin.Plugin.Seasonals/Web/assets/logo_SW_24x24.png
Normal file
BIN
Jellyfin.Plugin.Seasonals/Web/assets/logo_SW_24x24.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.6 KiB |
BIN
Jellyfin.Plugin.Seasonals/Web/assets/logo_SW_48x48.png
Normal file
BIN
Jellyfin.Plugin.Seasonals/Web/assets/logo_SW_48x48.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6.4 KiB |
@@ -243,7 +243,8 @@ function createSettingsIcon() {
|
||||
button.type = 'button';
|
||||
button.className = 'paper-icon-button-light headerButton seasonal-settings-button';
|
||||
button.title = 'Seasonal Settings';
|
||||
button.innerHTML = '<span class="material-icons">ac_unit</span>';
|
||||
// button.innerHTML = '<span class="material-icons">ac_unit</span>';
|
||||
button.innerHTML = '<img src="/Seasonals/Resources/logo_SW_24x24.png" style="width: 24px; height: 24px; vertical-align: middle;">';
|
||||
button.style.verticalAlign = 'middle';
|
||||
|
||||
button.addEventListener('click', (e) => {
|
||||
@@ -274,8 +275,17 @@ function createSettingsPopup(anchorElement) {
|
||||
});
|
||||
|
||||
const rect = anchorElement.getBoundingClientRect();
|
||||
|
||||
let rightPos = window.innerWidth - rect.right;
|
||||
if (window.innerWidth < 450 || (window.innerWidth - rightPos) < 260) {
|
||||
popup.style.right = '1rem';
|
||||
popup.style.left = 'auto';
|
||||
} else {
|
||||
popup.style.right = `${rightPos}px`;
|
||||
popup.style.left = 'auto';
|
||||
}
|
||||
|
||||
popup.style.top = `${rect.bottom + 10}px`;
|
||||
popup.style.right = `${window.innerWidth - rect.right}px`;
|
||||
|
||||
popup.innerHTML = `
|
||||
<div class="checkboxContainer checkboxContainer-withDescription" style="margin-bottom: 0.5em;">
|
||||
@@ -285,19 +295,12 @@ function createSettingsPopup(anchorElement) {
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="selectContainer">
|
||||
<div class="selectContainer" style="margin-bottom: 0.5em;">
|
||||
<label class="selectLabel" for="seasonal-theme-select" style="margin-bottom: 0.5em; display: block; color: inherit;">Force Theme</label>
|
||||
<select id="seasonal-theme-select" class="emby-select" style="width: 100%; padding: 0.5em; background-color: #333; border: 1px solid #444; color: #fff; border-radius: 4px;">
|
||||
<option value="auto">Auto (Date Based)</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="selectContainer1">
|
||||
<label class="selectLabel" for="seasonal-theme-select1">Force Theme</label>
|
||||
<select is="emby-select" id="seasonal-theme-select1" class="emby-select">
|
||||
<option value="auto">Auto (Date Based)</option>
|
||||
</select>
|
||||
</div>
|
||||
`;
|
||||
|
||||
// Populate Select Options
|
||||
|
||||
@@ -9,12 +9,12 @@
|
||||
"imageUrl": "https://git.mahom03-spacecloud.de/CodeDevMLH/Jellyfin-Seasonals-Plugin/raw/branch/main/logo.png",
|
||||
"versions": [
|
||||
{
|
||||
"version": "1.6.5.0",
|
||||
"version": "1.6.8.0",
|
||||
"changelog": "- feat: Add client-side toggle option for seasonal settings",
|
||||
"targetAbi": "10.11.0.0",
|
||||
"sourceUrl": "https://git.mahom03-spacecloud.de/CodeDevMLH/Jellyfin-Seasonals-Plugin/releases/download/v1.6.5.0/Jellyfin.Plugin.Seasonals.zip",
|
||||
"checksum": "4b91182f842076bb98538f6cd268f6e0",
|
||||
"timestamp": "2026-02-03T19:37:36Z"
|
||||
"sourceUrl": "https://git.mahom03-spacecloud.de/CodeDevMLH/Jellyfin-Seasonals-Plugin/releases/download/v1.6.8.0/Jellyfin.Plugin.Seasonals.zip",
|
||||
"checksum": "26f194a62f7cd2eb1131fa386d6654cf",
|
||||
"timestamp": "2026-02-03T20:24:41Z"
|
||||
},
|
||||
{
|
||||
"version": "1.5.1.0",
|
||||
|
||||
Reference in New Issue
Block a user