mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 13:54:23 +00:00
vue_accourse: replace some buttons by small buttons
This commit is contained in:
parent
d916b575da
commit
e2e38a9ce8
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
|
|
||||||
<a class="btn" target="_blank"
|
<a class="btn btn-sm" target="_blank"
|
||||||
:class="classAction"
|
:class="classAction"
|
||||||
:title="$t(titleAction)"
|
:title="$t(titleAction)"
|
||||||
@click="openModal">
|
@click="openModal">
|
||||||
@ -44,13 +44,11 @@
|
|||||||
<template v-slot:footer>
|
<template v-slot:footer>
|
||||||
<button v-if="action === 'show'"
|
<button v-if="action === 'show'"
|
||||||
@click="changeActionTo('edit')"
|
@click="changeActionTo('edit')"
|
||||||
class="btn btn-update"> <!-- @click.prevent="$emit('..', ..)" -->
|
class="btn btn-update">
|
||||||
</button>
|
</button>
|
||||||
<button v-else
|
<button v-else
|
||||||
class="btn btn-save"
|
class="btn btn-save"
|
||||||
@click="saveAction"
|
@click="saveAction">
|
||||||
> <!--
|
|
||||||
-->
|
|
||||||
{{ $t('action.save')}}
|
{{ $t('action.save')}}
|
||||||
</button>
|
</button>
|
||||||
</template>
|
</template>
|
||||||
|
@ -34,11 +34,11 @@
|
|||||||
</li-->
|
</li-->
|
||||||
<li>
|
<li>
|
||||||
<button v-if="!participation.endDate"
|
<button v-if="!participation.endDate"
|
||||||
class="btn btn-remove"
|
class="btn btn-sm btn-remove"
|
||||||
v-bind:title="$t('action.remove')"
|
v-bind:title="$t('action.remove')"
|
||||||
@click.prevent="$emit('close', participation)">
|
@click.prevent="$emit('close', participation)">
|
||||||
</button>
|
</button>
|
||||||
<button v-else class="btn btn-remove disabled"></button>
|
<button v-else class="btn btn-sm btn-remove" disabled></button>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</td>
|
</td>
|
||||||
|
@ -36,7 +36,7 @@
|
|||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<button
|
<button
|
||||||
class="btn btn-remove"
|
class="btn btn-sm btn-remove"
|
||||||
v-bind:title="$t('action.remove')"
|
v-bind:title="$t('action.remove')"
|
||||||
@click.prevent="$emit('remove', resource)">
|
@click.prevent="$emit('remove', resource)">
|
||||||
</button>
|
</button>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user