Browse Source

chore(gui-v2): fine tune style & i18n

pull/2838/head
Wing-Kam Wong 2 years ago
parent
commit
5b0f1ff6a5
  1. 7
      packages/nc-gui-v2/components/webhook/List.vue

7
packages/nc-gui-v2/components/webhook/List.vue

@ -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">
<div class="float-left font-bold text-xl mt-2 mb-4">{{ meta.title }} : Webhooks</div>
<a-button class="float-right" type="primary" size="large" @click="emit('add')"> <a-button class="float-right" type="primary" size="large" @click="emit('add')">
<!-- TODO: i18n --> {{ $t('activity.addWebhook') }}
Create Webhook
</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">

Loading…
Cancel
Save