diff --git a/templates/index.html b/templates/index.html index 6e7dbe0..7971f05 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,179 +1,143 @@ - - - - - - بيانات الطلاب - - - - - - - +{% extends 'template.html' %} -
+{% block title %}الصفحة الرئيسية{% endblock %} {# Specific title for this page #} -
- {% with messages = get_flashed_messages(with_categories=true) %} - {% if messages %} - {% for category, message in messages %} - {% set bg_color = 'bg-blue-100 border-blue-500 text-blue-700' %} - {% if category == 'success' %}{% set bg_color = 'bg-green-100 border-green-500 text-green-700' %}{% endif %} - {% if category == 'danger' %}{% set bg_color = 'bg-red-100 border-red-500 text-red-700' %}{% endif %} - {% if category == 'warning' %}{% set bg_color = 'bg-yellow-100 border-yellow-500 text-yellow-700' %}{% endif %} - - {% endfor %} - {% endif %} - {% endwith %} -
+{% block content %} +
+

نظام إدارة الطلاب

+

أدخل بيانات الطلاب يدوياً أو قم باستيراد ملف CSV.

+
-
-

نظام إدارة الطلاب

-

أدخل بيانات الطلاب يدوياً أو قم باستيراد ملف CSV.

-
- -