DweebUI/views/syslogs.html

95 lines
3.1 KiB
HTML
Raw Permalink Normal View History

2024-01-08 02:29:56 +00:00
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover"/>
<meta http-equiv="X-UA-Compatible" content="ie=edge"/>
<title>DweebUI - Syslogs</title>
2024-01-14 23:33:53 +00:00
<link href="/css/tabler.min.css" rel="stylesheet"/>
<link href="/css/demo.min.css" rel="stylesheet"/>
2024-01-08 02:29:56 +00:00
<style>
2024-01-14 23:33:53 +00:00
@import url('/fonts/inter.css');
2024-01-08 05:10:13 +00:00
:root {
--tblr-font-sans-serif: 'Inter Var', -apple-system, BlinkMacSystemFont, San Francisco, Segoe UI, Roboto, Helvetica Neue, sans-serif;
}
body {
font-feature-settings: "cv03", "cv04", "cv11";
}
</style>
2024-01-08 02:29:56 +00:00
</head>
<body >
<div class="page">
<%- include('partials/navbar.html') %>
2024-01-08 02:29:56 +00:00
<div class="page-wrapper">
<div class="page-header d-print-none">
<div class="container-xl">
<div class="row g-2 align-items-center">
<div class="col">
<h2 class="page-title">
Syslogs
</h2>
</div>
</div>
</div>
</div>
<div class="page-body">
<div class="container-xl">
<div class="card">
<div class="card-body">
<div id="table-default" class="table-responsive">
<table class="table">
<thead>
<tr>
<th><button class="table-sort" data-sort="sort-id">id</button></th>
<th><button class="table-sort" data-sort="sort-user">user</button></th>
<th><button class="table-sort" data-sort="sort-email">email</button></th>
<th><button class="table-sort" data-sort="sort-event">event</button></th>
<th><button class="table-sort" data-sort="sort-message">message</button></th>
<th><button class="table-sort" data-sort="sort-ip">ip</button></th>
<th><button class="table-sort" data-sort="sort-datetime">date/time</button></th>
</tr>
</thead>
<tbody class="table-tbody">
<%- logs %>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<%- include('partials/footer.html') %>
2024-01-08 02:29:56 +00:00
</div>
</div>
<!-- Libs JS -->
2024-01-14 23:33:53 +00:00
<script src="/libs/list.js/dist/list.min.js" defer></script>
2024-01-08 02:29:56 +00:00
<!-- Tabler Core -->
2024-01-14 23:33:53 +00:00
<script src="/js/tabler.min.js" defer></script>
<script src="/js/demo.min.js" defer></script>
2024-01-08 02:29:56 +00:00
<script>
document.addEventListener("DOMContentLoaded", function() {
const list = new List('table-default', {
sortClass: 'table-sort',
listClass: 'table-tbody',
valueNames: [ 'sort-id', 'sort-email', 'sort-user', 'sort-event',
{ attr: 'data-date', name: 'sort-message' },
{ attr: 'data-progress', name: 'sort-datetime' },
'sort-ip'
]
});
})
</script>
</body>
</html>