better disposition in admin
This commit is contained in:
parent
cf5c09e3b1
commit
1d28267f6d
3 changed files with 8 additions and 7 deletions
|
@ -7,12 +7,13 @@
|
|||
el-form-item(:label="$t('common.address')")
|
||||
el-input.mr-1(:placeholder='$t("common.address")' v-model='place.address')
|
||||
el-button(variant='primary' @click='savePlace') {{$t('common.save')}}
|
||||
|
||||
el-table(:data='paginatedPlaces' small)
|
||||
el-table-column(:label="$t('common.name')")
|
||||
el-table-column(:label="$t('common.name')" width='200')
|
||||
template(slot-scope='data') {{data.row.name}}
|
||||
el-table-column(:label="$t('common.address')")
|
||||
el-table-column(:label="$t('common.address')" width='400')
|
||||
template(slot-scope='data') {{data.row.address}}
|
||||
el-table-column(:label="$t('common.actions')")
|
||||
el-table-column(:label="$t('common.actions')" width='200')
|
||||
template(slot-scope='data')
|
||||
el-button(size='mini'
|
||||
type='success'
|
||||
|
|
|
@ -16,14 +16,14 @@ div
|
|||
|
||||
//- USERS LIST
|
||||
el-table(:data='paginatedUsers' small)
|
||||
el-table-column(label='Username')
|
||||
el-table-column(label='Username' width='150')
|
||||
template(slot-scope='data')
|
||||
span(slot='reference') {{data.row.username}}
|
||||
el-table-column(label='Email')
|
||||
el-table-column(label='Email' width='300')
|
||||
template(slot-scope='data')
|
||||
el-popover(trigger='hover' :content='data.row.description' width='400')
|
||||
span(slot='reference') {{data.row.email}}
|
||||
el-table-column(:label="$t('common.actions')")
|
||||
el-table-column(:label="$t('common.actions')" width='300')
|
||||
template(slot-scope='data')
|
||||
div(v-if='data.row.id!==$auth.user.id')
|
||||
el-button-group
|
||||
|
|
|
@ -81,5 +81,5 @@ const settingsController = {
|
|||
},
|
||||
}
|
||||
|
||||
setTimeout(settingsController.initialize, 200)
|
||||
settingsController.initialize()
|
||||
module.exports = settingsController
|
||||
|
|
Loading…
Reference in a new issue