From 5922c4a47dd8138a552ff5fa3b2eb2af92af9167 Mon Sep 17 00:00:00 2001 From: Michel Date: Mon, 21 Apr 2025 12:45:28 +0000 Subject: [PATCH] Actualiser domo91.py --- domo91.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/domo91.py b/domo91.py index efb8231..436372a 100644 --- a/domo91.py +++ b/domo91.py @@ -375,7 +375,7 @@ if st.session_state["authenticated"]: except Exception as e: st.error(f"Erreur MySQL : {e}") if st.session_state["role"] == "superviseur": - with st.expander("➕ Ajouter une nouvelle chambre froide", expanded=False): + with st.expander("+ Ajouter une nouvelle chambre froide", expanded=False): with st.form("ajout_sonde"): nouvelle_sonde = st.text_input("Nom de la sonde") temp_max = st.number_input("Température maximale autorisée (°C)", value=4) @@ -432,13 +432,13 @@ if st.session_state["role"] == "superviseur": temp_max = chambre["Temp_Max"] moins, val, plus = st.columns([1, 2, 1]) with moins: - if st.button("➖", key=f"moins_{chambre['Id']}"): + if st.button("-", key=f"moins_{chambre['Id']}"): temp_max -= 1 with val: st.markdown(f"
{temp_max}°C
", unsafe_allow_html=True) with plus: - if st.button("➕", key=f"plus_{chambre['Id']}"): + if st.button("+", key=f"plus_{chambre['Id']}"): temp_max += 1 if new_etat != chambre["Etat"] or temp_max != chambre["Temp_Max"]: