removing unnecessary html code in points route .

- version : 2.5
- Description : the last stable Flask app in a single file
- TODO :
* Clean architecture refactoring .
* Adding authentication and advanced settings .
* Performance and security improvements .

//############################################//
	modified:   templates/points.html
//############################################/
هذا الالتزام موجود في:
2025-09-30 14:28:39 +03:00
الأصل 89f5c1a425
التزام 56652a73fc

عرض الملف

@@ -71,34 +71,6 @@
</form>
</div>
<div class="bg-white p-6 rounded-xl shadow-lg">
<h2 class="text-2xl font-semibold mb-4 text-gray-800 border-b pb-4">قائمة الطلاب والنقاط</h2>
<div class="overflow-x-auto">
<table class="min-w-full divide-y divide-gray-200 text-right">
<thead class="bg-gray-50">
<tr>
<th class="px-6 py-3 text-xs font-medium text-gray-500 uppercase tracking-wider">#</th>
<th class="px-6 py-3 text-xs font-medium text-gray-500 uppercase tracking-wider">اسم الطالب</th>
<th class="px-6 py-3 text-xs font-medium text-gray-500 uppercase tracking-wider">النقاط</th>
</tr>
</thead>
<tbody class="bg-white divide-y divide-gray-200">
{% for student in students %}
<tr class="hover:bg-gray-50 transition-colors duration-200">
<td class="px-6 py-4 whitespace-nowrap text-sm font-bold text-gray-700">{{ loop.index }}</td>
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">{{ student.student_name }}</td>
<td class="px-6 py-4 whitespace-nowrap text-lg font-semibold text-blue-700">{{ student.points }}</td>
</tr>
{% else %}
<tr>
<td colspan="3" class="text-center py-6 text-gray-500">لم تتم إضافة أي طالب بعد.</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</div>
<script>
const addPointsBtn = document.getElementById('add-points-btn');
const removePointsBtn = document.getElementById('remove-points-btn');
@@ -291,4 +263,4 @@
});
}
</script>
{% endblock %}
{% endblock %}