mirror of
https://git.sr.ht/~cadence/cloudtube
synced 2024-11-25 08:57:31 +00:00
Tiny miscellanous changes
This commit is contained in:
parent
ec34702d90
commit
aa953dc796
@ -10,7 +10,7 @@ mixin input({id, label, description, type, placeholder, disabled, list})
|
||||
- disabled = disabled || false
|
||||
.field-row
|
||||
label.field-row__label(for=id)= label
|
||||
input(type=type id=id name=id value=settings[id] placeholder=placeholder disabled=disabled list=`${id}-list`).border-look.field-row__input
|
||||
input(type=(type) id=id name=id value=settings[id] placeholder=placeholder disabled=disabled list=`${id}-list`).border-look.field-row__input
|
||||
if list
|
||||
datalist(id=`${id}-list`)
|
||||
each item in list
|
||||
|
@ -8,7 +8,7 @@ $bg-accent-area: #44474b
|
||||
$fg-bright: #fff
|
||||
$fg-main: #ddd
|
||||
$fg-dim: #bbb
|
||||
$fg-warning: #ffb98f
|
||||
$fg-warning: #fdca6d
|
||||
|
||||
$edge-grey: #808080
|
||||
|
||||
|
@ -43,6 +43,12 @@ fieldset
|
||||
align-items: start
|
||||
padding-bottom: 15px
|
||||
|
||||
&.max-width-input
|
||||
grid-template-columns: auto 1fr
|
||||
|
||||
.field-row__input
|
||||
justify-self: stretch
|
||||
|
||||
&__label
|
||||
grid-area: label
|
||||
padding: 8px 8px 8px 0px
|
||||
@ -58,6 +64,7 @@ fieldset
|
||||
margin: 12px 0px 18px
|
||||
font-size: 16px
|
||||
color: #ccc
|
||||
line-height: 1.2
|
||||
|
||||
//
|
||||
.checkbox-row
|
||||
|
@ -86,7 +86,9 @@ function presetEnsureParams(list) {
|
||||
() => ({
|
||||
statusCode: 400,
|
||||
contentType: "application/json",
|
||||
content: `Some required body parameters were missing. Required parameters: ${list.join(", ")}`
|
||||
content: {
|
||||
error: `Some required body parameters were missing. Required parameters: ${list.join(", ")}`
|
||||
}
|
||||
})
|
||||
]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user