Spaces:
Sleeping
Sleeping
Update pages/notificaciones.py
Browse files- pages/notificaciones.py +12 -2
pages/notificaciones.py
CHANGED
|
@@ -1,6 +1,16 @@
|
|
| 1 |
# pages/notificaciones.py
|
| 2 |
import streamlit as st
|
| 3 |
-
from utils.data_manager import generar_notificaciones_pendientes
|
| 4 |
|
| 5 |
def show():
|
| 6 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# pages/notificaciones.py
|
| 2 |
import streamlit as st
|
|
|
|
| 3 |
|
| 4 |
def show():
|
| 5 |
+
st.title("🔔 Notificaciones")
|
| 6 |
+
|
| 7 |
+
# Agregar un ejemplo de notificación
|
| 8 |
+
st.info("📢 Bienvenido a la página de notificaciones!")
|
| 9 |
+
|
| 10 |
+
# Simular una notificación de nuevo pedido
|
| 11 |
+
if st.button("Simular Notificación de Nuevo Pedido"):
|
| 12 |
+
st.success("🛒 ¡Nuevo pedido recibido!")
|
| 13 |
+
|
| 14 |
+
# Simular una notificación de pedido completado
|
| 15 |
+
if st.button("Simular Notificación de Pedido Completado"):
|
| 16 |
+
st.success("✅ Pedido completado y listo para entregar.")
|