| import streamlit as st |
| from organisations_engagees import display_organisations_engagees |
| from localisation import display_map |
| from statistiques import main as display_statistics |
| from ActionsRSE import display_actions_rse |
|
|
| |
| def main(): |
| st.sidebar.title("Open Data RSE Bordeaux Métropole") |
| app_mode = st.sidebar.radio("Choisissez l'onglet", ["Organisations engagées", "Localisations", "Statistiques", "Actions RSE"]) |
|
|
| if app_mode == "Organisations engagées": |
| display_organisations_engagees() |
| elif app_mode == "Localisations": |
| display_map() |
| elif app_mode == "Statistiques": |
| display_statistics() |
| elif app_mode == "Actions RSE": |
| display_actions_rse() |
|
|
| |
| st.sidebar.markdown("---") |
| st.sidebar.markdown("Powered by **bziiit IA RSE**") |
| st.sidebar.markdown("---") |
| st.sidebar.markdown("2024 : Open source en Licence MIT") |
| st.sidebar.markdown("---") |
|
|
| if __name__ == "__main__": |
| main() |