~cadence/cloudtube

aa953dc7969be15db2b1146361929b4515b3e628 — Cadence Ember 6 months ago ec34702
Tiny miscellanous changes
4 files changed, 12 insertions(+), 3 deletions(-)

M pug/settings.pug
M sass/includes/colors.sass
M sass/includes/forms.sass
M utils/validate.js
M pug/settings.pug => pug/settings.pug +1 -1
@@ 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

M sass/includes/colors.sass => sass/includes/colors.sass +1 -1
@@ 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


M sass/includes/forms.sass => sass/includes/forms.sass +7 -0
@@ 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

M utils/validate.js => utils/validate.js +3 -1
@@ 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(", ")}`
			}
		})
	]
}