Init
This commit is contained in:
commit
60ca58f5ba
80 changed files with 9458 additions and 0 deletions
31
views/audit.php
Normal file
31
views/audit.php
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
<?php
|
||||
$page_title = 'Audit Log';
|
||||
$nav_active = 'audit';
|
||||
include ROOT . '/views/_header.php';
|
||||
?>
|
||||
|
||||
<div class="d-flex justify-content-between align-items-center mb-4">
|
||||
<h2 class="h4 mb-0">Audit Log</h2>
|
||||
<div class="d-flex gap-2 align-items-center">
|
||||
<select id="auditProjectFilter" class="form-select form-select-sm" style="width:auto">
|
||||
<option value="">All projects</option>
|
||||
<?php foreach ($db->query('SELECT id, name FROM projects WHERE is_active = 1 ORDER BY name') as $p): ?>
|
||||
<option value="<?= $p['id'] ?>"><?= htmlspecialchars($p['name']) ?></option>
|
||||
<?php endforeach; ?>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="auditTable">
|
||||
<div class="text-muted small">Loading…</div>
|
||||
</div>
|
||||
<div class="d-flex gap-2 mt-3">
|
||||
<button class="btn btn-sm btn-outline-secondary d-none" id="auditPrev">
|
||||
<i class="bi bi-chevron-left me-1"></i>Prev
|
||||
</button>
|
||||
<button class="btn btn-sm btn-outline-secondary d-none" id="auditNext">
|
||||
Next<i class="bi bi-chevron-right ms-1"></i>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<?php include ROOT . '/views/_footer.php'; ?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue