Insertion Logo

This commit is contained in:
2025-12-15 14:43:03 +01:00
parent d54832e558
commit b4c2ca8400
2 changed files with 10 additions and 0 deletions

BIN
app/assets/Logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 746 KiB

View File

@@ -12,17 +12,27 @@ import mysql.connector
import pandas as pd import pandas as pd
pd.set_option("future.no_silent_downcasting", True) pd.set_option("future.no_silent_downcasting", True)
import streamlit as st import streamlit as st
from PIL import Image
from dotenv import find_dotenv, load_dotenv from dotenv import find_dotenv, load_dotenv
from fpdf import FPDF from fpdf import FPDF
from streamlit_autorefresh import st_autorefresh from streamlit_autorefresh import st_autorefresh
# ========================================================= # =========================================================
# Config de page # Config de page
# ========================================================= # =========================================================
st.set_page_config(page_title="Domo91 - Surveillance", layout="wide") st.set_page_config(page_title="Domo91 - Surveillance", layout="wide")
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
logo_path = os.path.join(BASE_DIR, "assets", "Logo.png")
logo = Image.open(logo_path)
st.sidebar.image(logo, use_container_width=True)
st.title("📊 Domo91 - Surveillance des sondes") st.title("📊 Domo91 - Surveillance des sondes")
st.write("Bienvenue sur lapplication de supervision.") st.write("Bienvenue sur lapplication de supervision.")
# ========================================================= # =========================================================
# ENV & DB # ENV & DB
# ========================================================= # =========================================================