38 Commits

Author SHA1 Message Date
leigh-mil
e25f519243 Change TO fragment to a macro to make it reusable in the builder and view page, final tweaks to review and view pages 2020-01-02 12:45:53 -05:00
leigh-mil
fc1b530e70 Use kwargs in TOFormStepHeader to fix issue of swapped titles and descriptions 2019-12-26 15:55:25 -05:00
dandds
7ea1ae5a34 Add a JS test for the clin-fields Vue component.
In order to do this, it was expedient to move the CLINFields Jinja macro
into its own file and pass in all the data it requires.
2019-09-24 09:37:30 -04:00
dandds
112f0e0ab2 Initial JS tests for the Vue TOForm component.
This adds BeautifulSoup to the Python dev dependencies so that we can
render an entire page and then extract the Vue component we need.
Ideally, we should refactor all the Vue components so that they live in
Jinja macros and we can render those macros directly.
2019-09-20 15:24:55 -04:00
graham-dds
33ed89df54 Add percent obligated to step 3 form 2019-09-12 16:11:12 -04:00
graham-dds
6224026d72 Custom component for handling clin dollar input
- Macro for CLIN dollar input HTML.
- Custom Vue component to react to
 "fundingValid" validaiton
2019-09-12 16:11:12 -04:00
graham-dds
8c1a1ac33e Add default values for obligated and total CLIN $ 2019-09-12 16:11:12 -04:00
leigh-mil
3683c79ae0 Use template args for the contract start and end date
pointing to base.ini in the JS file resulted in the raw string content of base.ini to be in the JS bundle
2019-09-09 14:23:38 -04:00
leigh-mil
2efd2c968d Use translations and make errors look pretty 2019-09-06 10:12:35 -04:00
leigh-mil
e4ca027065 Validate CLIN PoP against configurable contract start and end dates 2019-09-06 10:12:34 -04:00
leigh-mil
20871e787f Remove code related to Totals box from CLIN fields vue component 2019-09-05 10:19:12 -04:00
leigh-mil
654f20e8eb Remove optional flag from required fields 2019-09-04 16:59:51 -04:00
leigh-mil
48a8a80f87 Move text to translations file 2019-09-04 16:59:51 -04:00
leigh-mil
eb58612182 Add remove CLIN confirmation modal 2019-09-04 16:59:51 -04:00
leigh-mil
27d3f46cc9 Make remove CLIN button work 2019-09-04 14:09:34 -04:00
leigh-mil
6f1f7f0d3d Use to-form Vue component instead of base-form in TO builder base template 2019-09-04 14:09:34 -04:00
leigh-mil
23b67ede15 Add remove CLIN button 2019-09-04 14:09:34 -04:00
leigh-mil
e39d2fe191 Use caller for date picker to show alert message 2019-09-04 11:21:12 -04:00
leigh-mil
90b84a1ffe move text to translations file 2019-09-03 13:38:05 -04:00
leigh-mil
68cd90a7a4 Style PoP Section 2019-09-03 13:25:53 -04:00
leigh-mil
f08088c736 Styling for Period of Performance Section 2019-09-03 13:25:53 -04:00
leigh-mil
8a16b61e80 Styling for CLIN Funding section 2019-09-03 13:25:53 -04:00
leigh-mil
2b98995488 Styling for CLIN Details section
add in validation styling for inputs
use solid checkmark as ok validation across site
2019-09-03 13:25:53 -04:00
leigh-mil
274fa4470c Update text on clin card and reorder fields 2019-09-03 11:35:15 -04:00
graham-dds
38ba8b7e5f LOAs are so out of this codebase 2019-08-30 09:57:23 -05:00
leigh-mil
e1fbac5a52 Add front end validation that enforces that PoP end is after start 2019-08-01 16:53:32 -04:00
leigh-mil
25ab64f748 Add validation to form for enforcing chronological order of PoP start and end dates 2019-08-01 14:45:50 -04:00
leigh-mil
f1f344388a Fix validation icon and spacing 2019-07-26 11:20:58 -04:00
leigh-mil
ea6c8b77bc Update copy 2019-07-26 11:20:10 -04:00
leigh-mil
e8dede201b Reorder elements on the page, fix input widths, move validation icon for inputs 2019-07-26 11:20:10 -04:00
leigh-mil
c4651332a2 Move clin fields into macro 2019-07-26 11:20:10 -04:00
leigh-mil
e6742fb319 Add max width to TO form, put each clin inside .card, fix html indenting 2019-07-26 11:20:10 -04:00
leigh-mil
69c816335a Create macro for form step headings 2019-07-18 17:01:16 -04:00
leigh-mil
4826e8002b Rename route functions to be clearer 2019-07-18 10:31:45 -04:00
leigh-mil
d2799c00d0 Add step numbers to sticky header 2019-07-18 10:31:45 -04:00
leigh-mil
5b208d9e8d Create TO builder base file and use it to simplify step templates 2019-07-18 10:31:45 -04:00
leigh-mil
68e0d261f6 Add review route and template 2019-07-18 10:31:45 -04:00
leigh-mil
7ebe84a9cb Add step 3 route and template 2019-07-18 10:31:45 -04:00