1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-07-23 09:16:48 +02:00

Better list tables

This commit is contained in:
Ehouarn
2025-07-17 20:07:12 +02:00
parent 249b797d5a
commit ab9abc8520
3 changed files with 26 additions and 10 deletions

View File

@ -28,3 +28,10 @@ SPDX-License-Identifier: GPL-3.0-or-later
</div>
{% endblock %}
{% block extrajavascript %}
<script type="text/javascript">
$(".table-row").click(function () {
window.document.location = $(this).data("href");
});
</script>
{% endblock %}

View File

@ -26,5 +26,13 @@ SPDX-License-Identifier: GPL-3.0-or-later
</h3>
{% render_table table %}
</div>
{% endblock %}
{% block extrajavascript %}
<script type="text/javascript">
$(".table-row").click(function () {
window.document.location = $(this).data("href");
});
</script>
{% endblock %}