Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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("درخواست ر
|
| 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("رد ر
|
| 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()
|