This commit is contained in:
parent
c3437b1908
commit
1a79f0dc2a
|
@ -18,6 +18,8 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<template #header>
|
<template #header>
|
||||||
{{ mode === 'create' ? i18n.ts._webhookSettings.createWebhook : i18n.ts._webhookSettings.modifyWebhook }}
|
{{ mode === 'create' ? i18n.ts._webhookSettings.createWebhook : i18n.ts._webhookSettings.modifyWebhook }}
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
<div>
|
||||||
<MkSpacer :marginMin="20" :marginMax="28">
|
<MkSpacer :marginMin="20" :marginMax="28">
|
||||||
<MkLoading v-if="loading !== 0"/>
|
<MkLoading v-if="loading !== 0"/>
|
||||||
<div v-else :class="$style.root" class="_gaps_m">
|
<div v-else :class="$style.root" class="_gaps_m">
|
||||||
|
@ -49,16 +51,16 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<MkSwitch v-model="isActive">
|
<MkSwitch v-model="isActive">
|
||||||
<template #label>{{ i18n.ts.enable }}</template>
|
<template #label>{{ i18n.ts.enable }}</template>
|
||||||
</MkSwitch>
|
</MkSwitch>
|
||||||
|
</div>
|
||||||
|
</MkSpacer>
|
||||||
<div :class="$style.footer" class="_buttonsCenter">
|
<div :class="$style.footer" class="_buttonsCenter">
|
||||||
<MkButton primary :disabled="disableSubmitButton" @click="onSubmitClicked">
|
<MkButton primary rounded :disabled="disableSubmitButton" @click="onSubmitClicked">
|
||||||
<i class="ti ti-check"></i>
|
<i class="ti ti-check"></i>
|
||||||
{{ i18n.ts.ok }}
|
{{ i18n.ts.ok }}
|
||||||
</MkButton>
|
</MkButton>
|
||||||
<MkButton @click="onCancelClicked"><i class="ti ti-x"></i> {{ i18n.ts.cancel }}</MkButton>
|
<MkButton rounded @click="onCancelClicked"><i class="ti ti-x"></i> {{ i18n.ts.cancel }}</MkButton>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</MkSpacer>
|
|
||||||
</MkModalWindow>
|
</MkModalWindow>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -223,9 +225,12 @@ onMounted(async () => {
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer {
|
.footer {
|
||||||
display: flex;
|
position: sticky;
|
||||||
justify-content: center;
|
bottom: 0;
|
||||||
align-items: flex-end;
|
left: 0;
|
||||||
margin-top: 20px;
|
padding: 12px;
|
||||||
|
border-top: solid 0.5px var(--divider);
|
||||||
|
-webkit-backdrop-filter: var(--blur, blur(15px));
|
||||||
|
backdrop-filter: var(--blur, blur(15px));
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in New Issue