Insertion Logo
This commit is contained in:
BIN
app/assets/Logo.png
Normal file
BIN
app/assets/Logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 746 KiB |
@@ -12,17 +12,27 @@ import mysql.connector
|
||||
import pandas as pd
|
||||
pd.set_option("future.no_silent_downcasting", True)
|
||||
import streamlit as st
|
||||
from PIL import Image
|
||||
from dotenv import find_dotenv, load_dotenv
|
||||
from fpdf import FPDF
|
||||
from streamlit_autorefresh import st_autorefresh
|
||||
|
||||
|
||||
# =========================================================
|
||||
# Config de page
|
||||
# =========================================================
|
||||
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.write("Bienvenue sur l’application de supervision.")
|
||||
|
||||
|
||||
# =========================================================
|
||||
# ENV & DB
|
||||
# =========================================================
|
||||
|
||||
Reference in New Issue
Block a user