change buttons apparence for datePane back to editPane

This commit is contained in:
Mathieu Jaumotte 2021-09-22 16:37:45 +02:00
parent 3ee0f4bf20
commit d994612987

View File

@ -101,10 +101,8 @@
</template> </template>
<template v-slot:footer> <template v-slot:footer>
<button class="btn btn-cancel change-icon" @click="resetPane"> <!--<button class="btn btn-cancel change-icon" @click="resetPane">{{ $t('action.cancel') }}</button>-->
{{ $t('action.cancel') }} <button v-if="useDatePane" class="btn btn-update change-icon" @click="closeEditPane">
</button>
<button v-if="useDatePane" class="btn btn-misc" @click="closeEditPane">
{{ $t('nav.next')}} {{ $t('nav.next')}}
<i class="fa fa-fw fa-arrow-right"></i> <i class="fa fa-fw fa-arrow-right"></i>
</button> </button>
@ -133,7 +131,7 @@
</template> </template>
<template v-slot:action> <template v-slot:action>
<li v-if="useDatePane"> <li v-if="useDatePane">
<button class="btn btn-misc" @click="closeEditPane"> <button class="btn btn-update change-icon" @click="closeEditPane">
{{ $t('nav.next')}} {{ $t('nav.next')}}
<i class="fa fa-fw fa-arrow-right"></i> <i class="fa fa-fw fa-arrow-right"></i>
</button> </button>
@ -175,14 +173,14 @@
</template> </template>
<template v-slot:footer> <template v-slot:footer>
<button class="btn btn-update" @click="openEditPane"> <button class="btn btn-misc" @click="openEditPane">
{{ $t('action.edit')}} <i class="fa fa-fw fa-arrow-left"></i>
{{ $t('nav.previous')}}
</button> </button>
<!-- <button class="btn btn-save" @click="closeDatePane">
<button class="btn btn-save">
{{ $t('action.save')}} {{ $t('action.save')}}
</button> </button>
--> <!-- -->
</template> </template>
</modal> </modal>
@ -197,10 +195,16 @@
v-bind:insideModal="false" v-bind:insideModal="false"
ref="dateAddress"> ref="dateAddress">
<template v-slot:before>
<button class="btn btn-misc" @click="openEditPane">
<i class="fa fa-fw fa-arrow-left"></i>
{{ $t('nav.previous')}}
</button>
</template>
<template v-slot:action> <template v-slot:action>
<li> <li>
<button class="btn btn-update" @click="closeDatePane"> <button class="btn btn-save" @click="closeDatePane">
{{ $t('action.edit')}} {{ $t('action.save')}}
</button> </button>
</li> </li>
</template> </template>