Spaces:
Sleeping
Sleeping
Maryam Ilka commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -234,15 +234,15 @@ st.markdown("""
|
|
| 234 |
}
|
| 235 |
|
| 236 |
/* دکمه سبز (ثالث) */
|
| 237 |
-
.
|
| 238 |
-
|
|
|
|
| 239 |
background-color: #28a745 !important; /* رنگ سبز */
|
| 240 |
color: white !important;
|
| 241 |
border: none !important;
|
| 242 |
border-radius: 8px !important;
|
| 243 |
padding: 10px 20px !important;
|
| 244 |
font-weight: bold !important;
|
| 245 |
-
width: 100% !important;
|
| 246 |
}
|
| 247 |
|
| 248 |
|
|
@@ -611,8 +611,7 @@ def attention_check1():
|
|
| 611 |
key="att1_radio"
|
| 612 |
)
|
| 613 |
|
| 614 |
-
if st.
|
| 615 |
-
kwargs={"class": "green-btn"}):
|
| 616 |
if answer:
|
| 617 |
st.session_state.attention_check1 = answer # ذخیره پاسخ در session_state
|
| 618 |
st.session_state.current_page = "random_likert_questions"
|
|
|
|
| 234 |
}
|
| 235 |
|
| 236 |
/* دکمه سبز (ثالث) */
|
| 237 |
+
.stGreenButton>button,
|
| 238 |
+
[data-testid="baseButton-third"],
|
| 239 |
+
.green-btn {
|
| 240 |
background-color: #28a745 !important; /* رنگ سبز */
|
| 241 |
color: white !important;
|
| 242 |
border: none !important;
|
| 243 |
border-radius: 8px !important;
|
| 244 |
padding: 10px 20px !important;
|
| 245 |
font-weight: bold !important;
|
|
|
|
| 246 |
}
|
| 247 |
|
| 248 |
|
|
|
|
| 611 |
key="att1_radio"
|
| 612 |
)
|
| 613 |
|
| 614 |
+
if st.green_button("ادامه")
|
|
|
|
| 615 |
if answer:
|
| 616 |
st.session_state.attention_check1 = answer # ذخیره پاسخ در session_state
|
| 617 |
st.session_state.current_page = "random_likert_questions"
|