Functional host filter.

This commit is contained in:
Ryan Breen
2023-02-14 21:14:17 -05:00
parent ccc17fbaa8
commit 14a20dd13d
3 changed files with 28 additions and 1 deletions

View File

@@ -71,6 +71,16 @@
<label for="toKind">To</label>
<input type="number" id="toKind" x-model.number="toKind" class="input" @change="reload">
</div>
<div x-show="view === 'host'">
<label for="host">Host</label>
<select id="host" class="input" x-model="host" @change="reload">
<option value=""></option>
<template x-for="h in allHosts">
<option :value="h" x-text="h"></option>
</template>
</select>
</div>
</div>
</div>