aboutsummaryrefslogtreecommitdiff
path: root/src/view/form.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/view/form.ts')
-rw-r--r--src/view/form.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/view/form.ts b/src/view/form.ts
index a5e7253..8670463 100644
--- a/src/view/form.ts
+++ b/src/view/form.ts
@@ -26,7 +26,7 @@ export function view(config: Config.Config, showPage: (route: Router.Route) => v
h('h1', { className: 'g-Form__Title' }, 'Tabatas'),
h('div',
{ className: 'g-Form__Line' },
- numberInput('Preparation', 0, config.prepare, n => { config.prepare = n; wd()}),
+ numberInput('Prep', 0, config.prepare, n => { config.prepare = n; wd()}),
operator('+'),
numberInput('Cycles', 1, config.cycles, n => { config.cycles = n; wd()}),
operator('× ('),
@@ -85,7 +85,7 @@ function tabatasSection(
tabatas,
h('input',
{ type: 'button',
- value: 'Add',
+ value: 'Add tabata',
className: 'g-Button',
onclick: (e: Event) => {
let index = counter++
@@ -120,7 +120,7 @@ function tabataInput(
): TabataInput {
const textInput = h('input',
{ value: init,
- className: 'g-Input',
+ className: 'g-Input g-Form__TabataInput',
required: 'required',
oninput: (e: Event) => {
if (e.target !== null) {
@@ -163,7 +163,7 @@ function numberInput(
},
labelValue,
h('input',
- { className: 'g-Input',
+ { className: 'g-Input g-Form__NumberInput',
type: 'number',
required: 'required',
min,