Skip to content

Commit

Permalink
added: dinotim custom theme
Browse files Browse the repository at this point in the history
  • Loading branch information
liam8888999 committed Sep 29, 2024
1 parent c0bd9ee commit 8bc2cf9
Show file tree
Hide file tree
Showing 2 changed files with 73 additions and 4 deletions.
12 changes: 8 additions & 4 deletions server/templates/elements/scripts.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,8 @@ if (platform === "darwin") {
{ id1: 'MoRBiD_MaNGLeRDarksetthemeButton', theme1: 'System - MoRBiD_MaNGLeR-Dark' },
{ id1: 'MoRBiD_MaNGLeRC64setthemeButton', theme1: 'System - MoRBiD_MaNGLeR-C64' },
{ id1: 'MoRBiD_MaNGLeRBlueWhitesetthemeButton', theme1: 'System - MoRBiD_MaNGLeR-BlueWhite' },
{ id1: 'FishfishSoftBluesetthemeButton', theme1: 'System - FishfishSoftBlue' }
{ id1: 'FishfishSoftBluesetthemeButton', theme1: 'System - FishfishSoftBlue' },
{ id1: 'DinotimCustomsetthemeButton', theme1: 'System - DinotimCustom' }
];
var allElements = document.querySelectorAll('[id]');
Expand Down Expand Up @@ -535,7 +536,8 @@ if (platform === "darwin") {
{ id: 'MoRBiD_MaNGLeRDarkdownloadButton', theme: '/system/MoRBiD_MaNGLeR-Dark.theme' },
{ id: 'MoRBiD_MaNGLeRC64downloadButton', theme: '/system/MoRBiD_MaNGLeR-C64.theme' },
{ id: 'MoRBiD_MaNGLeRBlueWhitedownloadButton', theme: '/system/MoRBiD_MaNGLeR-BlueWhite.theme' },
{ id: 'FishfishSoftBluedownloadButton', theme: '/system/FishfishSoftBlue.theme' }
{ id: 'FishfishSoftBluedownloadButton', theme: '/system/FishfishSoftBlue.theme' },
{ id: 'DinotimCustomdownloadButton', theme: '/system/DinotimCustom.theme' }
];
// Iterate over the theme buttons array
Expand Down Expand Up @@ -577,7 +579,8 @@ if (platform === "darwin") {
{ id: 'MoRBiD_MaNGLeRDarksetthemeButton', theme: '/system/MoRBiD_MaNGLeR-Dark.theme' },
{ id: 'MoRBiD_MaNGLeRC64setthemeButton', theme: '/system/MoRBiD_MaNGLeR-C64.theme' },
{ id: 'MoRBiD_MaNGLeRBlueWhitesetthemeButton', theme: '/system/MoRBiD_MaNGLeR-BlueWhite.theme' },
{ id: 'FishfishSoftBluesetthemeButton', theme: '/system/FishfishSoftBlue.theme' }
{ id: 'FishfishSoftBluesetthemeButton', theme: '/system/FishfishSoftBlue.theme' },
{ id: 'DinotimCustomsetthemeButton', theme: '/system/DinotimCustom.theme' }
];
// Iterate over the theme buttons array
Expand Down Expand Up @@ -621,7 +624,8 @@ if (platform === "darwin") {
{ id: 'MoRBiD_MaNGLeRDarkjsonButton', theme: '/system/MoRBiD_MaNGLeR-Dark.theme' },
{ id: 'MoRBiD_MaNGLeRC64jsonButton', theme: '/system/MoRBiD_MaNGLeR-C64.theme' },
{ id: 'MoRBiD_MaNGLeRBlueWhitejsonButton', theme: '/system/MoRBiD_MaNGLeR-BlueWhite.theme' },
{ id: 'FishfishSoftBluejsonButton', theme: '/system/FishfishSoftBlue.theme' }
{ id: 'FishfishSoftBluejsonButton', theme: '/system/FishfishSoftBlue.theme' },
{ id: 'DinotimCustomjsonButton', theme: '/system/DinotimCustom.theme' }
];
// Iterate over the theme buttons array
Expand Down
65 changes: 65 additions & 0 deletions server/templates/pages/themes.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -548,4 +548,69 @@ Theme Creator
<br>
<br>
<hr class="solid">

