Skip to content

Commit 6afca91

Browse files
committed
feat(ui): small improvements
1 parent 90a46f0 commit 6afca91

File tree

3 files changed

+25
-20
lines changed

3 files changed

+25
-20
lines changed

web/src/App.vue

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -458,16 +458,6 @@
458458

459459
<v-divider/>
460460

461-
<v-list-item key="users" to="/users" v-if="user.admin">
462-
<v-list-item-icon>
463-
<v-icon>mdi-account-multiple</v-icon>
464-
</v-list-item-icon>
465-
466-
<v-list-item-content>
467-
{{ $t('users') }}
468-
</v-list-item-content>
469-
</v-list-item>
470-
471461
<v-list-item
472462
key="tasks"
473463
to="/tasks"
@@ -496,16 +486,6 @@
496486
</v-list-item-content>
497487
</v-list-item>
498488

499-
<v-list-item key="edit" @click="userDialog = true">
500-
<v-list-item-icon>
501-
<v-icon>mdi-pencil</v-icon>
502-
</v-list-item-icon>
503-
504-
<v-list-item-content>
505-
{{ $t('editAccount') }}
506-
</v-list-item-content>
507-
</v-list-item>
508-
509489
<v-list-item
510490
key="tokens"
511491
to="/tokens"
@@ -520,6 +500,28 @@
520500
</v-list-item-content>
521501
</v-list-item>
522502

503+
<v-list-item key="users" to="/users" v-if="user.admin">
504+
<v-list-item-icon>
505+
<v-icon>mdi-account-multiple</v-icon>
506+
</v-list-item-icon>
507+
508+
<v-list-item-content>
509+
{{ $t('users') }}
510+
</v-list-item-content>
511+
</v-list-item>
512+
513+
<v-list-item key="edit" @click="userDialog = true">
514+
<v-list-item-icon>
515+
<v-icon>mdi-pencil</v-icon>
516+
</v-list-item-icon>
517+
518+
<v-list-item-content>
519+
{{ $t('editAccount') }}
520+
</v-list-item-content>
521+
</v-list-item>
522+
523+
<v-divider />
524+
523525
<v-list-item key="sign_out" @click="signOut()" data-testid="sidebar-signout">
524526
<v-list-item-icon>
525527
<v-icon>mdi-exit-to-app</v-icon>

web/src/components/InventoryForm.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
item-text="tag"
4646
outlined
4747
dense
48+
clearable
4849
:disabled="formSaving"
4950
:placeholder="$t('runner_tag')"
5051
></v-autocomplete>

web/src/components/KeyForm.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@
4343
dense
4444
/>
4545

46+
<v-divider class="mb-6" />
47+
4648
<v-select
4749
v-model="item.type"
4850
:label="$t('type')"

0 commit comments

Comments
 (0)