[CHANGE] Move it to the top

This commit is contained in:
Peter Pfeufer 2025-08-11 09:06:27 +02:00
parent db74ddfdf5
commit 0f155369a1
No known key found for this signature in database

View File

@ -1,6 +1,23 @@
{% load i18n %}
{% load humanize %}
{% if debug %}
<div id="aa-dashboard-panel-debug" class="col-12 mb-3">
<div class="card text-bg-warning">
<div class="card-body">
{% translate "Debug mode" as widget_title %}
{% include "framework/dashboard/widget-title.html" with title=widget_title %}
<div>
<p class="text-center">
{% translate "Debug mode is currently turned on!<br>Make sure to turn it off as soon as you are finished testing." %}
</p>
</div>
</div>
</div>
</div>
{% endif %}
{% if notifications %}
<div id="aa-dashboard-panel-admin-notifications" class="col-12 mb-3">
<div class="card">
@ -118,23 +135,6 @@
</div>
</div>
{% if debug %}
<div id="aa-dashboard-panel-debug" class="col-12 mb-3">
<div class="card text-bg-warning">
<div class="card-body">
{% translate "Debug mode" as widget_title %}
{% include "framework/dashboard/widget-title.html" with title=widget_title %}
<div>
<p class="text-center">
{% translate "Debug mode is currently turned on!<br>Make sure to turn it off as soon as you are finished testing." %}
</p>
</div>
</div>
</div>
</div>
{% endif %}
<script>
const elemRunning = document.getElementById("task-counts");
const elemQueued = document.getElementById("queued-tasks-count");