<h4 style="text-align:center;color:brown;">Dinotim Custom Theme</h4>
<div class="slideshow-container">
<!--
<div class="mySlides8">
<img src="https://github.com/liam8888999/ErsatzTV-Filler-Themes/blob/main/MoRBiD_MaNGLeR-BlueWhite-theme/images/channel-offline.png?raw=true" style="max-height: 250px; max-width: 100%;">
<div class="numbertext">1 / 5</div>
<div class="text" style="padding-top: 20px;">Channel-offline</div>
</div>
<div class="mySlides8">
<img id="myImg" src="https://github.com/liam8888999/ErsatzTV-Filler-Themes/blob/main/MoRBiD_MaNGLeR-BlueWhite-theme/images/news.png?raw=true" style="max-height: 250px; max-width: 100%;">
<div class="numbertext">2 / 5</div>
<div class="text" style="padding-top: 20px;">News</div>
</div>
<div class="mySlides8">
<img src="https://github.com/liam8888999/ErsatzTV-Filler-Themes/blob/main/MoRBiD_MaNGLeR-BlueWhite-theme/images/weather-v1.png?raw=true" style="max-height: 250px; max-width: 100%;">
<div class="numbertext">3 / 5</div>
<div class="text" style="padding-top: 20px;">Weather-V1</div>
</div>
<div class="mySlides8">
<img src="https://github.com/liam8888999/ErsatzTV-Filler-Themes/blob/main/MoRBiD_MaNGLeR-BlueWhite-theme/images/weather-v2.png?raw=true" style="max-height: 250px; max-width: 100%;">
<div class="numbertext">4 / 5</div>
<div class="text" style="padding-top: 20px;">Weather-V2</div>
</div>
<div class="mySlides8">
<img src="https://github.com/liam8888999/ErsatzTV-Filler-Themes/blob/main/MoRBiD_MaNGLeR-BlueWhite-theme/images/weather-v3.png?raw=true" style="max-height: 250px; max-width: 100%;">
<div class="numbertext">5 / 5</div>
<div class="text" style="padding-top: 20px;">Weather-V3</div>
</div>
<a class="prev" onclick="plusSlides(-1, 6)">&#10094;</a>
<a class="next" onclick="plusSlides(1, 6)">&#10095;</a>
-->
<p>No images currently available</p>
</div>
<br>
<div style="padding-left:55%;">
<button id="DinotimCustomdownloadButton" onclick="makeRequest('https://github.com/liam8888999/ErsatzTV-Filler-Themes/raw/refs/heads/main/Dinotim_Custom-theme/Dinotim_Custom.theme', 'DinotimCustom.theme')">Download Theme <i class="fa">&#xf019;</i></button>
<button id="DinotimCustomsetthemeButton" onclick="settheme('system/DinotimCustom')">Use This Theme <i class="fa">&#x2713;</i></button>
<% if (oldtypethemes.includes('system/DinotimCustom.theme')) { %>
<br>
<br>
<button id="DinotimCustomdownloadButton" style="color: orange;" onclick="makeRequest('https://github.com/liam8888999/ErsatzTV-Filler-Themes/raw/refs/heads/main/Dinotim_Custom-theme/Dinotim_Custom.theme', 'DinotimCustom.theme')">Update Theme <i class="fa">&#xf019;</i></button>
<% } %>
</div>
<br>
<br>
<p style="color:blue;padding-left:55%;">The Dinotim Custom theme includes dark backgrounds and vibrant text/images.</p>
<p style="color:DimGray;padding-left:55%;">Credit to Dinotim.</p>
<br>
<div style="padding-left:55%;">
<button id="DinotimCustomjsonButton" onclick="returnJson('system/DinotimCustom')">Show theme json file</button>
</div>
<br>
<br>
<br>
<br>
<br>
<hr class="solid">

</div>

0 comments on commit 8bc2cf9

Please sign in to comment.