Skip to content

Commit

Permalink
add wix login title
Browse files Browse the repository at this point in the history
  • Loading branch information
linancn committed Oct 23, 2023
1 parent e7a98ea commit 84ae883
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/ui/tiangong-en.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
ui_data = {
"need_fixed_passwd": False,
"wix_login_title": "TianGong Login",
"wix_login_username_label": "Email Address",
"wix_login_password_label": "Password",
"wix_login_button_label": "Log in",
Expand Down
1 change: 1 addition & 0 deletions src/ui_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ class Theme:
@dataclass
class UI:
need_fixed_passwd: bool
wix_login_title: str
wix_login_username_label: str
wix_login_password_label: str
wix_login_button_label: str
Expand Down
1 change: 1 addition & 0 deletions src/wix_oauth.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ def check_wix_oauth() -> (bool, str, str):
_, col_center, _ = st.columns(3)

with col_center:
st.markdown(ui.wix_login_title)
with st.form(key="login_form"):
username = st.text_input(ui.wix_login_username_label)
password = st.text_input(ui.wix_login_password_label, type="password")
Expand Down

0 comments on commit 84ae883

Please sign in to comment.