絞込みのリセットを追加
This commit is contained in:
@@ -73,13 +73,19 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="d-grid gap-2 mt-3">
|
||||
<div class="mt-3 row">
|
||||
<div class="col gap-2 d-grid">
|
||||
<button type="button" class="btn btn-secondary" id="btn-reset">元に戻す</button>
|
||||
</div>
|
||||
|
||||
<div class="col gap-2 d-grid">
|
||||
<button type="button" class="btn btn-primary" id="btn-filter">絞り込む</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php if (count ($log_data) > 0): ?>
|
||||
<div class="mb-4">
|
||||
|
||||
@@ -48,6 +48,12 @@ Script
|
||||
window.location.href = url;
|
||||
});
|
||||
|
||||
const resetFilter = (
|
||||
function ()
|
||||
{
|
||||
window.location.href = '/';
|
||||
});
|
||||
|
||||
filterKeyword.addEventListener ('keydown',
|
||||
function (e)
|
||||
{
|
||||
@@ -56,6 +62,7 @@ Script
|
||||
});
|
||||
|
||||
btnFilter.addEventListener ('click', filter);
|
||||
$ ('#btn-reset').on ('click', resetFilter);
|
||||
}
|
||||
|
||||
static
|
||||
|
||||
Reference in New Issue
Block a user