1
0
mirror of https://github.com/gilbN/theme.park.git synced 2024-10-04 14:37:14 +02:00

js & sed stuff

This commit is contained in:
Marius 2020-07-08 21:22:54 +02:00
parent 1fc8eaca6e
commit 9308bdb07e
4 changed files with 57 additions and 33 deletions

View File

@ -0,0 +1,14 @@
//Custom Text Header //
// Needs to be inside <section id="login" class="shadow">
let custom_text_header = `
<div class="custom-text-header"> <pre> __ ___ __
____ ____ _____/ /__________ ____ ___ ____ / (_)___ / /__
/ __ \\/ __ \\/ ___/ __/ ___/ __ \\/ __ '__ \\/ __ \\/ / / __ \\/ //_/
/ / / / /_/ (__ ) /_/ / / /_/ / / / / / / /_/ / / / / / / ,&lt;
/_/ /_/\\____/____/\\__/_/ \\____/_/ /_/ /_/\\____/_/_/_/ /_/_/|_|
</pre> </div>
`;
document.getElementById("login").innerHTML += custom_text_header

View File

@ -38,13 +38,26 @@
*/
/*
#!/bin/bash
sed -i -e '\@<style>@i\ <link rel="stylesheet" href="https:\/\/gflix.app\/customfiles\/fallout.css">' /usr/local/emhttp/login.php
# add video background
INSTALLATION
cp -p /usr/local/emhttp/login.php /usr/local/emhttp/login.php.backup
#!/bin/bash \
theme=green \
sed -i -e '\@<style>@i\ <link rel="stylesheet" href="https:\/\/gflix.app\/theme.park\/CSS\/addons\/unraid\/login-page\/alien\/retro-terminal\/"$theme".css">' /usr/local/emhttp/login.php
sed -i -e '\@</body>@i\ <script type="text/javascript" src="https:\/\/gflix.app\/theme.park\/CSS\/addons\/unraid\/login-page\/alien\/retro-terminal\/js\/custom_text_header.js"></script>' /usr/local/emhttp/login.php
RESTORE
cp /usr/local/emhttp/login.php.backup /usr/local/emhttp/login.php
# add video background
sed -i -e '\@<body>@a\ div class="background-wrap"><video id="video-bg-elem" preload="auto" autoplay="true" loop="loop" muted="muted"> <source src="https:\/\/gflix.app\/customfiles\/VaultTecCRTLoop.mp4" type="video\/mp4">Video not supported<\/video><\/div>' /usr/local/emhttp/login.php
*/
@media (max-width: 500px) {
#login {
-webkit-backdrop-filter: blur(0px);
@ -360,17 +373,12 @@ logo.angle {
/ / / / /_/ (__ ) /_/ / / /_/ / / / / / / /_/ / / / / / / ,<
/_/ /_/\____/____/\__/_/ \____/_/ /_/ /_/\____/_/_/_/ /_/_/|_|
*/
/*
<div class="custom-text-header"> <pre> __ ___ __
____ ____ _____/ /__________ ____ ___ ____ / (_)___ / /__
/ __ \/ __ \/ ___/ __/ ___/ __ \/ __ `__ \/ __ \/ / / __ \/ //_/
/ __ \/ __ \/ ___/ __/ ___/ __ \/ __ '__ \/ __ \/ / / __ \/ //_/
/ / / / /_/ (__ ) /_/ / / /_/ / / / / / / /_/ / / / / / / ,&lt;
/_/ /_/\____/____/\__/_/ \____/_/ /_/ /_/\____/_/_/_/ /_/_/|_|
</pre> </div>
*/
*/

View File

@ -1,31 +1,31 @@
/*_____________________AMBER_THEME______________________*/
/*--body-before:#ffb52a1a; /* This is the background that flickers, background uses a transparency of 10%, SET IT TO BLACK TO REMOVE FLICKER! */
/*--body-after: #ffb52a33; /* This is the background that creates the crt lines, background uses a transparency of 20% */
/*_____________________WHITE_THEME______________________*/
/*--body-before:#70d7f61a; /* This is the background that flickers, background uses a transparency of 10%, SET IT TO BLACK TO REMOVE FLICKER! */
/*--body-after: #70d7f61a; /* This is the background that creates the crt lines, background uses a transparency of 20% */
/*--custom-text-header-animation: textflicker; /* SET TO NONE TO REMOVE THE FLICKER ANIMATION! */
@import url(https://gflix.app/theme.park/CSS/addons/unraid/login-page/alien/retro-terminal/retro-terminal-base.css);
:root {
--main-bg-color:black;
--body-before:#ffb52a1a;
--body-after: #ffb52a33;
--logo: url(https://gflix.app/theme.park/CSS/addons/unraid/login-page/alien/logo/nostromoyellow.png) center no-repeat;
--text-color: #ffb52a;
--input-color: #ffb52a;
--link-color: #ffb52a;
--link-color-hover: #ff6868;
--case-color: #ffb52a;
--button-text-color: #ffb52a;
--body-before:#70d7f61a;
--body-after: #70d7f633;
--logo: url(https://gflix.app/theme.park/CSS/addons/unraid/login-page/alien/logo/nostromo3.png) center no-repeat;
--text-color: #ffffff;
--input-color: #ffffff;
--link-color: #ffffff;
--link-color-hover: #8f2809;
--case-color: #ffffff;
--button-text-color: #ffffff;
--button-text-color-hover: #000;
--button-color: #ffb52a;
--button-color-hover: #ff6868;
--selection-color: #ff6868;
--custom-text-header:#ffb52a;
--custom-text-header-shadow:#ffb52a;
--button-color: #ffffff;
--button-color-hover: #af0606;
--selection-color: #8f2809;
--custom-text-header:#ffffff;
--custom-text-header-shadow:#ffffff;
--custom-text-header-animation: textflicker;
--input-font: 'Share Tech Mono', monospace;
--text-font: 'Share Tech Mono', monospace;
--loginbox-background-color: transparent;
--text-shadow: 0 0 8px;
--text-shadow-color: #ffb52a;
--text-shadow-color: #ffffff;
--box-shadow: 0 0 15px;
}
}

View File

@ -30,10 +30,12 @@
https://www.colourlovers.com/palette/3428762/Fallout?widths=1
*/
/*
#!/bin/bash
sed -i -e '\@<style>@i\ <link rel="stylesheet" href="https:\/\/gflix.app\/customfiles\/fallout.css">' /usr/local/emhttp/login.php
# add video background
sed -i -e '\@<body>@a\ div class="background-wrap"><video id="video-bg-elem" preload="auto" autoplay="true" loop="loop" muted="muted"> <source src="https:\/\/gflix.app\/customfiles\/VaultTecCRTLoop.mp4" type="video\/mp4">Video not supported<\/video><\/div>' /usr/local/emhttp/login.php
#!/bin/bash \
sed -i -e '\@<style>@i\ <link rel="stylesheet" href="https:\/\/gflix.app\/customfiles\/fallout.css">' /usr/local/emhttp/login.php
# add video background
#!/bin/bash \
sed -i -e '\@<body>@a\ div class="background-wrap"><video id="video-bg-elem" preload="auto" autoplay="true" loop="loop" muted="muted"> <source src="https:\/\/gflix.app\/customfiles\/VaultTecCRTLoop.mp4" type="video\/mp4">Video not supported<\/video><\/div>' /usr/local/emhttp/login.php
*/
}