mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-10-02 02:43:44 +00:00
chore(dashboard): drop the tabs on Server Health, Instance Load and Diagnostics
The three pages had in-page tabs linking to each other, the same links as the Logs & Health sidebar group. Removed the tabs (health_tabs template); each page is still in the sidebar. Diagnostics gets an <h2> heading like the other two, since the tab was its only title. The log pages had no tabs. Check: Server Health, Instance Load and Diagnostics open from the sidebar with no tab row; Diagnostics shows its heading; the range and server controls still sit on the right. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -26,11 +26,12 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% include "health_tabs.jinja2" %}
|
||||
|
||||
<div class="d-flex flex-wrap justify-content-between align-items-end gap-2 mb-3">
|
||||
<p class="text-body-secondary mb-0 small">Packets and bytes every server sends and receives, and the HTTP requests of the dashboard and UGC server.
|
||||
The last hour is kept at one second in memory; minutes are stored for <code>traffic_days</code>. Prometheus: <code>darkflame_net_*</code>, <code>darkflame_http_*</code>.</p>
|
||||
<div>
|
||||
<h2 class="mb-1">Diagnostics</h2>
|
||||
<p class="text-body-secondary mb-0 small">Packets and bytes every server sends and receives, and the HTTP requests of the dashboard and UGC server.
|
||||
The last hour is kept at one second in memory; minutes are stored for <code>traffic_days</code>. Prometheus: <code>darkflame_net_*</code>, <code>darkflame_http_*</code>.</p>
|
||||
</div>
|
||||
<div class="d-flex flex-wrap gap-2 align-items-center">
|
||||
<select class="form-select form-select-sm w-auto" id="serverFilter" aria-label="Server"><option value="">All servers</option></select>
|
||||
<div class="btn-group btn-group-sm text-nowrap" role="group" aria-label="Range">
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% include "health_tabs.jinja2" %}
|
||||
<div class="d-flex flex-wrap justify-content-between align-items-end gap-3 mb-3">
|
||||
<div>
|
||||
<h2 class="mb-1">Server Health</h2>
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
<ul class="nav nav-tabs mb-3">
|
||||
<li class="nav-item"><a class="nav-link{% if current_page == "health" %} active" aria-current="page{% endif %}" href="/health">Server Health</a></li>
|
||||
<li class="nav-item"><a class="nav-link{% if current_page == "instances" %} active" aria-current="page{% endif %}" href="/instances">Instance Load</a></li>
|
||||
<li class="nav-item"><a class="nav-link{% if current_page == "diagnostics" %} active" aria-current="page{% endif %}" href="/diagnostics">Diagnostics</a></li>
|
||||
</ul>
|
||||
@@ -13,7 +13,6 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% include "health_tabs.jinja2" %}
|
||||
<div class="d-flex flex-wrap justify-content-between align-items-end gap-3 mb-3">
|
||||
<div>
|
||||
<h2 class="mb-1">Instance Load</h2>
|
||||
|
||||
Reference in New Issue
Block a user