Spaces:
Sleeping
Sleeping
Update src/ui/components.py
Browse files- src/ui/components.py +3 -3
src/ui/components.py
CHANGED
|
@@ -57,19 +57,19 @@ def render_step_indicator(current_step: int):
|
|
| 57 |
if i < current_step:
|
| 58 |
# Done
|
| 59 |
st.markdown(
|
| 60 |
-
f"<div
|
| 61 |
unsafe_allow_html=True,
|
| 62 |
)
|
| 63 |
elif i == current_step:
|
| 64 |
# Active
|
| 65 |
st.markdown(
|
| 66 |
-
f"<div
|
| 67 |
unsafe_allow_html=True,
|
| 68 |
)
|
| 69 |
else:
|
| 70 |
# Pending
|
| 71 |
st.markdown(
|
| 72 |
-
f"<div
|
| 73 |
unsafe_allow_html=True,
|
| 74 |
)
|
| 75 |
|
|
|
|
| 57 |
if i < current_step:
|
| 58 |
# Done
|
| 59 |
st.markdown(
|
| 60 |
+
f"<div class='hp-step done'>✓ {label}</div>"
|
| 61 |
unsafe_allow_html=True,
|
| 62 |
)
|
| 63 |
elif i == current_step:
|
| 64 |
# Active
|
| 65 |
st.markdown(
|
| 66 |
+
f"<div class='hp-step active'>◉ {label}</div>",
|
| 67 |
unsafe_allow_html=True,
|
| 68 |
)
|
| 69 |
else:
|
| 70 |
# Pending
|
| 71 |
st.markdown(
|
| 72 |
+
f"<div class='hp-step pending'>○ {label}</div>"
|
| 73 |
unsafe_allow_html=True,
|
| 74 |
)
|
| 75 |
|