From 93f384a3ecbf8f1745e9ec1993aca0e4efd5b172 Mon Sep 17 00:00:00 2001 From: Sivin Varghese <64252451+iamsivin@users.noreply.github.com> Date: Thu, 16 Dec 2021 13:00:55 +0530 Subject: [PATCH] enhancement: Changes button design for tables in settings page (#3553) * enhancement: Changes button design for tables in settings page * Minor fixes * Review fixes --- .../assets/scss/_foundation-custom.scss | 2 +- .../routes/dashboard/settings/agents/Index.vue | 12 +++++++----- .../settings/attributes/CustomAttribute.vue | 12 +++++++----- .../routes/dashboard/settings/canned/Index.vue | 13 +++++++------ .../routes/dashboard/settings/inbox/Index.vue | 12 +++++++----- .../integrationapps/MultipleIntegrationHooks.vue | 7 ++++--- .../dashboard/settings/integrations/Webhook.vue | 16 +++++++++++----- .../routes/dashboard/settings/labels/Index.vue | 12 +++++++----- .../routes/dashboard/settings/teams/Index.vue | 12 +++++++----- 9 files changed, 58 insertions(+), 40 deletions(-) diff --git a/app/javascript/dashboard/assets/scss/_foundation-custom.scss b/app/javascript/dashboard/assets/scss/_foundation-custom.scss index 1cfd002cf..3b7eca0f7 100644 --- a/app/javascript/dashboard/assets/scss/_foundation-custom.scss +++ b/app/javascript/dashboard/assets/scss/_foundation-custom.scss @@ -12,7 +12,7 @@ padding: var(--space-normal); } -.button-wrapper .button.link.grey-btn { +.button-wrapper .button.grey-btn { margin-left: var(--space-normal); } diff --git a/app/javascript/dashboard/routes/dashboard/settings/agents/Index.vue b/app/javascript/dashboard/routes/dashboard/settings/agents/Index.vue index 307fe9c7d..c3a75b0f6 100644 --- a/app/javascript/dashboard/routes/dashboard/settings/agents/Index.vue +++ b/app/javascript/dashboard/routes/dashboard/settings/agents/Index.vue @@ -57,24 +57,26 @@
- {{ $t('AGENT_MGMT.EDIT.BUTTON_TEXT') }} - {{ $t('AGENT_MGMT.DELETE.BUTTON_TEXT') }}
diff --git a/app/javascript/dashboard/routes/dashboard/settings/attributes/CustomAttribute.vue b/app/javascript/dashboard/routes/dashboard/settings/attributes/CustomAttribute.vue index 62e79a2c1..1153490a9 100644 --- a/app/javascript/dashboard/routes/dashboard/settings/attributes/CustomAttribute.vue +++ b/app/javascript/dashboard/routes/dashboard/settings/attributes/CustomAttribute.vue @@ -50,22 +50,24 @@ - {{ $t('ATTRIBUTES_MGMT.LIST.BUTTONS.EDIT') }} - {{ $t('ATTRIBUTES_MGMT.LIST.BUTTONS.DELETE') }} diff --git a/app/javascript/dashboard/routes/dashboard/settings/canned/Index.vue b/app/javascript/dashboard/routes/dashboard/settings/canned/Index.vue index 83adcd099..29e388e6c 100644 --- a/app/javascript/dashboard/routes/dashboard/settings/canned/Index.vue +++ b/app/javascript/dashboard/routes/dashboard/settings/canned/Index.vue @@ -50,23 +50,24 @@ - {{ $t('CANNED_MGMT.EDIT.BUTTON_TEXT') }} - {{ $t('CANNED_MGMT.DELETE.BUTTON_TEXT') }} diff --git a/app/javascript/dashboard/routes/dashboard/settings/inbox/Index.vue b/app/javascript/dashboard/routes/dashboard/settings/inbox/Index.vue index c53f69701..07edeee15 100644 --- a/app/javascript/dashboard/routes/dashboard/settings/inbox/Index.vue +++ b/app/javascript/dashboard/routes/dashboard/settings/inbox/Index.vue @@ -68,25 +68,27 @@ > - {{ $t('INBOX_MGMT.SETTINGS') }} - {{ $t('INBOX_MGMT.DELETE.BUTTON_TEXT') }} diff --git a/app/javascript/dashboard/routes/dashboard/settings/integrationapps/MultipleIntegrationHooks.vue b/app/javascript/dashboard/routes/dashboard/settings/integrationapps/MultipleIntegrationHooks.vue index 085ce63eb..c19f52793 100644 --- a/app/javascript/dashboard/routes/dashboard/settings/integrationapps/MultipleIntegrationHooks.vue +++ b/app/javascript/dashboard/routes/dashboard/settings/integrationapps/MultipleIntegrationHooks.vue @@ -24,13 +24,14 @@ - {{ $t('INTEGRATION_APPS.LIST.DELETE.BUTTON_TEXT') }} diff --git a/app/javascript/dashboard/routes/dashboard/settings/integrations/Webhook.vue b/app/javascript/dashboard/routes/dashboard/settings/integrations/Webhook.vue index 38e198cee..2c489585c 100644 --- a/app/javascript/dashboard/routes/dashboard/settings/integrations/Webhook.vue +++ b/app/javascript/dashboard/routes/dashboard/settings/integrations/Webhook.vue @@ -43,20 +43,26 @@ - {{ $t('INTEGRATION_SETTINGS.WEBHOOK.EDIT.BUTTON_TEXT') }} - {{ $t('INTEGRATION_SETTINGS.WEBHOOK.DELETE.BUTTON_TEXT') }} diff --git a/app/javascript/dashboard/routes/dashboard/settings/labels/Index.vue b/app/javascript/dashboard/routes/dashboard/settings/labels/Index.vue index 712d801e7..19fde4428 100644 --- a/app/javascript/dashboard/routes/dashboard/settings/labels/Index.vue +++ b/app/javascript/dashboard/routes/dashboard/settings/labels/Index.vue @@ -44,24 +44,26 @@ - {{ $t('LABEL_MGMT.FORM.EDIT') }} - {{ $t('LABEL_MGMT.FORM.DELETE') }} diff --git a/app/javascript/dashboard/routes/dashboard/settings/teams/Index.vue b/app/javascript/dashboard/routes/dashboard/settings/teams/Index.vue index f55169672..5eefe008f 100644 --- a/app/javascript/dashboard/routes/dashboard/settings/teams/Index.vue +++ b/app/javascript/dashboard/routes/dashboard/settings/teams/Index.vue @@ -27,24 +27,26 @@ > - {{ $t('TEAMS_SETTINGS.LIST.EDIT_TEAM') }} - {{ $t('TEAMS_SETTINGS.DELETE.BUTTON_TEXT') }}