Add S3 password settings to edit window
This commit is contained in:
@@ -6,7 +6,7 @@ let {
|
||||
group_first = false,
|
||||
group_middle = false,
|
||||
group_last = false,
|
||||
highlight = true,
|
||||
highlight = false,
|
||||
flat = false,
|
||||
action,
|
||||
children,
|
||||
@@ -35,16 +35,16 @@ const click = (e: MouseEvent) => {
|
||||
onclick={click}
|
||||
type="button"
|
||||
class="button"
|
||||
class:button_highlight={on && highlight}
|
||||
class:button_highlight={highlight}
|
||||
class:group_first
|
||||
class:group_middle
|
||||
class:group_last
|
||||
class:flat
|
||||
>
|
||||
{#if on}
|
||||
<i class="icon">{icon_on}</i>
|
||||
<i class="icon green">{icon_on}</i>
|
||||
{:else}
|
||||
<i class="icon">{icon_off}</i>
|
||||
<i class="icon red">{icon_off}</i>
|
||||
{/if}
|
||||
{@render children?.()}
|
||||
</button>
|
||||
@@ -53,4 +53,10 @@ const click = (e: MouseEvent) => {
|
||||
.button {
|
||||
flex: 0 0 content;
|
||||
}
|
||||
.green {
|
||||
color: var(--highlight_color);
|
||||
}
|
||||
.red {
|
||||
color: var(--danger_color);
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user