Skip to content

Commit

Permalink
WebUI updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
iwatkot committed Feb 11, 2025
1 parent d9abb24 commit 5603fd6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 20 deletions.
4 changes: 0 additions & 4 deletions webui/generator/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,6 @@ def __init__(self):
if config.is_on_community_server():
st.error(Messages.MOVED, icon="🚜")

if config.is_on_community_server() or self.public:
with st.expander("🚨 READ THIS! SCAM ALERT! 🚨", expanded=True):
st.error(Messages.PUBLIC_WARNING)

self.add_left_widgets()

self.main_settings.map_preview()
Expand Down
16 changes: 0 additions & 16 deletions webui/templates.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,6 @@ class Messages:
"(https://www.youtube.com/watch?v=hPbJZ0HoiDE&list=PLug0g7UYHX8D1Jik6NkJjQhdxqS-NOtB9). 🆕"
)

PUBLIC_WARNING = (
"maps4fs is a completely free and open source tool, which DOES NOT REQUIRE DOWNLOADING "
"ANYTHING. \n"
"If someone asks you to PAY FOR ANYTHING, OR DOWNLOAD ANY FILE, IT'S A SCAM! \n"
"🚨 DO NOT DOWNLOAD ANY FILES FROM ANY WEBSITES, DO NOT PAY ANYONE FOR THE SOFTWARE! \n"
"IF YOU SEE A WEBSITE, WHICH OFFERS TO DOWNLOAD THE APP, IT'S A SCAM! \n"
"THE ONLY TRUSTED SOURCE OF THE INFORMATION IS THE [OFFICIAL REPOSITORY]"
"(https://github.com/iwatkot/maps4fs). \n"
"🚨 THE ONLY TRUSTED PUBLIC VERSION OF THE APP IS ON THIS WEBSITE: https://maps4fs.xyz. \n"
"🚨 DO NOT USE ANY OTHER WEBSITE WHICH OFFER YOU THE TOOL, IT'S A SCAM! \n"
"🚨 THE LOCAL VERSION DOES NOT REQUIRE TO DOWNLOAD ANYTHING, YOU ONLY NEED TO EXECUTE"
"THE DOCKER COMMAND! \n"
"If you find any website, that offers you the tool outside of the trusted links "
"please report it in the [Discord server](https://discord.gg/Sj5QKKyE42)."
)

MOVED = "The app has moved to ➡️➡️➡️ [maps4fs.xyz](https://maps4fs.xyz)"
MAIN_PAGE_COMMUNITY_WARNING = (
"🚜 Hey, farmer! \n"
Expand Down

0 comments on commit 5603fd6

Please sign in to comment.