|
|
@ -52,11 +52,12 @@ onMounted(() => { |
|
|
|
|
|
|
|
|
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<div class="h-5/6"> |
|
|
|
<div class="h-5/6"> |
|
|
|
<a-typography-title class="inline" :level="4">{{ meta.title }} : Webhooks </a-typography-title> |
|
|
|
<div class="mb-4"> |
|
|
|
<a-button class="float-right" type="primary" size="large" @click="emit('add')"> |
|
|
|
<div class="float-left font-bold text-xl mt-2 mb-4">{{ meta.title }} : Webhooks</div> |
|
|
|
<!-- TODO: i18n --> |
|
|
|
<a-button class="float-right" type="primary" size="large" @click="emit('add')"> |
|
|
|
Create Webhook |
|
|
|
{{ $t('activity.addWebhook') }} |
|
|
|
</a-button> |
|
|
|
</a-button> |
|
|
|
|
|
|
|
</div> |
|
|
|
<a-divider /> |
|
|
|
<a-divider /> |
|
|
|
<div v-if="hooks.length"> |
|
|
|
<div v-if="hooks.length"> |
|
|
|
<a-list item-layout="horizontal" :data-source="hooks" class="cursor-pointer bg-gray-100 pl-5 pr-5 pt-2 pb-2"> |
|
|
|
<a-list item-layout="horizontal" :data-source="hooks" class="cursor-pointer bg-gray-100 pl-5 pr-5 pt-2 pb-2"> |
|
|
|