mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
vue_accourse: replace some buttons by small buttons
This commit is contained in:
parent
d916b575da
commit
e2e38a9ce8
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user