refactor(centralui): EventLogs adopts DateTimeRangeFilter (T35h)
This commit is contained in:
@@ -56,21 +56,10 @@
|
||||
<option>Error</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-2">
|
||||
<label class="form-label small" for="filter-from">From</label>
|
||||
<input id="filter-from"
|
||||
type="datetime-local"
|
||||
class="form-control form-control-sm"
|
||||
aria-label="From timestamp"
|
||||
@bind="_filterFrom" />
|
||||
</div>
|
||||
<div class="col-md-2">
|
||||
<label class="form-label small" for="filter-to">To</label>
|
||||
<input id="filter-to"
|
||||
type="datetime-local"
|
||||
class="form-control form-control-sm"
|
||||
aria-label="To timestamp"
|
||||
@bind="_filterTo" />
|
||||
<div class="col-md-4">
|
||||
<DateTimeRangeFilter From="_filterFrom" FromChanged="@(v => _filterFrom = v)"
|
||||
To="_filterTo" ToChanged="@(v => _filterTo = v)"
|
||||
IdPrefix="filter" />
|
||||
</div>
|
||||
<div class="col-md-1">
|
||||
<label class="form-label small" for="filter-keyword">Message contains</label>
|
||||
|
||||
Reference in New Issue
Block a user