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.ts13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/view/form.ts b/src/view/form.ts
index 60e5f08..0b04cfb 100644
--- a/src/view/form.ts
+++ b/src/view/form.ts
@@ -36,12 +36,13 @@ export function view(config: Config.Config, showPage: (route: Router.Route) => v
history.pushState({}, '', Router.toString(timerRoute))
showPage(timerRoute)
}},
- labelledInput('prepare', 0, config.prepare, n => { config.prepare = n; wd()}),
- labelledInput('tabatas', 1, config.tabatas, n => { config.tabatas = n; wd()}),
- labelledInput('cycles', 1, config.cycles, n => { config.cycles = n; wd()}),
- labelledInput('work', 5, config.work, n => { config.work = n; wd()}),
- labelledInput('rest', 5, config.rest, n => { config.rest = n; wd()}),
- h('div', { className: 'g-Form__Duration' }, 'duration', h('div', {}, duration)),
+ labelledInput('Warm Up', 0, config.warmup, n => { config.warmup = n; wd()}),
+ labelledInput('Tabatas', 1, config.tabatas, n => { config.tabatas = n; wd()}),
+ labelledInput('Prepare', 0, config.prepare, n => { config.prepare = n; wd()}),
+ labelledInput('Cycles', 1, config.cycles, n => { config.cycles = n; wd()}),
+ labelledInput('Work', 5, config.work, n => { config.work = n; wd()}),
+ labelledInput('Rest', 5, config.rest, n => { config.rest = n; wd()}),
+ h('div', { className: 'g-Form__Duration' }, 'Duration:', h('div', {}, duration)),
h('button', { className: 'g-Form__Start' }, 'start'))
)
}