Compare commits

...

14 Commits

Author SHA1 Message Date
Jesse James Isler cb28e51bf1 Merge branch 'loginscreen' 2022-06-01 22:02:45 +02:00
Jesse James Isler c2b39231d8 added more spacing 2022-06-01 22:01:42 +02:00
Jesse James Isler a4066a2937 added documentation 2022-06-01 21:20:45 +02:00
Jesse James Isler 156dbab820 I hate linux sometimes
DID YOU KNOW, THAT " AND ' ARE NOT THE SAME? Variables get put through
with ther LITERAL NAME....
2022-06-01 21:11:28 +02:00
Jesse James Isler 51bd8dd07d I don't like shell :( 2022-06-01 21:07:24 +02:00
Jesse James Isler 55e2279f2e Now I got it!
Trust me, I'm in control!
2022-06-01 21:04:16 +02:00
Jesse James Isler 208dfe3879 i'm a dumbdumb 2022-06-01 20:55:19 +02:00
Jesse James Isler 3dd5ead682 i think I fixed it? 2022-06-01 20:46:49 +02:00
Jesse James Isler eab512160f Added videoid Identifier 2022-06-01 20:30:34 +02:00
Jesse James Isler 13d2513b7d remove CSS after finishing 2022-06-01 20:20:09 +02:00
Jesse James Isler 3f0198397d added Musicpatch 2022-06-01 20:19:57 +02:00
Jesse James Isler f1d2c99487 Initial 2022-06-01 19:55:27 +02:00
Jesse James Isler 92c4888e8d Renamed the loginpatches to logincss 2022-06-01 19:54:47 +02:00
Jesse James Isler 95353dca98 add blur
This should work; but not 100% certain.
2022-06-01 15:40:13 +02:00
2 changed files with 21 additions and 2 deletions

View File

@ -0,0 +1,17 @@
# Add Music to the login screen
# Videoid of the Youtube video you want to play
videoid="ZjQZxqTipHM"
# The actual embed code that embeds the video.
# This is only in case you want to change some parameters.
# Don't forget to add the $videoid near the embed!
# (In case you still want to use that, but I highly doubt that)
iframe="<iframe width='560' height='315' src='https://www.youtube-nocookie.com/embed/$videoid?autoplay=1&amp;controls=0&amp;loop=1' title='Background Music' frameborder='0' allow='autoplay;'></iframe>"
# The final string.
Video="<div class='app' style="margin-left: 25px;">$iframe</div>"
# Inject that bad boy into the foundry thing. Might break in future updates (May only need the line changed)
sed -i -e "69i $Video" /home/foundry/resources/app/templates/setup/join-game.html
# Nice

View File

@ -11,11 +11,13 @@ sed -i -e 's+url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1H
sed -i -e 's+rgb(150, 12, 16)+rgb(0, 150, 136)+g' ./foundry_login.css
sed -i -e 's+rgb(228, 9, 19)+rgb(0, 188, 170)+g' ./foundry_login.css
# Make the Width responsive
sed -i -e 's+width: 400px !important;+width: 90% !important;+g' ./foundry_login.css
# Make the Width responsive and add a sick blur effect
sed -i -e 's+width: 400px !important;+width: 90% !important;backdrop-filter: blur(7px) !important;+g' ./foundry_login.css
# Append to the Foundry Style.css
cat ./foundry_login.css >> /home/foundry/resources/app/public/css/style.css
rm ./foundry_login.css
# Note: this is how dockerized Foundry likes to handle the sed... or linux... whatever it's a note, don't read into it
#sed -i -e 's+A+B+g' ./foundry_login.css