|
|
|
|
|
|
|
""" |
|
وحدة تطبيق نظام الإشعارات الذكي لتحديثات المشروع والتنبيهات |
|
""" |
|
|
|
import os |
|
import sys |
|
import streamlit as st |
|
import pandas as pd |
|
import numpy as np |
|
|
|
|
|
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), "../.."))) |
|
|
|
|
|
from modules.notifications.smart_notifications import SmartNotificationSystem |
|
|
|
|
|
class NotificationsApp: |
|
"""وحدة تطبيق نظام الإشعارات الذكي""" |
|
|
|
def __init__(self): |
|
"""تهيئة وحدة تطبيق نظام الإشعارات الذكي""" |
|
self.smart_notification_system = SmartNotificationSystem() |
|
|
|
def render(self): |
|
"""عرض واجهة وحدة تطبيق نظام الإشعارات الذكي""" |
|
st.markdown("<h2 class='module-title'>نظام الإشعارات الذكي لتحديثات المشروع والتنبيهات</h2>", unsafe_allow_html=True) |
|
|
|
st.markdown(""" |
|
<div class="module-description"> |
|
يتيح لك نظام الإشعارات الذكي متابعة تحديثات المشاريع وتلقي تنبيهات مخصصة حسب أدوارك واهتماماتك. |
|
يمكنك تخصيص إعدادات الإشعارات وجدولة التذكيرات للمواعيد النهائية والمهام. |
|
</div> |
|
""", unsafe_allow_html=True) |
|
|
|
|
|
self.smart_notification_system.render() |
|
|
|
|
|
|
|
if __name__ == "__main__": |
|
st.set_page_config( |
|
page_title="نظام الإشعارات الذكي | WAHBi AI", |
|
page_icon="🔔", |
|
layout="wide", |
|
initial_sidebar_state="expanded" |
|
) |
|
|
|
app = NotificationsApp() |
|
app.render() |