Add: Replace Alas with SRC on frontend

This commit is contained in:
LmeSzinc 2023-09-10 01:54:17 +08:00
parent 75aa550af4
commit 3397869195
3 changed files with 128 additions and 6 deletions

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 164 KiB

After

Width:  |  Height:  |  Size: 9.3 KiB

View File

@ -1109,9 +1109,9 @@ class AlasGUI(Frame):
# show something
put_markdown(
"""
Alas is a free open source software, if you paid for Alas from any channel, please refund.
Alas 是一款免费开源软件如果你在任何渠道付费购买了Alas请退款
Project repository 项目地址`https://github.com/LmeSzinc/AzurLaneAutoScript`
SRC is a free open source software, if you paid for SRC from any channel, please refund.
SRC 是一款免费开源软件如果你在任何渠道付费购买了SRC请退款
Project repository 项目地址`https://github.com/LmeSzinc/StarRailCopilot`
"""
).style("text-align: center")
@ -1131,7 +1131,7 @@ class AlasGUI(Frame):
def run(self) -> None:
# setup gui
set_env(title="Alas", output_animation=False)
set_env(title="SRC", output_animation=False)
add_css(filepath_css("alas"))
if self.is_mobile:
add_css(filepath_css("alas-mobile"))

View File

@ -90,7 +90,7 @@ class Frame(Base):
"header",
[
put_html(Icon.ALAS).style("--header-icon--"),
put_text("Alas").style("--header-text--"),
put_text("SRC").style("--header-text--"),
put_scope("header_status"),
put_scope("header_title"),
],