Skip to content

Commit

Permalink
Merge branch 'attribute_description' of https://github.com/multiflexi…
Browse files Browse the repository at this point in the history
…/Taranis-NG into attribute_description
  • Loading branch information
multiflexi committed Jun 17, 2024
2 parents 687f320 + f64ba5f commit ac4b5c8
Showing 1 changed file with 11 additions and 23 deletions.
34 changes: 11 additions & 23 deletions src/gui/src/components/common/EnumSelector.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,30 +14,18 @@

<v-card>
<v-card-text>
<v-data-table
:headers="headers"
:items="attribute_enums"
:server-items-length="attribute_enums_total_count"
@update:options="updateOptions"
:items-per-page="25"
class="elevation-1 enum_selector"
:page.sync="current_page"
@click:row="clickRow"
:footer-props="{
showFirstLastPage: true,
itemsPerPageOptions: [25, 50, 100],
showCurrentPage: true
}"

>
<v-data-table :headers="headers" :items="attribute_enums"
:server-items-length="attribute_enums_total_count" @update:options="updateOptions"
:items-per-page="25" class="elevation-1 enum_selector" :page.sync="current_page"
@click:row="clickRow" :footer-props="{
showFirstLastPage: true,
itemsPerPageOptions: [25, 50, 100],
showCurrentPage: true
}">
<template v-slot:top>
<v-toolbar flat>
<v-toolbar-title>{{$t('attribute.attribute_constants')}}</v-toolbar-title>
<v-divider
class="mx-4"
inset
vertical
></v-divider>
<v-toolbar flat color="white">
<v-toolbar-title>{{ $t('attribute.attribute_constants') }}</v-toolbar-title>
<v-divider class="mx-4" inset vertical></v-divider>
<v-spacer></v-spacer>
<v-text-field v-model="search" append-icon="mdi-magnify" :label="$t('attribute.search')"
v-on:keyup="filterSearch" single-line hide-details></v-text-field>
Expand Down

0 comments on commit ac4b5c8

Please sign in to comment.