Spaces:
Running
Running
James McCool
commited on
Commit
·
2945395
1
Parent(s):
eb50214
Refactor Quick Fill Options in app.py by simplifying the layout of the auto-fill selections. This change enhances the user interface by removing unnecessary columns, streamlining the quick fill process for better usability in lineup management.
Browse files
app.py
CHANGED
@@ -894,14 +894,9 @@ with tab4:
|
|
894 |
st.rerun()
|
895 |
|
896 |
with st.expander("Quick Fill Options"):
|
897 |
-
col1, col2, col3, col4 = st.columns(4)
|
898 |
-
with col1:
|
899 |
auto_team_var = st.selectbox("Auto Fill Team", options=all_teams)
|
900 |
-
with col2:
|
901 |
auto_size_var = st.selectbox("Auto Fill Size", options=[3, 4, 5])
|
902 |
-
with col3:
|
903 |
auto_range_var = st.selectbox("Auto Fill Order", options=['Top', 'Mid', 'Wrap'])
|
904 |
-
with col4:
|
905 |
# --- QUICK FILL LOGIC ---
|
906 |
if st.button("Quick Fill", key="quick_fill"):
|
907 |
# 1. Get all eligible players from the selected team, not already in the lineup
|
|
|
894 |
st.rerun()
|
895 |
|
896 |
with st.expander("Quick Fill Options"):
|
|
|
|
|
897 |
auto_team_var = st.selectbox("Auto Fill Team", options=all_teams)
|
|
|
898 |
auto_size_var = st.selectbox("Auto Fill Size", options=[3, 4, 5])
|
|
|
899 |
auto_range_var = st.selectbox("Auto Fill Order", options=['Top', 'Mid', 'Wrap'])
|
|
|
900 |
# --- QUICK FILL LOGIC ---
|
901 |
if st.button("Quick Fill", key="quick_fill"):
|
902 |
# 1. Get all eligible players from the selected team, not already in the lineup
|