mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
make cancel buttons red
This commit is contained in:
parent
34006a25e2
commit
93b6323c34
@ -9,6 +9,7 @@
|
||||
:disabled="disabled && !update"
|
||||
@click="handleCancel"
|
||||
data-test="cancel-button"
|
||||
danger
|
||||
>
|
||||
{{ $t('actions.cancel') }}
|
||||
</base-button>
|
||||
|
||||
@ -62,7 +62,7 @@
|
||||
/>
|
||||
</ds-flex-item>
|
||||
<ds-flex-item :width="{ base: '100%', sm: '100%', md: '100%', lg: 1 }">
|
||||
<ds-button icon="trash" danger :disabled="!deleteEnabled" @click="handleSubmit">
|
||||
<ds-button icon="trash" danger filled :disabled="!deleteEnabled" @click="handleSubmit">
|
||||
{{ $t('settings.deleteUserAccount.name') }}
|
||||
</ds-button>
|
||||
</ds-flex-item>
|
||||
|
||||
@ -10,7 +10,12 @@
|
||||
<p v-html="message" />
|
||||
|
||||
<template slot="footer">
|
||||
<base-button class="cancel" :icon="modalData.buttons.cancel.icon" @click="cancel">
|
||||
<base-button
|
||||
class="cancel"
|
||||
:danger="!modalData.buttons.confirm.danger"
|
||||
:icon="modalData.buttons.cancel.icon"
|
||||
@click="cancel"
|
||||
>
|
||||
{{ $t(modalData.buttons.cancel.textIdent) }}
|
||||
</base-button>
|
||||
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
|
||||
<template slot="footer">
|
||||
<base-button class="cancel" @click="cancel">{{ $t('disable.cancel') }}</base-button>
|
||||
<base-button danger class="confirm" icon="exclamation-circle" @click="confirm">
|
||||
<base-button danger filled class="confirm" icon="exclamation-circle" @click="confirm">
|
||||
{{ $t('disable.submit') }}
|
||||
</base-button>
|
||||
</template>
|
||||
|
||||
@ -35,6 +35,7 @@
|
||||
|
||||
<base-button
|
||||
danger
|
||||
filled
|
||||
class="confirm"
|
||||
icon="exclamation-circle"
|
||||
:disabled="!form.reasonCategory"
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
|
||||
<template slot="footer">
|
||||
<base-button class="cancel" @click="cancel">{{ $t('release.cancel') }}</base-button>
|
||||
<base-button danger class="confirm" icon="exclamation-circle" @click="confirm">
|
||||
<base-button danger filled class="confirm" icon="exclamation-circle" @click="confirm">
|
||||
{{ $t('release.submit') }}
|
||||
</base-button>
|
||||
</template>
|
||||
|
||||
@ -18,6 +18,7 @@
|
||||
size="small"
|
||||
circle
|
||||
danger
|
||||
filled
|
||||
@click="cancelCrop"
|
||||
/>
|
||||
</div>
|
||||
|
||||
@ -64,6 +64,7 @@
|
||||
<base-button
|
||||
v-else
|
||||
danger
|
||||
filled
|
||||
data-test="confirm"
|
||||
size="small"
|
||||
:icon="statusIconName"
|
||||
|
||||
@ -57,7 +57,7 @@
|
||||
<base-button filled :disabled="disabled" type="submit">
|
||||
{{ editingLink.id ? $t('actions.save') : $t('settings.social-media.submit') }}
|
||||
</base-button>
|
||||
<base-button v-if="editingLink.id" id="cancel" ghost @click="handleCancel()">
|
||||
<base-button v-if="editingLink.id" id="cancel" danger @click="handleCancel()">
|
||||
{{ $t('actions.cancel') }}
|
||||
</base-button>
|
||||
</ds-space>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user