2021-09-22 20:47:10 +02:00
|
|
|
{% extends 'base.twig' %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<ul class="nav nav-tabs" role="tablist">
|
2022-03-31 10:09:25 +02:00
|
|
|
<li role="presentation" class="nav-item"><button class="nav-link active" data-bs-target="#tab-containers" aria-controls="tab-containers" role="tab" data-bs-toggle="tab">{{ lang.debug.system_containers }}</button></li>
|
|
|
|
<li class="nav-item dropdown">
|
2022-03-31 20:16:44 +02:00
|
|
|
<a class="nav-link dropdown-toggle" data-bs-toggle="dropdown" href="#">{{ lang.debug.logs }}</a>
|
2021-09-22 20:47:10 +02:00
|
|
|
<ul class="dropdown-menu">
|
2022-03-31 10:09:25 +02:00
|
|
|
<li role="presentation"><span class="dropdown-header fs-6">{{ lang.debug.in_memory_logs }}</span></li>
|
2022-06-07 15:28:28 +02:00
|
|
|
<li role="presentation"><button class="dropdown-item" data-bs-target="#tab-postfix-logs" aria-selected="false" aria-controls="tab-postfix-logs" role="tab" data-bs-toggle="tab">Postfix</button></li>
|
|
|
|
<li role="presentation"><button class="dropdown-item" data-bs-target="#tab-dovecot-logs" aria-selected="false" aria-controls="tab-dovecot-logs" role="tab" data-bs-toggle="tab">Dovecot</button></li>
|
|
|
|
<li role="presentation"><button class="dropdown-item" data-bs-target="#tab-sogo-logs" aria-selected="false" aria-controls="tab-sogo-logs" role="tab" data-bs-toggle="tab">SOGo</button></li>
|
|
|
|
<li role="presentation"><button class="dropdown-item" data-bs-target="#tab-netfilter-logs" aria-selected="false" aria-controls="tab-netfilter-logs" role="tab" data-bs-toggle="tab">Netfilter</button></li>
|
|
|
|
<li role="presentation"><button class="dropdown-item" data-bs-target="#tab-autodiscover-logs" aria-selected="false" aria-controls="tab-autodiscover-logs" role="tab" data-bs-toggle="tab">Autodiscover</button></li>
|
|
|
|
<li role="presentation"><button class="dropdown-item" data-bs-target="#tab-watchdog-logs" aria-selected="false" aria-controls="tab-watchdog-logs" role="tab" data-bs-toggle="tab">Watchdog</button></li>
|
|
|
|
<li role="presentation"><button class="dropdown-item" data-bs-target="#tab-acme-logs" aria-selected="false" aria-controls="tab-acme-logs" role="tab" data-bs-toggle="tab">ACME</button></li>
|
|
|
|
<li role="presentation"><button class="dropdown-item" data-bs-target="#tab-api-logs" aria-selected="false" aria-controls="tab-api-logs" role="tab" data-bs-toggle="tab">API</button></li>
|
|
|
|
<li role="presentation"><button class="dropdown-item" data-bs-target="#tab-api-rl" aria-selected="false" aria-controls="tab-api-rl" role="tab" data-bs-toggle="tab">Ratelimits</button></li>
|
2022-03-31 10:09:25 +02:00
|
|
|
<li role="presentation"><span class="dropdown-header fs-6">{{ lang.debug.external_logs }}</span></li>
|
2022-06-07 15:28:28 +02:00
|
|
|
<li role="presentation"><button class="dropdown-item" data-bs-target="#tab-rspamd-history" aria-selected="false" aria-controls="tab-rspamd-history" role="tab" data-bs-toggle="tab">Rspamd</button></li>
|
2022-03-31 10:09:25 +02:00
|
|
|
<li role="presentation"><span class="dropdown-header fs-6">{{ lang.debug.static_logs }}</span></li>
|
2022-06-07 15:28:28 +02:00
|
|
|
<li role="presentation"><button class="dropdown-item" data-bs-target="#tab-ui" aria-selected="false" aria-controls="tab-ui" role="tab" data-bs-toggle="tab">Mailcow UI</button></li>
|
|
|
|
<li role="presentation"><button class="dropdown-item" data-bs-target="#tab-sasl" aria-selected="false" aria-controls="tab-sasl" role="tab" data-bs-toggle="tab">SASL</button></li>
|
2021-09-22 20:47:10 +02:00
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<div class="tab-content" style="padding-top:20px">
|
|
|
|
<div role="tabpanel" class="tab-pane active" id="tab-containers">
|
2022-08-09 20:29:33 +02:00
|
|
|
|
2022-04-13 16:37:52 +02:00
|
|
|
<div class="card mb-4">
|
2022-10-11 11:41:06 +02:00
|
|
|
<div class="card-header fs-5">
|
2022-10-12 09:20:57 +02:00
|
|
|
<span>{{ ui_texts.title_name|raw }}</span>
|
2021-09-22 20:47:10 +02:00
|
|
|
</div>
|
2022-03-31 11:37:14 +02:00
|
|
|
<div class="card-body">
|
2021-09-22 20:47:10 +02:00
|
|
|
<div class="row">
|
2022-08-09 20:29:33 +02:00
|
|
|
<div class="col-sm-12 col-md-4 d-flex flex-column">
|
2022-10-19 11:36:07 +02:00
|
|
|
<img class="img-responsive my-auto m-auto" alt="mailcow-logo" style="max-width: 85%; max-height: 85%;" src="{{ logo|default('/img/cow_mailcow.svg') }}">
|
2021-09-22 20:47:10 +02:00
|
|
|
</div>
|
2022-08-09 20:29:33 +02:00
|
|
|
<div class="col-sm-12 col-md-8">
|
|
|
|
<div class="table-responsive" style="margin-top: 10px;">
|
|
|
|
<table class="table table-striped table-condensed">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td>Hostname</td>
|
2022-08-23 12:43:23 +02:00
|
|
|
<td class="text-break"><div>
|
2022-08-09 20:29:33 +02:00
|
|
|
<p><b>{{ hostname }}</b></p>
|
|
|
|
</div></td>
|
|
|
|
</tr>
|
2022-09-26 12:19:51 +02:00
|
|
|
<tr>
|
|
|
|
<td>IPs</td>
|
|
|
|
<td class="text-break">
|
2022-10-11 17:40:46 +02:00
|
|
|
<span class="d-block" id="host_ipv4">-</span>
|
|
|
|
<span class="d-block" id="host_ipv6">-</span>
|
2022-09-26 12:19:51 +02:00
|
|
|
</td>
|
|
|
|
</tr>
|
2022-08-09 20:29:33 +02:00
|
|
|
<tr>
|
|
|
|
<td>Version</td>
|
2022-08-23 12:43:23 +02:00
|
|
|
<td class="text-break"><div>
|
2022-08-09 20:29:33 +02:00
|
|
|
<p><b>{{ mailcow_info.version_tag }}</b></p>
|
|
|
|
<p id="mailcow_update"></p>
|
|
|
|
</div></td>
|
|
|
|
</tr>
|
2022-08-30 15:59:16 +02:00
|
|
|
{% if mailcow_info.mailcow_branch|lower == "master" %}
|
2022-08-09 20:29:33 +02:00
|
|
|
<tr>
|
|
|
|
<td>Changelog</td>
|
2022-08-23 12:43:23 +02:00
|
|
|
<td class="text-break"><a href="{{ mailcow_info.project_url }}/releases/tag/{{ mailcow_info.version_tag }}" target="_blank">
|
2022-08-09 20:29:33 +02:00
|
|
|
{{ mailcow_info.project_url }}/releases/tag/{{ mailcow_info.version_tag }}
|
|
|
|
</a></td>
|
|
|
|
</tr>
|
2022-08-30 15:59:16 +02:00
|
|
|
{% endif %}
|
2022-08-09 20:29:33 +02:00
|
|
|
<tr>
|
|
|
|
<td>{{ lang.debug.current_time }}</td>
|
2022-08-23 12:43:23 +02:00
|
|
|
<td id="host_date" class="text-break">-</td>
|
2022-08-09 20:29:33 +02:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>{{ lang.debug.timezone }}</td>
|
2022-08-23 12:43:23 +02:00
|
|
|
<td class="text-break">{{ timezone }}</td>
|
2022-08-09 20:29:33 +02:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>{{ lang.debug.uptime }}</td>
|
2022-08-23 12:43:23 +02:00
|
|
|
<td id="host_uptime" class="text-break">-</td>
|
2022-08-09 20:29:33 +02:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2022-10-19 15:57:57 +02:00
|
|
|
<td>{{ lang.debug.disk_usage }}</td>
|
2022-08-23 12:43:23 +02:00
|
|
|
<td class="text-break">
|
2022-08-22 16:08:01 +02:00
|
|
|
<div>
|
|
|
|
<span class="d-block"><i class="bi bi-hdd-fill"></i> {{ vmail_df[0] }}</span>
|
|
|
|
<span class="d-block">{{ vmail_df[2] }} / {{ vmail_df[1] }} ({{ vmail_df[4] }})</span>
|
|
|
|
</div>
|
|
|
|
<div class="mt-2 mb-4">
|
|
|
|
<div class="progress">
|
|
|
|
<div class="progress-bar bg-info" role="progressbar" style="width:{{ vmail_df[4] }}"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-08-09 20:29:33 +02:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2022-08-10 10:56:10 +02:00
|
|
|
<div class="col-sm-6 mt-4">
|
2022-08-22 16:08:01 +02:00
|
|
|
<h3>CPU</h3>
|
2022-10-19 15:57:57 +02:00
|
|
|
<h5><span id="host_cpu_cores">-</span> {{ lang.debug.cores }} @ <span id="host_cpu_usage"></span></h5>
|
2022-08-22 16:08:01 +02:00
|
|
|
<canvas id="host_cpu_chart" width="400" height="200"></canvas>
|
2022-08-09 20:29:33 +02:00
|
|
|
</div>
|
2022-08-10 10:56:10 +02:00
|
|
|
<div class="col-sm-6 mt-4">
|
2022-10-19 15:57:57 +02:00
|
|
|
<h3>{{ lang.debug.memory|upper}}</h3>
|
2022-08-22 16:08:01 +02:00
|
|
|
<h5><span id="host_memory_total">-</span> @ <span id="host_memory_usage"></span></h5>
|
|
|
|
<canvas id="host_mem_chart" width="400" height="200"></canvas>
|
2022-08-09 20:29:33 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col-sm-12">
|
|
|
|
<legend class="mt-4">
|
|
|
|
{{ lang.admin.guid_and_license }}
|
|
|
|
</legend>
|
|
|
|
<hr />
|
|
|
|
<div id="license">
|
|
|
|
<form class="form-horizontal" autocapitalize="none" autocorrect="off" role="form" method="post">
|
|
|
|
<div class="row">
|
|
|
|
<label class="control-label col-sm-3" for="guid">{{ lang.admin.guid }}:</label>
|
|
|
|
<div class="col-sm-9">
|
|
|
|
<div class="input-group">
|
|
|
|
<span class="input-group-text">
|
|
|
|
<i class="bi bi-suit-heart{% if gal.valid == true %}-fill text-danger{% endif %}"></i>
|
|
|
|
</span>
|
|
|
|
<input type="text" id="guid" class="form-control" value="{{ license_guid }}" readonly>
|
|
|
|
</div>
|
|
|
|
<p class="text-muted">
|
|
|
|
{{ lang.admin.customer_id }}: {{ gal.c|default('?')|raw }} -
|
|
|
|
{{ lang.admin.service_id }}: {{ gal.s|default('?')|raw }} -
|
|
|
|
{{ lang.admin.sal_level }}: {{ gal.m|default('?')|raw }}
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="offset-sm-3 col-sm-9">
|
|
|
|
<p class="text-muted">{{ lang.admin.license_info|raw }}</p>
|
|
|
|
<div class="btn-group">
|
|
|
|
<button class="btn btn-sm d-block d-sm-inline btn-success" name="license_validate_now" type="submit" href="#">{{ lang.admin.validate_license_now }}</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
2021-09-22 20:47:10 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-08-09 20:29:33 +02:00
|
|
|
|
2022-08-22 16:08:01 +02:00
|
|
|
|
|
|
|
|
|
|
|
<!-- container info -->
|
2022-04-13 16:37:52 +02:00
|
|
|
<div class="card mb-4">
|
2022-10-11 11:41:06 +02:00
|
|
|
<div class="card-header fs-5">
|
|
|
|
<span>{{ lang.debug.containers_info }}</span>
|
2021-09-22 20:47:10 +02:00
|
|
|
</div>
|
2022-08-22 16:08:01 +02:00
|
|
|
<div class="card-body p-0">
|
|
|
|
<div class="row mx-0">
|
|
|
|
<!-- solr info -->
|
|
|
|
<div class="col-md-6 col-sm-12 p-2">
|
|
|
|
<div class="list-group-item p-0">
|
|
|
|
<div class="d-flex p-2 list-group-header">
|
|
|
|
<div>
|
|
|
|
<span class="fw-bold">solr-mailcow</span>
|
|
|
|
<span class="d-block d-md-inline">({{ containers["solr-mailcow"].Config.Image }})</span>
|
|
|
|
<small class="d-block">({{ lang.debug.started_on }} <span class="parse_date">{{ containers["solr-mailcow"].State.StartedAtHR }}</span>)</small>
|
|
|
|
{% if containers["solr-mailcow"].State.Running == 1 %}
|
|
|
|
<span class="badge fs-7 bg-success loader" style="min-width:100px">
|
|
|
|
{{ lang.debug.container_running }}
|
|
|
|
<span class="loader-dot">.</span>
|
|
|
|
<span class="loader-dot">.</span>
|
|
|
|
<span class="loader-dot">.</span>
|
|
|
|
</span>
|
|
|
|
{% elseif containers["solr-mailcow"].State %}
|
|
|
|
<span class="badge fs-7 bg-danger" style="min-width:100px">
|
|
|
|
{{ lang.debug.container_stopped }}
|
|
|
|
<i class="bi-x ms-1"></i>
|
|
|
|
</span>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
<div class="mt-auto ms-auto">
|
|
|
|
<button class="btn btn-light" type="button" data-bs-toggle="collapse" data-bs-target="#solr-mailcowCollapse" aria-expanded="false" aria-controls="solr-mailcowCollapse">
|
|
|
|
<i class="bi bi-caret-down-fill caret"></i>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="collapse p-0 list-group-details container-details-collapse" id="solr-mailcowCollapse" data-id="{{ containers["solr-mailcow"].Id }}">
|
|
|
|
<div class="row p-2 pt-4">
|
|
|
|
<div class="col-sm-3">
|
|
|
|
<p><img class="img-responsive" alt="Solr Logo" width="128px" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAABlCAYAAAAI2qyuAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAXEUAAFxFAbktYiwAAAAYdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjEuNWRHWFIAABv7SURBVHhe7V0JuBxVlX4JMy6jM4qOC4rp6qWq+jW+ruoXkIjoS1d3EhYXRvNkFHFBYECUAXGAASEOyiLIrigOEpDoACIqwogLiwMSkIghYF4viSFhiUGWCAQIyXuZ/9w+3V3VdXtfee/+33e+16/uqXtv1T2n7j33nnvukIJCP7BjbOzvsgt0O5cyjsymzG9mU8YvcylzIucYT2Ydczt+7xDkGFuR/hf8XplxzHG6d20qauSSkfCSJUOzRWYKCtMBE3uZ/5hxjE9A4K+FEmwuKUFj9Nd1Y9brdwwNzco6xr10DXk8DAX77kTaXEQKx8UoKLz8AGE+D73BcxVC3zBl09HPUz6ZpOHI0kEboXhn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i8Ha3Cg6JUJoN1d6/hbxwMLd3gHlWS8RVkFI2w7F+NFaPr1KBvIURjnXgqR5NEpQ5tM5y+oYw0OZocQR+NI/4m6oLtIkhOCqUCj+Zq7CjMagKAgNVXYc7nUTqYZqoTzFUCdl/qVyTaWI3N6RN6HnWC0TVtHjpMxLyO5hdh/W7z2yM5TvXFDVuMHNUDYZ/RhnLcdw2NpND1p/cDdQJWGYtR22xWr8vUYPJk6LBOJHmEF
|
|
|
|
</div>
|
|
|
|
<div class="col-sm-9">
|
|
|
|
{% if solr_status != false %}
|
|
|
|
<div class="progress">
|
|
|
|
<div class="progress-bar bg-info" role="progressbar" style="width:{{ solr_status.jvm.memory.raw['used%']|round }}%"></div>
|
|
|
|
</div>
|
|
|
|
<p>{{ lang.debug.jvm_memory_solr }}: {{ (solr_status.jvm.memory.total - solr_status.jvm.memory.free) }} / {{ solr_status.jvm.memory.total }}
|
|
|
|
({{ solr_status.jvm.memory.raw['used%']|round }}%)</p>
|
|
|
|
<hr>
|
|
|
|
<span class="d-block">{{ lang.debug.uptime }}: {{ solr_uptime }}h</span>
|
|
|
|
<span class="d-block">{{ lang.debug.started_at }}: <span class="parse_date">{{ solr_status.status['dovecot-fts'].startTime }}</span></span>
|
|
|
|
<span class="d-block">{{ lang.debug.last_modified }}: <span class="parse_date">{{ solr_status.status['dovecot-fts'].index.lastModified }}</span></span>
|
|
|
|
<span class="d-block">{{ lang.debug.size }}: {{ solr_status.status['dovecot-fts'].index.size }}</span>
|
|
|
|
<span class="d-block"><i class="bi bi-file-text"></i> {{ lang.debug.docs }}: {{ solr_status.status['dovecot-fts'].index.numDocs }}</span>
|
|
|
|
{% else %}
|
|
|
|
<span class="d-block">{{ lang.debug.solr_dead }}</span>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
2022-09-27 12:31:02 +02:00
|
|
|
<div class="mt-4 col-sm-12 col-md-6 d-flex flex-column">
|
2022-08-22 16:08:01 +02:00
|
|
|
<h6>Disk I/O</h6>
|
2022-09-27 12:31:02 +02:00
|
|
|
<div class="spinner-border my-4 mx-auto" role="status">
|
|
|
|
<span class="visually-hidden">Loading...</span>
|
|
|
|
</div>
|
|
|
|
<canvas class="d-none" id="solr-mailcow_DiskIOChart" width="400" height="200"></canvas>
|
2022-08-22 16:08:01 +02:00
|
|
|
</div>
|
2022-09-27 12:31:02 +02:00
|
|
|
<div class="mt-4 col-sm-12 col-md-6 d-flex flex-column">
|
2022-08-22 16:08:01 +02:00
|
|
|
<h6>Net I/O</h6>
|
2022-09-27 12:31:02 +02:00
|
|
|
<div class="spinner-border my-4 mx-auto" role="status">
|
|
|
|
<span class="visually-hidden">Loading...</span>
|
|
|
|
</div>
|
|
|
|
<canvas class="d-none" id="solr-mailcow_NetIOChart" width="400" height="200"></canvas>
|
2022-08-22 16:08:01 +02:00
|
|
|
</div>
|
|
|
|
<div class="col-sm-12 d-flex" style="height: 40px">
|
|
|
|
<a href data-bs-toggle="modal"
|
|
|
|
data-container="solr-mailcow"
|
|
|
|
data-bs-target="#RestartContainer"
|
|
|
|
class="btn btn-sm btn-secondary d-flex align-items-center justify-content-center mb-2 ms-auto"
|
|
|
|
style="height: 30px;">{{ lang.debug.restart_container }}
|
|
|
|
<i class="ms-1 bi
|
|
|
|
{% if containers["solr-mailcow"].State.Running == 1 %}
|
|
|
|
bi-record-fill text-success
|
|
|
|
{% elseif containers["solr-mailcow"].State %}
|
|
|
|
bi-record-fill text-danger
|
|
|
|
{% else %}
|
|
|
|
default
|
|
|
|
{% endif %}
|
|
|
|
"
|
|
|
|
></i>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-09-22 20:47:10 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2022-08-22 16:08:01 +02:00
|
|
|
|
|
|
|
<!-- rest of the containers -->
|
2021-09-22 20:47:10 +02:00
|
|
|
{% for container, container_info in containers %}
|
2022-08-22 16:08:01 +02:00
|
|
|
{% if container != "solr-mailcow" %}
|
|
|
|
<div class="col-md-6 col-sm-12 p-2">
|
|
|
|
<div class="list-group-item p-0">
|
|
|
|
<div class="d-flex p-2 list-group-header">
|
|
|
|
<div>
|
|
|
|
<span class="fw-bold">{{ container }}</span>
|
|
|
|
<span class="d-block d-md-inline">({{ container_info.Config.Image }})</span>
|
|
|
|
<small class="d-block">({{ lang.debug.started_on }} <span class="parse_date">{{ container_info.State.StartedAtHR }}</span>)</small>
|
|
|
|
{% if container_info.State.Running == 1 %}
|
|
|
|
<span class="badge fs-7 bg-success loader" style="min-width:100px">
|
|
|
|
{{ lang.debug.container_running }}
|
|
|
|
<span class="loader-dot">.</span>
|
|
|
|
<span class="loader-dot">.</span>
|
|
|
|
<span class="loader-dot">.</span>
|
|
|
|
</span>
|
|
|
|
{% elseif container_info.State %}
|
|
|
|
<span class="badge fs-7 bg-danger" style="min-width:100px">
|
|
|
|
{{ lang.debug.container_stopped }}
|
|
|
|
<i class="bi-x ms-1"></i>
|
|
|
|
</span>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
<div class="mt-auto ms-auto">
|
|
|
|
<button class="btn btn-light" type="button" data-bs-toggle="collapse" data-bs-target="#{{ container }}Collapse" aria-expanded="false" aria-controls="{{ container }}Collapse">
|
|
|
|
<i class="bi bi-caret-down-fill caret"></i>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="collapse p-0 list-group-details container-details-collapse" id="{{ container }}Collapse" data-id="{{ container_info.Id }}">
|
|
|
|
<div class="row p-2 pt-4">
|
2022-09-27 12:31:02 +02:00
|
|
|
<div class="mt-4 col-sm-12 col-md-6 d-flex flex-column">
|
2022-08-22 16:08:01 +02:00
|
|
|
<h6>Disk I/O</h6>
|
2022-09-27 12:31:02 +02:00
|
|
|
<div class="spinner-border my-4 mx-auto" role="status">
|
|
|
|
<span class="visually-hidden">Loading...</span>
|
|
|
|
</div>
|
|
|
|
<canvas class="d-none" id="{{ container }}_DiskIOChart" width="400" height="200"></canvas>
|
2022-08-22 16:08:01 +02:00
|
|
|
</div>
|
2022-09-27 12:31:02 +02:00
|
|
|
<div class="mt-4 col-sm-12 col-md-6 d-flex flex-column">
|
2022-08-22 16:08:01 +02:00
|
|
|
<h6>Net I/O</h6>
|
2022-09-27 12:31:02 +02:00
|
|
|
<div class="spinner-border my-4 mx-auto" role="status">
|
|
|
|
<span class="visually-hidden">Loading...</span>
|
|
|
|
</div>
|
|
|
|
<canvas class="d-none" id="{{ container }}_NetIOChart" width="400" height="200"></canvas>
|
2022-08-22 16:08:01 +02:00
|
|
|
</div>
|
|
|
|
<div class="col-12 d-flex" style="height: 40px">
|
|
|
|
<a href data-bs-toggle="modal"
|
|
|
|
data-container="{{ container }}"
|
|
|
|
data-bs-target="#RestartContainer"
|
|
|
|
class="btn btn-sm btn-secondary d-flex align-items-center justify-content-center mb-2 ms-auto"
|
|
|
|
style="height: 30px;">{{ lang.debug.restart_container }}
|
|
|
|
<i class="ms-1 bi
|
|
|
|
{% if container_info.State.Running == 1 %}
|
|
|
|
bi-record-fill text-success
|
|
|
|
{% elseif container_info.State %}
|
|
|
|
bi-record-fill text-danger
|
|
|
|
{% else %}
|
|
|
|
default
|
|
|
|
{% endif %}
|
|
|
|
"
|
|
|
|
></i>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-06-06 20:38:24 +02:00
|
|
|
</div>
|
2022-08-22 16:08:01 +02:00
|
|
|
{% endif %}
|
2021-09-22 20:47:10 +02:00
|
|
|
{% endfor %}
|
2022-08-22 16:08:01 +02:00
|
|
|
</div>
|
2021-09-22 20:47:10 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div role="tabpanel" class="tab-pane" id="tab-postfix-logs">
|
2022-08-09 20:29:33 +02:00
|
|
|
<div class="debug-log-info">{{ lang.debug.log_info|format(log_lines+1)|raw }}</div>
|
2022-10-11 11:41:06 +02:00
|
|
|
<div class="card">
|
|
|
|
<div class="card-header d-flex align-items-center fs-5">
|
|
|
|
<span class="mt-2 ms-2">Postfix</span>
|
2022-03-31 13:24:18 +02:00
|
|
|
<div class="btn-group ms-auto">
|
2022-10-11 11:41:06 +02:00
|
|
|
<button class="btn btn-sm btn-secondary refresh_table" data-draw="draw_postfix_logs" data-table="postfix_log">{{ lang.admin.refresh }}</button>
|
2021-09-22 20:47:10 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2022-03-31 11:37:14 +02:00
|
|
|
<div class="card-body">
|
2022-10-11 11:41:06 +02:00
|
|
|
<a class="btn btn-sm btn-secondary dropdown-toggle mb-4" data-bs-toggle="dropdown" href="#">{{ lang.mailbox.quick_actions }}</a>
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
<li><a class="dropdown-item add_log_lines" data-post-process="general_syslog" data-table="postfix_log" data-log-url="postfix" data-nrows="100" href="#">+ 100</a></li>
|
|
|
|
<li><a class="dropdown-item add_log_lines" data-post-process="general_syslog" data-table="postfix_log" data-log-url="postfix" data-nrows="1000" href="#">+ 1000</a></li>
|
|
|
|
<li><hr class="dropdown-divider"></li>
|
|
|
|
<li><a class="dropdown-item" data-datatables-expand="postfix_log" data-table="postfix_log" href="#">{{ lang.datatables.expand_all }}</a></li>
|
|
|
|
<li><a class="dropdown-item" data-datatables-collapse="postfix_log" data-table="postfix_log" href="#">{{ lang.datatables.collapse_all }}</a></li>
|
|
|
|
</ul>
|
2022-05-19 21:29:01 +02:00
|
|
|
<table id="postfix_log" class="table table-striped dt-responsive w-100"></table>
|
2021-09-22 20:47:10 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div role="tabpanel" class="tab-pane" id="tab-ui">
|
2022-08-09 20:29:33 +02:00
|
|
|
<div class="debug-log-info">{{ lang.debug.log_info|format(log_lines+1)|raw }}</div>
|
2022-10-11 11:41:06 +02:00
|
|
|
<div class="card">
|
|
|
|
<div class="card-header d-flex align-items-center fs-5">
|
|
|
|
<span class="mt-2 ms-2">Mailcow UI</span>
|
2022-03-31 13:24:18 +02:00
|
|
|
<div class="btn-group ms-auto">
|
2022-10-11 11:41:06 +02:00
|
|
|
<button class="btn btn-sm btn-secondary refresh_table" data-draw="draw_ui_logs" data-table="ui_logs">{{ lang.admin.refresh }}</button>
|
2021-09-22 20:47:10 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2022-03-31 11:37:14 +02:00
|
|
|
<div class="card-body">
|
2022-10-11 11:41:06 +02:00
|
|
|
<a class="btn btn-sm btn-secondary dropdown-toggle mb-4" data-bs-toggle="dropdown" href="#">{{ lang.mailbox.quick_actions }}</a>
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
<li><a class="dropdown-item add_log_lines" data-post-process="mailcow_ui" data-table="ui_logs" data-log-url="ui" data-nrows="100" href="#">+ 100</a></li>
|
|
|
|
<li><a class="dropdown-item add_log_lines" data-post-process="mailcow_ui" data-table="ui_logs" data-log-url="ui" data-nrows="1000" href="#">+ 1000</a></li>
|
|
|
|
<li><hr class="dropdown-divider"></li>
|
|
|
|
<li><a class="dropdown-item" data-datatables-expand="ui_logs" data-table="ui_logs" href="#">{{ lang.datatables.expand_all }}</a></li>
|
|
|
|
<li><a class="dropdown-item" data-datatables-collapse="ui_logs" data-table="ui_logs" href="#">{{ lang.datatables.collapse_all }}</a></li>
|
|
|
|
</ul>
|
2022-05-19 21:29:01 +02:00
|
|
|
<table id="ui_logs" class="table table-striped dt-responsive w-100"></table>
|
2021-09-22 20:47:10 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div role="tabpanel" class="tab-pane" id="tab-sasl">
|
2022-08-09 20:29:33 +02:00
|
|
|
<div class="debug-log-info">{{ lang.debug.log_info|format(log_lines+1)|raw }}</div>
|
2022-10-11 11:41:06 +02:00
|
|
|
<div class="card">
|
|
|
|
<div class="card-header d-flex align-items-center fs-5">
|
|
|
|
<span class="mt-2 ms-2">SASL</span>
|
2022-03-31 13:24:18 +02:00
|
|
|
<div class="btn-group ms-auto">
|
2022-10-11 11:41:06 +02:00
|
|
|
<button class="btn btn-sm btn-secondary refresh_table" data-draw="draw_sasl_logs" data-table="sasl_logs">{{ lang.admin.refresh }}</button>
|
2021-09-22 20:47:10 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2022-03-31 11:37:14 +02:00
|
|
|
<div class="card-body">
|
2022-10-11 11:41:06 +02:00
|
|
|
<a class="btn btn-sm btn-secondary dropdown-toggle mb-4" data-bs-toggle="dropdown" href="#">{{ lang.mailbox.quick_actions }}</a>
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
<li><a class="dropdown-item add_log_lines" data-post-process="sasl_log_table" data-table="sasl_logs" data-log-url="ui" data-nrows="100" href="#">+ 100</a></li>
|
|
|
|
<li><a class="dropdown-item add_log_lines" data-post-process="sasl_log_table" data-table="sasl_logs" data-log-url="ui" data-nrows="1000" href="#">+ 1000</a></li>
|
|
|
|
<li><hr class="dropdown-divider"></li>
|
|
|
|
<li><a class="dropdown-item" data-datatables-expand="sasl_logs" data-table="sasl_logs" href="#">{{ lang.datatables.expand_all }}</a></li>
|
|
|
|
<li><a class="dropdown-item" data-datatables-collapse="sasl_logs" data-table="sasl_logs" href="#">{{ lang.datatables.collapse_all }}</a></li>
|
|
|
|
</ul>
|
2022-05-19 21:29:01 +02:00
|
|
|
<table id="sasl_logs" class="table table-striped dt-responsive w-100"></table>
|
2021-09-22 20:47:10 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div role="tabpanel" class="tab-pane" id="tab-dovecot-logs">
|
2022-08-09 20:29:33 +02:00
|
|
|
<div class="debug-log-info">{{ lang.debug.log_info|format(log_lines+1)|raw }}</div>
|
2022-10-11 11:41:06 +02:00
|
|
|
<div class="card">
|
|
|
|
<div class="card-header d-flex align-items-center fs-5">
|
|
|
|
<span class="mt-2 ms-2">Dovecot</span>
|
2022-03-31 13:24:18 +02:00
|
|
|
<div class="btn-group ms-auto">
|
2022-10-11 11:41:06 +02:00
|
|
|
<button class="btn btn-sm btn-secondary refresh_table" data-draw="draw_dovecot_logs" data-table="dovecot_log">{{ lang.admin.refresh }}</button>
|
2021-09-22 20:47:10 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2022-03-31 11:37:14 +02:00
|
|
|
<div class="card-body">
|
2022-10-11 11:41:06 +02:00
|
|
|
<a class="btn btn-sm btn-secondary dropdown-toggle mb-4" data-bs-toggle="dropdown" href="#">{{ lang.mailbox.quick_actions }}</a>
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
<li><a class="dropdown-item add_log_lines" data-post-process="general_syslog" data-table="dovecot_log" data-log-url="dovecot" data-nrows="100" href="#">+ 100</a></li>
|
|
|
|
<li><a class="dropdown-item add_log_lines" data-post-process="general_syslog" data-table="dovecot_log" data-log-url="dovecot" data-nrows="1000" href="#">+ 1000</a></li>
|
|
|
|
<li><hr class="dropdown-divider"></li>
|
|
|
|
<li><a class="dropdown-item" data-datatables-expand="dovecot_log" data-table="dovecot_log" href="#">{{ lang.datatables.expand_all }}</a></li>
|
|
|
|
<li><a class="dropdown-item" data-datatables-collapse="dovecot_log" data-table="dovecot_log" href="#">{{ lang.datatables.collapse_all }}</a></li>
|
|
|
|
</ul>
|
2022-05-19 21:29:01 +02:00
|
|
|
<table id="dovecot_log" class="table table-striped dt-responsive w-100"></table>
|
2021-09-22 20:47:10 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div role="tabpanel" class="tab-pane" id="tab-sogo-logs">
|
2022-08-09 20:29:33 +02:00
|
|
|
<div class="debug-log-info">{{ lang.debug.log_info|format(log_lines+1)|raw }}</div>
|
2022-10-11 11:41:06 +02:00
|
|
|
<div class="card">
|
|
|
|
<div class="card-header d-flex align-items-center fs-5">
|
|
|
|
<span class="mt-2 ms-2">SOGo</span>
|
2022-03-31 13:24:18 +02:00
|
|
|
<div class="btn-group ms-auto">
|
2022-10-11 11:41:06 +02:00
|
|
|
<button class="btn btn-sm btn-secondary refresh_table" data-draw="draw_sogo_logs" data-table="sogo_log">{{ lang.admin.refresh }}</button>
|
2021-09-22 20:47:10 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2022-03-31 11:37:14 +02:00
|
|
|
<div class="card-body">
|
2022-10-11 11:41:06 +02:00
|
|
|
<a class="btn btn-sm btn-secondary dropdown-toggle mb-4" data-bs-toggle="dropdown" href="#">{{ lang.mailbox.quick_actions }}</a>
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
<li><a class="dropdown-item add_log_lines" data-post-process="general_syslog" data-table="sogo_log" data-log-url="sogo" data-nrows="100" href="#">+ 100</a></li>
|
|
|
|
<li><a class="dropdown-item add_log_lines" data-post-process="general_syslog" data-table="sogo_log" data-log-url="sogo" data-nrows="1000" href="#">+ 1000</a></li>
|
|
|
|
<li><hr class="dropdown-divider"></li>
|
|
|
|
<li><a class="dropdown-item" data-datatables-expand="sogo_log" data-table="sogo_log" href="#">{{ lang.datatables.expand_all }}</a></li>
|
|
|
|
<li><a class="dropdown-item" data-datatables-collapse="sogo_log" data-table="sogo_log" href="#">{{ lang.datatables.collapse_all }}</a></li>
|
|
|
|
</ul>
|
2022-05-19 21:29:01 +02:00
|
|
|
<table id="sogo_log" class="table table-striped dt-responsive w-100"></table>
|
2021-09-22 20:47:10 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div role="tabpanel" class="tab-pane" id="tab-netfilter-logs">
|
2022-08-09 20:29:33 +02:00
|
|
|
<div class="debug-log-info">{{ lang.debug.log_info|format(log_lines+1)|raw }}</div>
|
2022-10-11 11:41:06 +02:00
|
|
|
<div class="card">
|
|
|
|
<div class="card-header d-flex align-items-center fs-5">
|
|
|
|
<span class="mt-2 ms-2">Netfilter</span>
|
2022-03-31 13:24:18 +02:00
|
|
|
<div class="btn-group ms-auto">
|
2022-10-11 11:41:06 +02:00
|
|
|
<button class="btn btn-sm btn-secondary refresh_table" data-draw="draw_netfilter_logs" data-table="netfilter_log">{{ lang.admin.refresh }}</button>
|
2021-09-22 20:47:10 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2022-03-31 11:37:14 +02:00
|
|
|
<div class="card-body">
|
2022-10-11 11:41:06 +02:00
|
|
|
<a class="btn btn-sm btn-secondary dropdown-toggle mb-4" data-bs-toggle="dropdown" href="#">{{ lang.mailbox.quick_actions }}</a>
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
<li><a class="dropdown-item add_log_lines" data-post-process="general_syslog" data-table="netfilter_log" data-log-url="netfilter" data-nrows="100" href="#">+ 100</a></li>
|
|
|
|
<li><a class="dropdown-item add_log_lines" data-post-process="general_syslog" data-table="netfilter_log" data-log-url="netfilter" data-nrows="1000" href="#">+ 1000</a></li>
|
|
|
|
<li><hr class="dropdown-divider"></li>
|
|
|
|
<li><a class="dropdown-item" data-datatables-expand="netfilter_log" data-table="netfilter_log" href="#">{{ lang.datatables.expand_all }}</a></li>
|
|
|
|
<li><a class="dropdown-item" data-datatables-collapse="netfilter_log" data-table="netfilter_log" href="#">{{ lang.datatables.collapse_all }}</a></li>
|
|
|
|
</ul>
|
2022-05-19 21:29:01 +02:00
|
|
|
<table id="netfilter_log" class="table table-striped dt-responsive w-100"></table>
|
2021-09-22 20:47:10 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div role="tabpanel" class="tab-pane" id="tab-rspamd-history">
|
2022-08-09 20:29:33 +02:00
|
|
|
<div class="debug-log-info">{{ lang.debug.log_info|format(log_lines+1)|raw }}</div>
|
2022-10-11 11:41:06 +02:00
|
|
|
<div class="card">
|
|
|
|
<div class="card-header d-flex align-items-center fs-5">
|
|
|
|
<span class="mt-2 ms-2">Rspamd history</span>
|
2022-03-31 13:24:18 +02:00
|
|
|
<div class="btn-group ms-auto">
|
2022-10-11 11:41:06 +02:00
|
|
|
<button class="btn btn-sm btn-secondary refresh_table" data-draw="draw_rspamd_history" data-table="rspamd_history">{{ lang.admin.refresh }}</button>
|
2021-09-22 20:47:10 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2022-03-31 11:37:14 +02:00
|
|
|
<div class="card-body">
|
2022-03-31 12:57:33 +02:00
|
|
|
<legend>{{ lang.debug.chart_this_server }}</legend><hr />
|
2021-09-22 20:47:10 +02:00
|
|
|
<div id="chart-container">
|
|
|
|
<canvas id="rspamd_donut" style="width:100%;height:400px"></canvas>
|
|
|
|
</div>
|
2022-03-31 12:57:33 +02:00
|
|
|
<legend>{{ lang.debug.history_all_servers }}</legend><hr />
|
2022-10-11 11:41:06 +02:00
|
|
|
<a class="btn btn-sm btn-secondary dropdown-toggle mb-4" data-bs-toggle="dropdown" href="#">{{ lang.mailbox.quick_actions }}</a>
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
<li><a class="dropdown-item add_log_lines" data-post-process="rspamd_history" data-table="rspamd_history" data-log-url="rspamd_history" data-nrows="100" href="#">+ 100</a></li>
|
|
|
|
<li><a class="dropdown-item add_log_lines" data-post-process="rspamd_history" data-table="rspamd_history" data-log-url="rspamd_history" data-nrows="1000" href="#">+ 1000</a></li>
|
|
|
|
<li><hr class="dropdown-divider"></li>
|
|
|
|
<li><a class="dropdown-item" data-datatables-expand="rspamd_history" data-table="rspamd_history" href="#">{{ lang.datatables.expand_all }}</a></li>
|
|
|
|
<li><a class="dropdown-item" data-datatables-collapse="rspamd_history" data-table="rspamd_history" href="#">{{ lang.datatables.collapse_all }}</a></li>
|
|
|
|
</ul>
|
2022-05-19 21:29:01 +02:00
|
|
|
<table id="rspamd_history" class="table table-striped dt-responsive w-100"></table>
|
2021-09-22 20:47:10 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div role="tabpanel" class="tab-pane" id="tab-autodiscover-logs">
|
2022-08-09 20:29:33 +02:00
|
|
|
<div class="debug-log-info">{{ lang.debug.log_info|format(log_lines+1)|raw }}</div>
|
2022-10-11 11:41:06 +02:00
|
|
|
<div class="card">
|
|
|
|
<div class="card-header d-flex align-items-center fs-5">
|
|
|
|
<span class="mt-2 ms-2">Autodiscover</span>
|
2022-03-31 13:24:18 +02:00
|
|
|
<div class="btn-group ms-auto">
|
2022-10-11 11:41:06 +02:00
|
|
|
<button class="btn btn-sm btn-secondary refresh_table" data-draw="draw_autodiscover_logs" data-table="autodiscover_log">{{ lang.admin.refresh }}</button>
|
2021-09-22 20:47:10 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2022-03-31 11:37:14 +02:00
|
|
|
<div class="card-body">
|
2022-10-11 11:41:06 +02:00
|
|
|
<a class="btn btn-sm btn-secondary dropdown-toggle mb-4" data-bs-toggle="dropdown" href="#">{{ lang.mailbox.quick_actions }}</a>
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
<li><a class="dropdown-item add_log_lines" data-post-process="autodiscover_log" data-table="autodiscover_log" data-log-url="autodiscover" data-nrows="100" href="#">+ 100</a></li>
|
|
|
|
<li><a class="dropdown-item add_log_lines" data-post-process="autodiscover_log" data-table="autodiscover_log" data-log-url="autodiscover" data-nrows="1000" href="#">+ 1000</a></li>
|
|
|
|
<li><hr class="dropdown-divider"></li>
|
|
|
|
<li><a class="dropdown-item" data-datatables-expand="autodiscover_log" data-table="autodiscover_log" href="#">{{ lang.datatables.expand_all }}</a></li>
|
|
|
|
<li><a class="dropdown-item" data-datatables-collapse="autodiscover_log" data-table="autodiscover_log" href="#">{{ lang.datatables.collapse_all }}</a></li>
|
|
|
|
</ul>
|
2022-05-19 21:29:01 +02:00
|
|
|
<table id="autodiscover_log" class="table table-striped dt-responsive w-100"></table>
|
2021-09-22 20:47:10 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div role="tabpanel" class="tab-pane" id="tab-watchdog-logs">
|
2022-08-09 20:29:33 +02:00
|
|
|
<div class="debug-log-info">{{ lang.debug.log_info|format(log_lines+1)|raw }}</div>
|
2022-10-11 11:41:06 +02:00
|
|
|
<div class="card">
|
|
|
|
<div class="card-header d-flex align-items-center fs-5">
|
|
|
|
<span class="mt-2 ms-2">Watchdog</span>
|
2022-03-31 13:24:18 +02:00
|
|
|
<div class="btn-group ms-auto">
|
2022-10-11 11:41:06 +02:00
|
|
|
<button class="btn btn-sm btn-secondary refresh_table" data-draw="draw_watchdog_logs" data-table="watchdog_log">{{ lang.admin.refresh }}</button>
|
2021-09-22 20:47:10 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2022-03-31 11:37:14 +02:00
|
|
|
<div class="card-body">
|
2022-10-11 11:41:06 +02:00
|
|
|
<a class="btn btn-sm btn-secondary dropdown-toggle mb-4" data-bs-toggle="dropdown" href="#">{{ lang.mailbox.quick_actions }}</a>
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
<li><a class="dropdown-item add_log_lines" data-post-process="watchdog" data-table="watchdog_log" data-log-url="watchdog" data-nrows="100" href="#">+ 100</a></li>
|
|
|
|
<li><a class="dropdown-item add_log_lines" data-post-process="watchdog" data-table="watchdog_log" data-log-url="watchdog" data-nrows="1000" href="#">+ 1000</a></li>
|
|
|
|
<li><hr class="dropdown-divider"></li>
|
|
|
|
<li><a class="dropdown-item" data-datatables-expand="watchdog_log" data-table="watchdog_log" href="#">{{ lang.datatables.expand_all }}</a></li>
|
|
|
|
<li><a class="dropdown-item" data-datatables-collapse="watchdog_log" data-table="watchdog_log" href="#">{{ lang.datatables.collapse_all }}</a></li>
|
|
|
|
</ul>
|
2022-05-19 21:29:01 +02:00
|
|
|
<table id="watchdog_log" class="table table-striped dt-responsive w-100"></table>
|
2021-09-22 20:47:10 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div role="tabpanel" class="tab-pane" id="tab-acme-logs">
|
2022-08-09 20:29:33 +02:00
|
|
|
<div class="debug-log-info">{{ lang.debug.log_info|format(log_lines+1)|raw }}</div>
|
2022-10-11 11:41:06 +02:00
|
|
|
<div class="card">
|
|
|
|
<div class="card-header d-flex align-items-center fs-5">
|
|
|
|
<span class="mt-2 ms-2">ACME</span>
|
2022-03-31 13:24:18 +02:00
|
|
|
<div class="btn-group ms-auto">
|
2022-10-11 11:41:06 +02:00
|
|
|
<button class="btn btn-sm btn-secondary refresh_table" data-draw="draw_acme_logs" data-table="acme_log">{{ lang.admin.refresh }}</button>
|
2021-09-22 20:47:10 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2022-03-31 11:37:14 +02:00
|
|
|
<div class="card-body">
|
2022-10-11 11:41:06 +02:00
|
|
|
<a class="btn btn-sm btn-secondary dropdown-toggle mb-4" data-bs-toggle="dropdown" href="#">{{ lang.mailbox.quick_actions }}</a>
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
<li><a class="dropdown-item add_log_lines" data-post-process="general_syslog" data-table="acme_log" data-log-url="acme" data-nrows="100" href="#">+ 100</a></li>
|
|
|
|
<li><a class="dropdown-item add_log_lines" data-post-process="general_syslog" data-table="acme_log" data-log-url="acme" data-nrows="1000" href="#">+ 1000</a></li>
|
|
|
|
<li><hr class="dropdown-divider"></li>
|
|
|
|
<li><a class="dropdown-item" data-datatables-expand="acme_log" data-table="acme_log" href="#">{{ lang.datatables.expand_all }}</a></li>
|
|
|
|
<li><a class="dropdown-item" data-datatables-collapse="acme_log" data-table="acme_log" href="#">{{ lang.datatables.collapse_all }}</a></li>
|
|
|
|
</ul>
|
2022-05-19 21:29:01 +02:00
|
|
|
<table id="acme_log" class="table table-striped dt-responsive w-100"></table>
|
2021-09-22 20:47:10 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div role="tabpanel" class="tab-pane" id="tab-api-logs">
|
2022-08-09 20:29:33 +02:00
|
|
|
<div class="debug-log-info">{{ lang.debug.log_info|format(log_lines+1)|raw }}</div>
|
2022-10-11 11:41:06 +02:00
|
|
|
<div class="card">
|
|
|
|
<div class="card-header d-flex align-items-center fs-5">
|
|
|
|
<span class="mt-2 ms-2">API</span>
|
2022-03-31 13:24:18 +02:00
|
|
|
<div class="btn-group ms-auto">
|
2022-10-11 11:41:06 +02:00
|
|
|
<button class="btn btn-sm btn-secondary refresh_table" data-draw="draw_api_logs" data-table="api_log">{{ lang.admin.refresh }}</button>
|
2021-09-22 20:47:10 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2022-03-31 11:37:14 +02:00
|
|
|
<div class="card-body">
|
2022-10-11 11:41:06 +02:00
|
|
|
<a class="btn btn-sm btn-secondary dropdown-toggle mb-4" data-bs-toggle="dropdown" href="#">{{ lang.mailbox.quick_actions }}</a>
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
<li><a class="dropdown-item add_log_lines" data-post-process="apilog" data-table="api_log" data-log-url="api" data-nrows="100" href="#">+ 100</a></li>
|
|
|
|
<li><a class="dropdown-item add_log_lines" data-post-process="apilog" data-table="api_log" data-log-url="api" data-nrows="1000" href="#">+ 1000</a></li>
|
|
|
|
<li><hr class="dropdown-divider"></li>
|
|
|
|
<li><a class="dropdown-item" data-datatables-expand="api_log" data-table="api_log" href="#">{{ lang.datatables.expand_all }}</a></li>
|
|
|
|
<li><a class="dropdown-item" data-datatables-collapse="api_log" data-table="api_log" href="#">{{ lang.datatables.collapse_all }}</a></li>
|
|
|
|
</ul>
|
2022-05-19 21:29:01 +02:00
|
|
|
<table id="api_log" class="table table-striped dt-responsive w-100"></table>
|
2021-09-22 20:47:10 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div role="tabpanel" class="tab-pane" id="tab-api-rl">
|
2022-08-09 20:29:33 +02:00
|
|
|
<div class="debug-log-info">{{ lang.debug.log_info|format(log_lines+1)|raw }}</div>
|
2022-10-11 11:41:06 +02:00
|
|
|
<div class="card">
|
|
|
|
<div class="card-header d-flex align-items-center fs-5">
|
|
|
|
<span class="mt-2 ms-2">Ratelimits</span>
|
2022-03-31 13:24:18 +02:00
|
|
|
<div class="btn-group ms-auto">
|
2022-10-11 11:41:06 +02:00
|
|
|
<button class="btn btn-sm btn-secondary refresh_table" data-draw="draw_rl_logs" data-table="rl_log">{{ lang.admin.refresh }}</button>
|
2021-09-22 20:47:10 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2022-03-31 11:37:14 +02:00
|
|
|
<div class="card-body">
|
2022-10-11 11:41:06 +02:00
|
|
|
<a class="btn btn-sm btn-secondary dropdown-toggle mb-4" data-bs-toggle="dropdown" href="#">{{ lang.mailbox.quick_actions }}</a>
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
<li><a class="dropdown-item add_log_lines" data-post-process="rllog" data-table="rl_log" data-log-url="ratelimited" data-nrows="100" href="#">+ 100</a></li>
|
|
|
|
<li><a class="dropdown-item add_log_lines" data-post-process="rllog" data-table="rl_log" data-log-url="ratelimited" data-nrows="1000" href="#">+ 1000</a></li>
|
|
|
|
<li><hr class="dropdown-divider"></li>
|
|
|
|
<li><a class="dropdown-item" data-datatables-expand="rl_log" data-table="rl_log" href="#">{{ lang.datatables.expand_all }}</a></li>
|
|
|
|
<li><a class="dropdown-item" data-datatables-collapse="rl_log" data-table="rl_log" href="#">{{ lang.datatables.collapse_all }}</a></li>
|
|
|
|
</ul>
|
2022-03-31 12:57:33 +02:00
|
|
|
<p class="text-muted">{{ lang.admin.hash_remove_info }}</p>
|
2022-05-19 21:29:01 +02:00
|
|
|
<table id="rl_log" class="table table-striped dt-responsive w-100"></table>
|
2021-09-22 20:47:10 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div> <!-- /tab-content -->
|
|
|
|
</div> <!-- /col-md-12 -->
|
|
|
|
</div> <!-- /row -->
|
|
|
|
|
|
|
|
<script type='text/javascript'>
|
|
|
|
var lang = {{ lang_admin|raw }};
|
2022-08-09 20:29:33 +02:00
|
|
|
var lang_debug = {{ lang_debug|raw }};
|
2022-05-17 14:08:22 +02:00
|
|
|
var lang_datatables = {{ lang_datatables|raw }};
|
2021-09-22 20:47:10 +02:00
|
|
|
var csrf_token = '{{ csrf_token }}';
|
|
|
|
var log_pagination_size = '{{ log_pagination_size }}';
|
|
|
|
</script>
|
|
|
|
{% endblock %}
|