vue_accourse: replace some buttons by small buttons

This commit is contained in:
Mathieu Jaumotte 2021-08-02 13:31:41 +02:00
parent d916b575da
commit e2e38a9ce8
3 changed files with 9 additions and 11 deletions

View File

@ -1,6 +1,6 @@
<template>
<a class="btn" target="_blank"
<a class="btn btn-sm" target="_blank"
:class="classAction"
:title="$t(titleAction)"
@click="openModal">
@ -44,13 +44,11 @@
<template v-slot:footer>
<button v-if="action === 'show'"
@click="changeActionTo('edit')"
class="btn btn-update"> <!-- @click.prevent="$emit('..', ..)" -->
class="btn btn-update">
</button>
<button v-else
class="btn btn-save"
@click="saveAction"
> <!--
-->
@click="saveAction">
{{ $t('action.save')}}
</button>
</template>

View File

@ -34,11 +34,11 @@
</li-->
<li>
<button v-if="!participation.endDate"
class="btn btn-remove"
v-bind:title="$t('action.remove')"
class="btn btn-sm btn-remove"
v-bind:title="$t('action.remove')"
@click.prevent="$emit('close', participation)">
</button>
<button v-else class="btn btn-remove disabled"></button>
<button v-else class="btn btn-sm btn-remove" disabled></button>
</li>
</ul>
</td>

View File

@ -36,8 +36,8 @@
</li>
<li>
<button
class="btn btn-remove"
v-bind:title="$t('action.remove')"
class="btn btn-sm btn-remove"
v-bind:title="$t('action.remove')"
@click.prevent="$emit('remove', resource)">
</button>
</li>