From a9d86650f40a82a64d1fd8e0525c26422d314d3a Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Tue, 16 Mar 2021 16:38:07 +0100 Subject: make uploads like animism. start audio stuff --- frontend/app/common/form.component.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'frontend/app/common/form.component.js') diff --git a/frontend/app/common/form.component.js b/frontend/app/common/form.component.js index cf3e466..927b89d 100644 --- a/frontend/app/common/form.component.js +++ b/frontend/app/common/form.component.js @@ -76,7 +76,7 @@ export const Checkbox = props => ( type="checkbox" name={props.name} value={1} - checked={props.checked} + checked={!!props.checked} onChange={(e) => props.onChange(props.name, e.target.checked)} /> {props.label} -- cgit v1.2.3-70-g09d2 From daa1060ce3f953a767b88a1108185a9554d91649 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sat, 20 Mar 2021 22:30:00 +0100 Subject: form styling --- frontend/app/common/form.component.js | 2 +- frontend/app/views/graph/graph.css | 35 +++++++- frontend/app/views/page/page.css | 3 + frontend/app/views/tile/components/tile.form.js | 108 ++++++++++++++---------- 4 files changed, 98 insertions(+), 50 deletions(-) (limited to 'frontend/app/common/form.component.js') diff --git a/frontend/app/common/form.component.js b/frontend/app/common/form.component.js index 927b89d..d0ebea3 100644 --- a/frontend/app/common/form.component.js +++ b/frontend/app/common/form.component.js @@ -71,7 +71,7 @@ export const TextArea = props => ( ) export const Checkbox = props => ( -