mirror of
https://github.com/chrisnov-it/quantumbotx.git
synced 2026-07-28 11:17:44 +00:00
8461cece64
- Add functions to fetch unread notifications and bot details - Improve error handling and logging in database operations - Update routes to utilize new query functions - Ensure consistency and completeness in database interactions
17 lines
560 B
HTML
17 lines
560 B
HTML
<!-- templates/notifications.html (Setelah Refactor) -->
|
|
{% extends "base.html" %}
|
|
|
|
|
|
{% block content %}
|
|
<h2 class="text-2xl font-bold text-gray-800 mb-6">Notifikasi</h2>
|
|
<div class="bg-white rounded-lg shadow">
|
|
<!-- Kontainer ini akan diisi oleh JavaScript -->
|
|
<div id="notifications-container" class="divide-y divide-gray-200">
|
|
<p class="p-6 text-center text-gray-500">Memuat notifikasi...</p>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|
|
|
|
{% block scripts %}
|
|
<script src="{{ url_for('static', filename='js/notifications.js') }}"></script>
|
|
{% endblock %} |