techgarage-ir.MTWireGuard/UI/Pages/Logs.cshtml
2024-01-25 20:40:43 +03:30

121 lines
No EOL
4.3 KiB
Text

@page
@{
ViewData["Title"] = "Event Logs";
}
<div class="row g-4 mb-4">
<div class="col-sm-6 col-xl-3">
<div class="card">
<div class="card-body">
<div class="d-flex align-items-start justify-content-between">
<div class="content-left">
<span>Total Logs</span>
<div class="d-flex align-items-end mt-2">
<h4 class="mb-0 me-2" id="logs-total">1,000</h4>
</div>
</div>
<div class="avatar">
<span class="avatar-initial rounded bg-success">
<i class="bi bi-calendar-event bx-sm"></i>
</span>
</div>
</div>
</div>
</div>
</div>
<div class="col-sm-6 col-xl-3">
<div class="card">
<div class="card-body">
<div class="d-flex align-items-start justify-content-between">
<div class="content-left">
<span>Critical Logs</span>
<div class="d-flex align-items-end mt-2">
<h4 class="mb-0 me-2" id="logs-critical">69</h4>
</div>
</div>
<div class="avatar">
<span class="avatar-initial rounded bg-danger">
<i class="bi bi-x-octagon bx-sm"></i>
</span>
</div>
</div>
</div>
</div>
</div>
<div class="col-sm-6 col-xl-3">
<div class="card">
<div class="card-body">
<div class="d-flex align-items-start justify-content-between">
<div class="content-left">
<span>Wireguard Logs</span>
<div class="d-flex align-items-end mt-2">
<h4 class="mb-0 me-2" id="logs-wireguard">731</h4>
</div>
</div>
<div class="avatar">
<span class="avatar-initial rounded bg-warning">
<i class="bi bi-exclamation-triangle bx-sm"></i>
</span>
</div>
</div>
</div>
</div>
</div>
<div class="col-sm-6 col-xl-3">
<div class="card">
<div class="card-body">
<div class="d-flex align-items-start justify-content-between">
<div class="content-left">
<span>Info Logs</span>
<div class="d-flex align-items-end mt-2">
<h4 class="mb-0 me-2" id="logs-info">200</h4>
</div>
</div>
<div class="avatar">
<span class="avatar-initial rounded bg-info">
<i class="bi bi-exclamation-octagon bx-sm"></i>
</span>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Logs List Table -->
<div class="card">
<div class="card-header border-bottom">
<h5 class="card-title">Event Logs</h5>
</div>
<div class="card-body">
<div class="card-datatable table-responsive pt-0">
<table class="datatables-basic table table-striped table-hover border-top">
<thead>
<tr>
<th></th>
<th>
<i class="bx bx-hash"></i>
</th>
<th>Message</th>
<th>Topics</th>
<th>Time</th>
</tr>
</thead>
<tfoot>
<tr>
<th></th>
<th>
<i class="bx bx-hash"></i>
</th>
<th>Message</th>
<th>Topics</th>
<th>Time</th>
</tr>
</tfoot>
</table>
</div>
</div>
</div>
@section Scripts {
<script src="js/page-logs.js"></script>
}