Dashboard - tab명 변경

This commit is contained in:
dsk-minchulahn
2023-08-17 09:56:55 +09:00
parent b50d46400e
commit 7e8bcabfab

View File

@@ -15,7 +15,7 @@ if __name__=='__main__':
layout='wide' layout='wide'
) )
tab1, tab2 = st.tabs(["Deploy DataSaker", "Release Info"]) tab1, tab2 = st.tabs(["DataSaker", "Releases"])
with tab1: with tab1:
st.header('DataSaker') st.header('DataSaker')
@@ -24,7 +24,6 @@ if __name__=='__main__':
col1, col2 = st.columns([7, 3]) col1, col2 = st.columns([7, 3])
with col1: with col1:
st.subheader('Service') st.subheader('Service')
if st.button('Data Reload'): if st.button('Data Reload'):
git_pull() git_pull()
streamlit_js_eval(js_expressions='parent.window.location.reload()') streamlit_js_eval(js_expressions='parent.window.location.reload()')
@@ -41,7 +40,8 @@ if __name__=='__main__':
'candidate_version': st.column_config.TextColumn('Candidate Version', validate=regex), 'candidate_version': st.column_config.TextColumn('Candidate Version', validate=regex),
'release_version': st.column_config.TextColumn('Release Version', validate=regex), 'release_version': st.column_config.TextColumn('Release Version', validate=regex),
'product_version': st.column_config.TextColumn('Product Version', validate=regex) 'product_version': st.column_config.TextColumn('Product Version', validate=regex)
} },
height=800
) )
with col2: with col2:
st.text('Edited Rows') st.text('Edited Rows')