Skip to content

Commit

Permalink
👌 IMPROVE: Search toolbar
Browse files Browse the repository at this point in the history
  • Loading branch information
austinginder committed Feb 6, 2025
1 parent d1390e6 commit 9337614
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions templates/core.php
Original file line number Diff line number Diff line change
Expand Up @@ -2422,12 +2422,14 @@ class="mt-2"
</v-alert>
</v-card>
</div>
<v-card-text>
<v-toolbar dense elevation="0" flat class="mb-3">
<v-card-text v-show="sites.length > 0">
<div style="position: sticky; top: 60px; z-index: 10; background: white; padding: 10px 0 20px 0;">
<v-toolbar dense elevation="0" flat class="mb-7">
<v-spacer></v-spacer>
<v-btn depressed small @click="filterUnassigned()" v-if="role == 'administrator'">{{ unassignedSiteCount }} unassign sites</v-btn>
<v-text-field class="mx-4" v-model="search" @input="filterSites" autofocus label="Search" clearable light hide-details append-icon="mdi-magnify" style="max-width:300px;"></v-text-field>
</v-toolbar>
</div>
<v-data-table
v-model="sites_selected"
:headers="[
Expand Down

0 comments on commit 9337614

Please sign in to comment.