diff --git a/assets/style.css b/assets/style.css index d0efa757..33a68e3c 100644 --- a/assets/style.css +++ b/assets/style.css @@ -1,6 +1,7 @@ html, body { scrollbar-width: thin; - overflow: auto !important; + overflow-y: auto !important; + overflow-x: hidden; scrollbar-color: #FF4511 #111; font-family: sans-serif; } diff --git a/components/eventAdmin.vue b/components/eventAdmin.vue index 35477e7d..a513c25c 100644 --- a/components/eventAdmin.vue +++ b/components/eventAdmin.vue @@ -20,6 +20,13 @@ span v-list-item-content v-list-item-title(v-text="$t('common.edit')") + //- Clone + v-list-item(v-if='!event.parentId' :to='`/add/${event.id}?clone=true`') + v-list-item-icon + v-icon(v-text='mdiScanner') + v-list-item-content + v-list-item-title(v-text="$t('common.clone')") + //- Remove v-list-item(v-if='!event.parentId' @click='remove(false)') v-list-item-icon @@ -53,26 +60,13 @@ span v-list-item-content v-list-item-title(v-text="$t('common.remove')") - - //- v-btn(text color='primary' v-if='event.is_visible' @click='toggle(false)') {{$t(`common.${event.parentId?'skip':'hide'}`)}} - //- v-btn(text color='success' v-else @click='toggle(false)') {{$t('common.confirm')}} - //- v-btn(text color='primary' @click='$router.push(`/add/${event.id}`)') {{$t('common.edit')}} - //- v-btn(text color='primary' v-if='!event.parentId' @click='remove(false)') {{$t('common.remove')}} - - //- template(v-if='event.parentId') - //- v-divider - //- span.mr-1 {{$t('event.edit_recurrent')}} - //- v-btn(text color='primary' v-if='event.parent.is_visible' @click='toggle(true)') {{$t('common.pause')}} - //- v-btn(text color='primary' v-else @click='toggle(true)') {{$t('common.start')}} - //- v-btn(text color='primary' @click='$router.push(`/add/${event.parentId}`)') {{$t('common.edit')}} - //- v-btn(text color='primary' @click='remove(true)') {{$t('common.remove')}}