Commit Graph

319 Commits

Author SHA1 Message Date
Patrick Smith
581f908c1a Use Requests constant instead of magic number 2018-08-13 14:50:57 -04:00
luis cielak
8f50fd2651 Update text on some fields 2018-08-13 13:22:32 -04:00
Patrick Smith
0ccdb8ecfd Show/hide additional fields when annual is more than a million 2018-08-13 11:29:50 -04:00
Patrick Smith
3e6c4d7f13 Update flask form to require fields only when appropriate 2018-08-13 11:29:25 -04:00
Patrick Smith
653c22e0a1 Set default value for radio fields
If we don't set the default, the default gets set to `"None"`, which is
an unintuitive value. An empty string is equivalent but more usuable.
2018-08-13 11:28:41 -04:00
andrewdds
73205e9d90 Merge pull request #147 from dod-ccpo/ui/input-field-frontend-validation
Ui/input field frontend validation
2018-08-13 11:19:16 -04:00
luis cielak
eb5dfe1fbf Some tooltip tyleing and text changes 2018-08-10 16:44:48 -04:00
richard-dds
99b9579cd9 Fix linting errors 2018-08-10 13:47:46 -04:00
Patrick Smith
168436b156 Use multiple date formats in DateRange validator 2018-08-10 13:46:50 -04:00
luis cielak
1bc44b8882 Add moaaar tooltips 2018-08-10 13:38:14 -04:00
Andrew Croce
06a2d83dbd Edit labels and descriptions 2018-08-10 09:19:42 -04:00
luis cielak
a9be4665ce Begin adding tooltips to req form fields 2018-08-09 15:54:27 -04:00
Patrick Smith
3fa4adb4de Require PE id to be defined in financial verification form 2018-08-09 15:54:27 -04:00
Patrick Smith
087b870718 Fix NewlineListField displaying too many newlines 2018-08-09 15:54:27 -04:00
luis cielak
bd58da642b Make sure the label style for input text and radios match 2018-08-09 15:54:27 -04:00
andrewdds
0d2a8faad4 Merge pull request #145 from dod-ccpo/ui/request-form
UI/request form labels
2018-08-09 13:54:26 -04:00
Patrick Smith
edcd8bb921 Require PE id to be defined in financial verification form 2018-08-09 10:52:27 -04:00
Patrick Smith
994af840d9 Fix NewlineListField displaying too many newlines 2018-08-09 10:52:27 -04:00
luis cielak
74fc5f0ec9 Make sure the label style for input text and radios match 2018-08-08 13:54:10 -04:00
dandds
b9f4a4be71 remove all references to tornado 2018-08-06 15:39:30 -04:00
dandds
45b47c41bf update tests for Flask 2018-08-02 16:03:54 -04:00
richard-dds
d6b099c684 Formatting 2018-08-02 13:20:03 -04:00
richard-dds
ed0893b4a0 Converted all form pages. Flow still not working 2018-08-02 13:20:03 -04:00
richard-dds
5d7dde3561 Financial verification form rendering 2018-08-02 13:20:02 -04:00
richard-dds
106b87b96e Allow for multiple date formats 2018-08-02 13:18:10 -04:00
dandds
cb30ee99ca remove fundz_client in favor of pe numbers repo 2018-07-31 11:50:33 -04:00
Luis Cielak
be3d5b287e Update total_spend to dollar_value so that it doesn't break existing functionality in request-queue 2018-07-31 10:58:52 -04:00
Luis Cielak
04e532c8db Normalize location and style for submiting the form 2018-07-30 15:33:05 -04:00
Luis Cielak
ecc0716e3b Update data transfers dropdown 2018-07-30 15:33:05 -04:00
Luis Cielak
5a42f42f8a Add more options for data transfer quanitties 2018-07-30 15:33:05 -04:00
Luis Cielak
7b307ed1d8 Add read-only fields for poc and org details 2018-07-30 15:33:05 -04:00
Luis Cielak
fa74074bca Add plaeholder for review submit output fields 2018-07-30 15:33:05 -04:00
Luis Cielak
a008affb73 Disable html5 validations temporarily 2018-07-30 15:33:05 -04:00
Luis Cielak
d563936944 Update details of use fields 2018-07-30 15:33:05 -04:00
Luis Cielak
57ec16f7a9 Change input text to text area 2018-07-30 15:33:05 -04:00
Luis Cielak
41dc726afd Add dropdown field example 2018-07-30 15:33:05 -04:00
Luis Cielak
4e9e44064b Moaaar details of use fields (financial fields) 2018-07-30 15:33:05 -04:00
Luis Cielak
64409ef0b3 Update fields for details of use section 2018-07-30 15:33:05 -04:00
Luis Cielak
84d25d0e4e Begin updating fields 2018-07-30 15:33:05 -04:00
patricksmithdds
240da29945 Merge pull request #90 from dod-ccpo/suggest-pe-id
Suggest a PE number when PE number is not found
2018-07-24 16:55:32 -04:00
Luis Cielak
ef2041e871 Clean up some copy of field inputs 2018-07-24 13:33:11 -04:00
Patrick Smith
8e427aaf55 Suggest a PE number when PE number is not found
Using the defined format of a PE number
(https://www.militaryperiscope.com/terms/t0000241.html), we can suggest
a corrected format of the PE number if the user omitted the leading
zeros for either the DoD program or category.
2018-07-24 10:14:48 -04:00
Patrick Smith
355d2ed36a Add tests for PE id validation 2018-07-19 11:30:03 -04:00
Patrick Smith
f1ba2bcba6 Perform extra validation on financial verification step 2018-07-19 11:11:05 -04:00
Patrick Smith
2bca2f9ac8 Validate form warnings with existing request and fundz client 2018-07-19 11:11:05 -04:00
Patrick Smith
10d4c2b90b Refactor to allow validating warnings on a form 2018-07-19 11:11:05 -04:00
Patrick Smith
f51dc8f07c Refactor forms so we can pass requests_client to validate 2018-07-19 11:11:05 -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