diff --git a/interim-server/templates/portal_table.html b/interim-server/templates/portal_table.html index da4efa3..807ec91 100644 --- a/interim-server/templates/portal_table.html +++ b/interim-server/templates/portal_table.html @@ -6,7 +6,7 @@
- @@ -15,6 +15,20 @@ initial-value="{{ filter | json }}" >
+
+ + + + + +
  • + + Log out + +
  • +
    +
    +
    diff --git a/interim-server/templates/workspace_nav.html b/interim-server/templates/workspace_nav.html index 216ddc2..b299c1f 100644 --- a/interim-server/templates/workspace_nav.html +++ b/interim-server/templates/workspace_nav.html @@ -8,21 +8,26 @@ {% endif %} - ... +
  • - + PostgreSQL Credentials + +
  • +
  • + + All Workspaces +
  • - -
    diff --git a/sass/_basic-dropdown.scss b/sass/_basic-dropdown.scss index 9277f5c..dd3345f 100644 --- a/sass/_basic-dropdown.scss +++ b/sass/_basic-dropdown.scss @@ -9,7 +9,6 @@ &:popover-open { @include globals.popover; - left: anchor(left); padding: 0; position: absolute; position-anchor: --anchor-button; @@ -29,9 +28,11 @@ background: #0001; } - & > button { + & > button, & > [role="button"] { @include globals.reset-button; + @include globals.reset-anchor; + display: block; padding: 8px 16px; } } diff --git a/sass/_globals.scss b/sass/_globals.scss index 9f3d94c..914d636 100644 --- a/sass/_globals.scss +++ b/sass/_globals.scss @@ -126,6 +126,11 @@ $hover-lightness-scale-factor: -5%; outline: none; } +@mixin reset-anchor { + color: inherit; + text-decoration: none; +} + @mixin rounded-sm { border-radius: $border-radius-rounded-sm; } diff --git a/sass/main.scss b/sass/main.scss index ebb3411..03bb456 100644 --- a/sass/main.scss +++ b/sass/main.scss @@ -94,8 +94,19 @@ button, input[type="submit"] { &__toolbar-utilities { align-items: center; display: flex; + gap: 12px; grid-area: utilities; justify-content: flex-start; + padding: 0 12px; + } + + &__toolbar-user { + align-items: center; + display: flex; + gap: 12px; + grid-area: user; + justify-content: flex-end; + padding: 0 12px; } &__sidebar { @@ -112,12 +123,6 @@ button, input[type="submit"] { } } -.toolbar__utilities { - align-items: center; - display: flex; - justify-content: flex-start; -} - .toolbar-item { flex: 0; } diff --git a/sass/viewer.scss b/sass/viewer.scss index c039d27..017fb0c 100644 --- a/sass/viewer.scss +++ b/sass/viewer.scss @@ -325,14 +325,6 @@ $table-border-color: #ccc; } } -.toolbar-item { - padding: 0.5rem; - - &__button { - @include globals.button-secondary; - } -} - .toolbar-popover { &:popover-open { @include globals.rounded; diff --git a/svelte/src/basic-dropdown.webc.svelte b/svelte/src/basic-dropdown.webc.svelte index 39a8e9d..6657939 100644 --- a/svelte/src/basic-dropdown.webc.svelte +++ b/svelte/src/basic-dropdown.webc.svelte @@ -3,6 +3,7 @@ props: { button_aria_label: { attribute: "button-aria-label" }, button_class: { attribute: "button-class" }, + alignment: { attribute: "alignment" }, }, tag: "basic-dropdown", }} @@ -10,13 +11,42 @@ -
    -
    - - - - -
    + + {#if field.field.presentation.t === "Dropdown"} + + {:else if field.field.presentation.t === "Text"} + + {:else if field.field.presentation.t === "Timestamp"} + + {:else if field.field.presentation.t === "Uuid"} + + {/if} + +
    +
    + + + + +
    +
    diff --git a/svelte/src/filter-menu.webc.svelte b/svelte/src/filter-menu.webc.svelte index 9c65718..70ce5f8 100644 --- a/svelte/src/filter-menu.webc.svelte +++ b/svelte/src/filter-menu.webc.svelte @@ -32,34 +32,32 @@ } -
    -
    - -
    -
    - -
    - - - -
    - -
    +
    + +
    +
    + +
    + + + +
    +