better disposition in admin

This commit is contained in:
les 2019-09-13 10:15:23 +02:00
parent cf5c09e3b1
commit 1d28267f6d
No known key found for this signature in database
GPG key ID: 352918250B012177
3 changed files with 8 additions and 7 deletions

View file

@ -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'

View file

@ -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

View file

@ -81,5 +81,5 @@ const settingsController = {
},
}
setTimeout(settingsController.initialize, 200)
settingsController.initialize()
module.exports = settingsController