DivYonko commited on
Commit
d96515a
Β·
1 Parent(s): ec9211d

Add warning: switch to Stats tab before clicking export button

Browse files
Files changed (2) hide show
  1. app.py +5 -0
  2. frontend/streamlit_app.py +5 -0
app.py CHANGED
@@ -1100,6 +1100,11 @@ with st.sidebar:
1100
 
1101
  # -- Export --
1102
  st.markdown('<p style="font-size:0.68rem;font-weight:700;color:var(--accent);text-transform:uppercase;letter-spacing:0.1em;margin-bottom:8px;">Export</p>', unsafe_allow_html=True)
 
 
 
 
 
1103
  import streamlit.components.v1 as _comp
1104
  _comp.html("""
1105
  <div style="padding:2px 0;">
 
1100
 
1101
  # -- Export --
1102
  st.markdown('<p style="font-size:0.68rem;font-weight:700;color:var(--accent);text-transform:uppercase;letter-spacing:0.1em;margin-bottom:8px;">Export</p>', unsafe_allow_html=True)
1103
+ st.markdown(
1104
+ '<div style="font-size:0.7rem;color:var(--text-3);margin-bottom:6px;">'
1105
+ '\u26a0\ufe0f Go to <b style="color:var(--accent-text);">Stats &amp; Info</b> tab first, then click.</div>',
1106
+ unsafe_allow_html=True
1107
+ )
1108
  import streamlit.components.v1 as _comp
1109
  _comp.html("""
1110
  <div style="padding:2px 0;">
frontend/streamlit_app.py CHANGED
@@ -761,6 +761,11 @@ with st.sidebar:
761
 
762
  # ── Export ──
763
  st.markdown('<p style="font-size:0.68rem;font-weight:700;color:var(--accent);text-transform:uppercase;letter-spacing:0.1em;margin-bottom:8px;">Export</p>', unsafe_allow_html=True)
 
 
 
 
 
764
  import streamlit.components.v1 as _comp2
765
  _comp2.html("""
766
  <div style="padding:2px 0;">
 
761
 
762
  # ── Export ──
763
  st.markdown('<p style="font-size:0.68rem;font-weight:700;color:var(--accent);text-transform:uppercase;letter-spacing:0.1em;margin-bottom:8px;">Export</p>', unsafe_allow_html=True)
764
+ st.markdown(
765
+ '<div style="font-size:0.7rem;color:var(--text-3);margin-bottom:6px;">'
766
+ '\u26a0\ufe0f Go to <b style="color:var(--accent-text);">Stats &amp; Info</b> tab first, then click.</div>',
767
+ unsafe_allow_html=True
768
+ )
769
  import streamlit.components.v1 as _comp2
770
  _comp2.html("""
771
  <div style="padding:2px 0;">