Commit Graph

98 Commits

Author SHA1 Message Date
Andrew Croce
0de6322801 UI module for Icon 2018-07-17 16:22:50 -04:00
Andrew Croce
41259685b0 Icon ui method 2018-07-17 16:22:50 -04:00
Luis Cielak
d722dff561 Merge branch 'request_form_styles' of github.com:dod-ccpo/atst into request_form_styles 2018-07-17 14:50:58 -04:00
Luis Cielak
162c8d12c5 Add dd to definition of field 2018-07-17 14:50:52 -04:00
luisgov
cbe20298af Merge branch 'master' into request_form_styles 2018-07-17 14:46:42 -04:00
Luis Cielak
1428170382 Treat form label as definition of field 2018-07-17 14:29:54 -04:00
patricksmithdds
2173f7f49c Merge pull request #71 from dod-ccpo/remove-None-from-form
Use nested defaultdicts to provide more helpful text for unfilled fields
2018-07-13 12:03:20 -04:00
dandds
726946f9c9 Merge pull request #72 from dod-ccpo/session-expir
ensure we clear session cookies
2018-07-13 08:44:36 -04:00
dandds
335bbed94d ensure we clear session cookies 2018-07-12 16:43:41 -04:00
richard-dds
fd8629db5b Use nested defaultdicts to provide more helpful text for unfilled fields 2018-07-12 16:41:06 -04:00
Patrick Smith
9320b0eac2 Add treasury code/ba code fields 2018-07-12 15:36:41 -04:00
Patrick Smith
43e427d4ef Make PE number input accept single string only 2018-07-12 15:36:41 -04:00
dandds
f2b010232d move login template to root 2018-07-12 13:45:49 -04:00
dandds
21c970e4b4 rename some handlers with more specificity 2018-07-12 11:39:22 -04:00
richard-dds
358aa6366c Always show submit screen, but disable button if form is incomplete 2018-07-10 17:01:39 -04:00
richard-dds
269f23d56c Continue showing "review and submit" after request is approved 2018-07-10 14:05:27 -04:00
Luis Cielak
1c360784b2 Add few cosmetic changes to the request form, made some updates to form verbiage 2018-07-10 11:19:59 -04:00
richard-dds
86d9db74c3 Allow user to submit request 2018-07-10 10:38:01 -04:00
richard-dds
405c34546b Remove unused import 2018-07-10 10:36:40 -04:00
richard-dds
9f3012cdc3 Save form instance in JEDIRequestFlow 2018-07-10 10:36:40 -04:00
richard-dds
7dadff7481 Refactor JEDI request form logic into new class 2018-07-10 10:36:40 -04:00
Luis Cielak
37bed89b6b Add placeholder anchor link 2018-07-10 10:15:24 -04:00
richard-dds
39964ab83c Add letter validation to org form name fields 2018-07-09 15:23:14 -04:00
Luis Cielak
c407b9824f Reorganized form fields and updated some texts 2018-07-09 14:34:03 -04:00
dandds
b7d191a8eb do not redirect in get_current_user 2018-07-09 14:04:04 -04:00
richard-dds
061d245193 Merge pull request #56 from dod-ccpo/fix-poc-form
Fix POC form fields
2018-07-09 13:34:45 -04:00
richard-dds
73eb21a863 Only allow letters in POC name fields 2018-07-09 13:13:30 -04:00
richard-dds
d0b68acbe9 Email address does not need to come from CAC 2018-07-09 10:38:22 -04:00
Andrew Croce
3875d4efd1 Create a styleguide page 2018-07-09 08:53:17 -04:00
richard-dds
d98acc67e9 Add simple phone number validation 2018-07-05 16:40:34 -04:00
richard-dds
af771474b2 Change org form designation field to radio 2018-07-05 16:39:57 -04:00
richard-dds
f4a3431ea5 Fix org form email field label 2018-07-05 16:39:57 -04:00
richard-dds
43329c7472 Merge pull request #50 from dod-ccpo/validate-ia-date
Add validation for IA training date
2018-07-05 16:15:18 -04:00
richard-dds
f1c3eecc00 Fix mock login for development 2018-07-05 11:27:10 -04:00
richard-dds
0a636bd736 Add validation for IA training date 2018-07-03 14:42:09 -04:00
luisgov
9d781577c4 Update request form (#45)
* Implement OrganizationInfo form, add it to the template

* Format request_new

* Update "Details of Use" section

* Refactor request_new

* Added some new fields, but form is still WIP

* Add details of use fields

* Add org info fields

* Add some comments

* Add Financial Verification and more Details of Use fields

* Update some textarea fields to single text field

* WIP

* Implement OrganizationInfo form, add it to the template

* Format request_new

* Update "Details of Use" section

* Refactor request_new

* Added some new fields, but form is still WIP

* Add details of use fields

* Add org info fields

* Add some comments

* Add Financial Verification and more Details of Use fields

* Update some textarea fields to single text field

* Format

* Update fields with the correct fieldtypes

* Begin updating sidenav changes

* Split form into each section

* adjust and skip some outdated form validation tests

* break request form into multiple form objects

* need to send user ID to requests-queue

* use DateForm for start date in request

* alter request_new handler to pass raw form data to template

* change review form

* Add KO and COR section titles

* Update date input class name

* Add a special case for the summary form. We should refactor this

* Add read-only fields for review and submit section

* Add minimum number validators to request form

* Fix formatting

* Use html5 datepicker for dates

* Fix request form validators

* Finish org info form

* Finish POC form

* Finish financial verification form

* Move PE and UII to financial form

* Un-skip form validation test
2018-07-03 10:10:44 -04:00
Jason Garber
f423ee31b3 Use webassets' built-in command line builder 2018-06-29 16:17:14 -04:00
Jason Garber
acc24ff3d1 Compile assets to versioned file for production 2018-06-29 16:17:00 -04:00
richard-dds
118a84560a Add simple session management using redis 2018-06-27 16:07:25 -04:00
richard-dds
f70bc7128e Formatting 2018-06-26 16:38:34 -04:00
richard-dds
9a54ea287a Remove mock requests 2018-06-26 16:34:09 -04:00
richard-dds
7616478b05 Send user id, not the entire dict 2018-06-26 16:34:09 -04:00
richard-dds
a693cb8a16 Use status and time_created from each request 2018-06-26 16:34:09 -04:00
richard-dds
0e852ae8ff Fix two linter warnings as well 2018-06-26 10:39:30 -04:00
richard-dds
f9335c7a4e Use black for formatting 2018-06-26 10:31:39 -04:00
dandds
3515543d26 Merge pull request #37 from dod-ccpo/api-version
specify API version as ApiClient config
2018-06-25 10:06:09 -04:00
richard-dds
390df83390 Merge pull request #38 from dod-ccpo/requests-persistence
Hook ATST up to the requests-queue
2018-06-19 16:14:31 -04:00
richard-dds
819ce48e41 Implement the rest of the request form 2018-06-19 15:44:51 -04:00
richard-dds
1d2f481165 Put DateForm in a FormField so it gets serialized 2018-06-19 15:36:32 -04:00
richard-dds
ef4117ae11 Use new requests API /users/requests endpoints 2018-06-19 14:42:06 -04:00