{% extends "base.html" %}
{% block title %}Index_Root{% endblock title %}
{% block static %}
{% load static %}
{% endblock static %}
{% block content %}
{% if student %}
| # |
Name |
Mobile |
Info |
{% for s in student %}
| {{ forloop.counter }} |
{{ s.name }} |
{{ s.mobile }} |
ℹ️ |
{% endfor %}
{% else %}
No Students found. Click ➕ to add.
{% endif %}
{% if staff %}
| # |
Name |
Mobile |
Info |
{% for s in staff %}
| {{ forloop.counter }} |
{{ s.name }} |
{{ s.mobile }} |
ℹ️ |
{% endfor %}
{% else %}
No Staff found. Click ➕ to add.
{% endif %}
Deleted User
{% if inactive %}
| # |
Name |
Mobile |
User Type |
Info |
{% for s in inactive %}
| {{ forloop.counter }} |
{{ s.name }} |
{{ s.mobile }} |
{% if s.is_staff %}
Staff |
ℹ️ |
{% else %}
Student |
ℹ️ |
{% endif %}
{% endfor %}
{% else %}
No Inactive member
{% endif %}
{% if room %}
| # |
Room Number |
Type |
Info |
{% for r in room %}
| {{ forloop.counter }} |
{{ r.room_number }} |
{{ r.get_room_type_display }} |
ℹ️ |
{% endfor %}
{% else %}
No Rooms found. Click ➕ to add.
{% endif %}
{% endblock content %}
{% block footer %}
{% endblock footer %}