GSMEthesis commited on
Commit
dd006d6
·
verified ·
1 Parent(s): 9294795

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -9
app.py CHANGED
@@ -487,14 +487,8 @@ div[data-testid="stVerticalBlock"] > div[data-testid="stHorizontalBlock"] > div
487
  color: #6A0DAD;
488
  }
489
 
490
- /* دکمه ادامه */
491
- .stButton > button {
492
- background-color: #6A0DAD !important;
493
- color: white !important;
494
- margin-top: 20px !important;
495
- }
496
 
497
- /* استایل تضمینی برای رادیو باتن‌ها - نسخه نهایی */
498
  .stRadio > div > div > div > div > div > label,
499
  .stRadio > div > div > div > div > label,
500
  .stRadio > div > div > div > label,
@@ -1024,13 +1018,13 @@ def map_view():
1024
  # دکمه‌ها
1025
  col1, col2 = st.columns(2)
1026
  with col1:
1027
- if st.button("درخواست رهیار", key="accept_btn", use_container_width=True):
1028
  st.session_state.price_accepted = 1
1029
  st.session_state.current_page = "attention_check1"
1030
  st.rerun()
1031
 
1032
  with col2:
1033
- if st.button("رد رهیار", key="reject_btn", use_container_width=True):
1034
  st.session_state.price_accepted = 0
1035
  st.session_state.current_page = "attention_check1"
1036
  st.rerun()
 
487
  color: #6A0DAD;
488
  }
489
 
 
 
 
 
 
 
490
 
491
+ /* استایل تضمینی برای رادیو باتن‌ها - نسخه نهایی */
492
  .stRadio > div > div > div > div > div > label,
493
  .stRadio > div > div > div > div > label,
494
  .stRadio > div > div > div > label,
 
1018
  # دکمه‌ها
1019
  col1, col2 = st.columns(2)
1020
  with col1:
1021
+ if st.button("درخواست سفر", key="accept_btn", use_container_width=True):
1022
  st.session_state.price_accepted = 1
1023
  st.session_state.current_page = "attention_check1"
1024
  st.rerun()
1025
 
1026
  with col2:
1027
+ if st.button("رد سفر", key="reject_btn", use_container_width=True):
1028
  st.session_state.price_accepted = 0
1029
  st.session_state.current_page = "attention_check1"
1030
  st.rerun()