20 lines
603 B
Python
20 lines
603 B
Python
# interface.py – app/personnalisation
|
||
|
||
import streamlit as st
|
||
from utils.translations import _
|
||
from .ajout import ajouter_produit
|
||
from .modification import modifier_produit
|
||
from .import_export import importer_exporter_graph
|
||
|
||
def interface_personnalisation(G):
|
||
st.markdown(f"# {str(_('pages.personnalisation.title'))}")
|
||
with st.expander(str(_("pages.personnalisation.help")), expanded=False):
|
||
st.markdown("\n".join(_("pages.personnalisation.help_content")))
|
||
st.markdown("---")
|
||
|
||
G = ajouter_produit(G)
|
||
G = modifier_produit(G)
|
||
G = importer_exporter_graph(G)
|
||
|
||
return G
|