from navigation import make_sidebar import streamlit as st from time import sleep import yaml make_sidebar() with st.button("Get job details"): with open(f'data/jobs/jobs.yaml', 'r') as file: jobs = yaml.safe_load(file) for key,value in jobs.item(): with st.button(f"{key}"): st.session_state["admin_job"] = key st.switch_page("pages/admin_job.py")