Spaces:
Sleeping
Sleeping
pjgerrits
commited on
Commit
·
c6fb31a
1
Parent(s):
5a68147
style update markdown
Browse files
app.py
CHANGED
@@ -96,17 +96,17 @@ col1, col2, col3 = st.sidebar.columns(3)
|
|
96 |
with col1:
|
97 |
if st.button(":red[Start]", key="start-button", help="Place a marker on the corresponding map location", use_container_width=True):
|
98 |
st.session_state['point_type'] = 'start'
|
99 |
-
st.sidebar.markdown('<div class="start-button">Start</div>', unsafe_allow_html=True)
|
100 |
|
101 |
with col2:
|
102 |
if st.button(":orange[Lost]", key="lost-button", help="Place a marker on the corresponding map location", use_container_width=True):
|
103 |
st.session_state['point_type'] = 'lost'
|
104 |
-
st.sidebar.markdown('<div class="lost-button">Lost</div>', unsafe_allow_html=True)
|
105 |
|
106 |
with col3:
|
107 |
if st.button(":blue[End]", key="end-button", help="Place a marker on the corresponding map location", use_container_width=True):
|
108 |
st.session_state['point_type'] = 'end'
|
109 |
-
st.sidebar.markdown('<div class="end-button">End</div>', unsafe_allow_html=True)
|
110 |
|
111 |
st.sidebar.write(f"Selected Point Type: {st.session_state['point_type'].capitalize()}")
|
112 |
|
|
|
96 |
with col1:
|
97 |
if st.button(":red[Start]", key="start-button", help="Place a marker on the corresponding map location", use_container_width=True):
|
98 |
st.session_state['point_type'] = 'start'
|
99 |
+
st.sidebar.markdown('<div class="start-button">Start Point</div>', unsafe_allow_html=True)
|
100 |
|
101 |
with col2:
|
102 |
if st.button(":orange[Lost]", key="lost-button", help="Place a marker on the corresponding map location", use_container_width=True):
|
103 |
st.session_state['point_type'] = 'lost'
|
104 |
+
st.sidebar.markdown('<div class="lost-button">Lost Point</div>', unsafe_allow_html=True)
|
105 |
|
106 |
with col3:
|
107 |
if st.button(":blue[End]", key="end-button", help="Place a marker on the corresponding map location", use_container_width=True):
|
108 |
st.session_state['point_type'] = 'end'
|
109 |
+
st.sidebar.markdown('<div class="end-button">End Point</div>', unsafe_allow_html=True)
|
110 |
|
111 |
st.sidebar.write(f"Selected Point Type: {st.session_state['point_type'].capitalize()}")
|
112 |
|