291 Commits

Author SHA1 Message Date
dandds
b63da3ad54
Merge pull request #886 from dod-ccpo/upload-fixes
Upload fixes
2019-06-12 11:21:40 -04:00
dandds
06f4aeb74d
Merge pull request #880 from dod-ccpo/to-review-modal
TO Review Submit Modal
2019-06-11 13:10:17 -04:00
George Drummond
cad43af455
Portfolio archiving 2019-06-11 11:30:37 -04:00
dandds
0e89a55c07 Display and overwrite task order uploads correctly.
- Populate the POSTed form with additional data from the existing TO
  model. This way the pdf attachment has to be explicitly overwritten.
- Adjust the frontend so that if there is an existing PDF, it only sends
  a file input back if the user removes the existing PDF.
2019-06-11 09:58:32 -04:00
Montana
f49b67d0dd Create SubmitConfirmation modal
- includes html component and js component
- styling on modal is not ready
2019-06-11 09:31:03 -04:00
leigh-mil
e9c21b0d5e Update vue and template to add multiple LOAs 2019-06-10 19:46:05 -04:00
leigh-mil
f85af06297 Use number instead of array to add new CLIN fields 2019-06-10 14:34:10 -04:00
leigh-mil
46cd8f3762 Fix tests and formatting 2019-06-10 12:36:57 -04:00
leigh-mil
454643c3c9 Post rebase fixes 2019-06-10 12:29:54 -04:00
leigh-mil
61d7bc92d8 Update new CLIN fields so they post data properly 2019-06-10 12:29:54 -04:00
leigh-mil
e017cd12af Vue for adding multiple CLINs 2019-06-10 12:29:54 -04:00
leigh-mil
cca101b50c Add CLINs to Task Order 2019-06-10 12:29:54 -04:00
dandds
159360692f Improve task order upload validation handling.
- Display validation errors.
- Rerender validated form data correctly.
- Clear error state correctly.
2019-06-06 13:57:07 -04:00
dandds
fb430e76e9 Basic frontend uploader component 2019-06-06 13:57:07 -04:00
Montana
67be7d99a4 Replace ko_review template with new task order review
- deletes ko_review vue component
2019-06-03 14:19:04 -04:00
Montana
14a179a239 Add collapsible text component 2019-06-03 10:40:02 -04:00
dandds
43ea922218 Simplify environment role updates in app settings.
Use ApplicationRole.id instead of User.id in forms. This eliminates the
need for the function that checks whether a user is in a given
application, because looking up the application role will raise an error
if the user is not.
2019-05-24 13:35:00 -04:00
dandds
815632ed00 Handle setting no access for user environment roles:
- use constant for no access string
- update no access constant
- update language and permissions for rendering remove app member button
2019-05-17 14:00:45 -04:00
dandds
39cc200bf2 Vue component for editing application member environment role 2019-05-17 14:00:45 -04:00
dandds
d38c4df878 Form components for changing user environment role 2019-05-17 14:00:44 -04:00
montana-mil
1c4725840c
Merge pull request #815 from dod-ccpo/add-new-env-app-settings
Add New Environment via app settings
2019-05-15 11:30:29 -04:00
Montana
ab874a06f8 Use new-environment component to toggle
- Moves the form to the innermost place it can go
2019-05-15 11:20:24 -04:00
George Drummond
b8ea1349b2
Merge pull request #817 from dod-ccpo/delete-user-from-application
Delete an application member
2019-05-14 15:45:32 -04:00
George Drummond
27a4ef12c6
Delete an application member 2019-05-14 11:07:08 -04:00
leigh-mil
4206aa8a59 Use member.role_name in template and JS
change name of data from roles to rolesCategory to make less confusing
2019-05-14 11:00:14 -04:00
leigh-mil
3a2e2aa878 Wip tests 2019-05-14 11:00:14 -04:00
leigh-mil
be178733cf Add note about future refactoring 2019-05-14 10:58:22 -04:00
leigh-mil
319cc17c1c Start vue component for edit-environment-role 2019-05-14 10:58:22 -04:00
leigh-mil
060c6834bf Add save button and temp member role toggle to env member form 2019-05-14 10:58:22 -04:00
dandds
457b1f9523 Detangle the MultiStepModalForm modal-open link from the modal.
In order to place modal forms in other places on the page (so that forms
are not nested) it's necessary to move MultiStepModalForm links out of
the component. They just need to refer to the correct modal.

This PR also makes changes to ensure that the active modal is being
unset everywhere correctly when a modal is closed.
2019-05-08 11:16:56 -04:00
Montana
416ea1de82 Watch for changes on the options input, which is a grandchild of base-form 2019-05-06 15:16:48 -04:00
Montana
5692088837 Add Save Button to edit version of team table
-adds base form component
-Save button does not function properly yet
-alphabetizes imports on base-form
2019-05-06 15:15:03 -04:00
Montana
c1ae5129bc Add edit template with dropdown selectors 2019-05-06 15:15:03 -04:00
George Drummond
334f3d8ed3
Move js to form component 2019-05-03 14:48:27 -04:00
George Drummond
645c217fbe
Prevent submitting the form if invalid 2019-05-03 14:23:47 -04:00
George Drummond
430a6493f0
Get error state in edit environment name form working 2019-05-03 14:23:47 -04:00
George Drummond
77aaf301c2
Merge pull request #790 from dod-ccpo/dod-notice
Add DoD Disclaimer
2019-05-01 11:40:19 -04:00
dandds
47b07c2bb5 nested checkbox component 2019-04-30 14:43:23 -04:00
dandds
0d5e0a3fa7 back button for new application member modal 2019-04-30 14:43:23 -04:00
dandds
fd1d0b527a Delete environments permission disabled by default in new app member form
It will be enabled when the user checks the "manage environments"
permission. This updates the Jinja and Vue checkbox input components so
that Vue can monitor the inpur state.
2019-04-30 14:43:23 -04:00
dandds
054d030e15 Vue binding for environment role selections.
The environment name will be grayed out until something besides the
default "no access" is selected.

Small changes to the application member subforms:
- filter for "None" as a string
- have nested forms inherit from FlaskForm; each nested form adds its
  own validation error flash otherwise if there are validation problems
2019-04-30 14:43:23 -04:00
dandds
9c84e30172 frontend for adding new application member
- updated styling
- eliminated stray <form> tag in application team template
2019-04-30 14:43:23 -04:00
George Drummond
5835068c75
Use more specific naming 2019-04-30 10:34:30 -04:00
George Drummond
cc482fa0e0
Alert should only display when login with CAC button is clicked 2019-04-30 10:24:16 -04:00
George Drummond
4d47c881b6
Add DoD Disclaimer 2019-04-29 15:52:28 -04:00
George Drummond
079672c818
Update application environments 2019-04-29 10:46:21 -04:00
George Drummond
98f8593c4c
Merge pull request #780 from dod-ccpo/toggle-multiple
Toggle multiple
2019-04-22 11:45:30 -04:00
Montana
97a7d6b205 Remove unused parent_uid references 2019-04-22 10:05:44 -04:00
Montana
cd85ae8e5f use this._uid to check parent 2019-04-22 09:21:33 -04:00
George Drummond
847c300d33
Multiple drop down sections for toggler 2019-04-19 14:25:34 -04:00