Skip to content

Commit

Permalink
Form 59 checkbox (#174)
Browse files Browse the repository at this point in the history
* update docker to node 20 and doc

* add checkbox set to list of input

* move templatizer to dev and update version

* add checkbox set jade view and js

* add and update input and spec for checkbox set

* add new works

* edit checkbox set

* issue found

* new div and logic for checkbox set

* comment

* keep the existing checkbox in .checkbox-set-controls

* remove margin after checkbox in set

* update checkbox button

* edit and remove inside the set

* save button to controls, history to each checkbox

* skip notes for checkbox set

* fix and refactor print

* fix and refactor traveler view

* refactor traveler.js
  • Loading branch information
dongliu authored Mar 17, 2024
1 parent cb2ae43 commit f30cff1
Show file tree
Hide file tree
Showing 22 changed files with 5,566 additions and 3,534 deletions.
4 changes: 4 additions & 0 deletions builderview/add_checkbox_button.jade
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.control-group
.control-label Add Checkbox
.controls
button(class='btn btn-primary' value='add_checkbox_button') +
2 changes: 1 addition & 1 deletion builderview/generic_text_input.jade
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.control-group
.control-label #{label}
.controls
input(type='text', name='radio_text')
input(type='text')

5 changes: 5 additions & 0 deletions inputview/checkbox_in_set.jade
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.control-group.output-control-group
.controls
label.checkbox
input(type='checkbox', disabled=true, rv-data-userkey='model.userkey')
span { model.checkbox_text }
8 changes: 8 additions & 0 deletions inputview/checkbox_set.jade
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.control-group.checkbox-set
.control-label
span.control-number
!= ' '
span.model-label { model.label }
.controls
.checkbox-set-controls
span.help-block { model.help }
4 changes: 4 additions & 0 deletions inputview/checkbox_set_button.jade
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.checkbox-set-buttons
.btn-group
a.btn.btn-info(data-toggle='tooltip', title='edit the checkbox') Edit
a.btn.btn-warning(data-toggle='tooltip', title='remove the checkbox') Remove
Loading

0 comments on commit f30cff1

Please sign in to comment.