From 528dd6ba28e90d3b5cbbab09d9185086cf6775ad Mon Sep 17 00:00:00 2001 From: Budibase Date: Thu, 19 Sep 2019 19:47:18 +0100 Subject: [PATCH] UI changes to actions/triggers/userAccess --- .../src/accessLevels/AccessLevelsRoot.svelte | 15 +++--- .../src/actionsAndTriggers/ActionView.svelte | 13 ++++-- .../src/actionsAndTriggers/Actions.svelte | 25 ++++++---- .../ActionsAndTriggersRoot.svelte | 46 ++++++++++++------- .../src/actionsAndTriggers/Triggers.svelte | 24 +++++++--- packages/builder/src/common/Modal.svelte | 4 ++ .../builder/src/database/RecordView.svelte | 7 +-- 7 files changed, 90 insertions(+), 44 deletions(-) diff --git a/packages/builder/src/accessLevels/AccessLevelsRoot.svelte b/packages/builder/src/accessLevels/AccessLevelsRoot.svelte index 19d995ff5a..5f9ec73db7 100644 --- a/packages/builder/src/accessLevels/AccessLevelsRoot.svelte +++ b/packages/builder/src/accessLevels/AccessLevelsRoot.svelte @@ -100,16 +100,19 @@ const getPermissionsString = perms => { \ No newline at end of file diff --git a/packages/builder/src/actionsAndTriggers/ActionsAndTriggersRoot.svelte b/packages/builder/src/actionsAndTriggers/ActionsAndTriggersRoot.svelte index 27d03163a2..5af9c28127 100644 --- a/packages/builder/src/actionsAndTriggers/ActionsAndTriggersRoot.svelte +++ b/packages/builder/src/actionsAndTriggers/ActionsAndTriggersRoot.svelte @@ -85,31 +85,45 @@ let onTriggerDelete = (trigger) => {
+
+ + + + +
- - - - +
+ - - - + +
\ No newline at end of file diff --git a/packages/builder/src/actionsAndTriggers/Triggers.svelte b/packages/builder/src/actionsAndTriggers/Triggers.svelte index de882c232c..1f3194b125 100644 --- a/packages/builder/src/actionsAndTriggers/Triggers.svelte +++ b/packages/builder/src/actionsAndTriggers/Triggers.svelte @@ -27,10 +27,10 @@ let triggerEditingFinished = (trigger) => { -

Triggers

+

Triggers

{#if $store.triggers} - +
@@ -43,10 +43,10 @@ let triggerEditingFinished = (trigger) => { {#each $store.triggers as trigger} - - - - + + + +
Event
{trigger.eventName}{trigger.actionName}{trigger.condition}{trigger.optionsCreator}{trigger.eventName}{trigger.actionName}{trigger.condition}{trigger.optionsCreator} onTriggerEdit(trigger)}>{@html getIcon("edit")} onTriggerDelete(trigger)}>{@html getIcon("trash")} @@ -74,7 +74,17 @@ let triggerEditingFinished = (trigger) => { .edit-button { cursor:pointer; - color: var(--white); + color: var(--secondary25); +} + +.title { + margin: 3rem 0rem 0rem 0rem; + font-weight: 700; +} + +.table-content { + font-weight: 500; + font-size: .9rem; } tr:hover .edit-button { diff --git a/packages/builder/src/common/Modal.svelte b/packages/builder/src/common/Modal.svelte index 0cb081abf4..2c9c019acf 100644 --- a/packages/builder/src/common/Modal.svelte +++ b/packages/builder/src/common/Modal.svelte @@ -34,4 +34,8 @@ $: { \ No newline at end of file diff --git a/packages/builder/src/database/RecordView.svelte b/packages/builder/src/database/RecordView.svelte index c9895108ec..cea6bc6bab 100644 --- a/packages/builder/src/database/RecordView.svelte +++ b/packages/builder/src/database/RecordView.svelte @@ -185,12 +185,12 @@ let getTypeOptions = typeOptions => } .settings-title { - font-weight: 600; + font-weight: 700; } .title { margin: 3rem 0rem 0rem 0rem; - font-weight: 600; + font-weight: 700; } .recordkey { @@ -210,10 +210,11 @@ let getTypeOptions = typeOptions => .edit-button { cursor:pointer; - color: var(--white); + color: var(--secondary25); } .edit-button:hover { + cursor:pointer; color: var(--secondary75); }