560 Commits

Author SHA1 Message Date
dandds
fb430e76e9 Basic frontend uploader component 2019-06-06 13:57:07 -04:00
leigh-mil
0a2d241dc4 Add validator to TO number input and add cancel button to form 2019-06-05 12:58:33 -04:00
richard-dds
b3e9a4827a
Merge pull request #858 from dod-ccpo/sticky-to
Sticky CTA Header
2019-06-04 15:28:49 -04:00
richard-dds
a233bf0e0e Remove reference to vue-sticky 2019-06-04 14:21:23 -04:00
George Drummond
26c4ec0d05
Merge pull request #851 from dod-ccpo/modal-freezing
Fix modal freezing fix
2019-06-04 11:43:40 -04:00
richard-dds
84146608c7 Replace vue-sticky with stickybits for IE compat 2019-06-04 11:22:35 -04:00
George Drummond
b9c0f13228
Fix modal freezing fix 2019-06-04 09:55:57 -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
richard-dds
27041f77fb Formatting 2019-05-31 16:28:34 -04:00
richard-dds
37ca94df42 Create reusable StickyCTA component 2019-05-31 16:25:40 -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
George Drummond
951ef9212d
Fix issue with CLIN changes not updating funding total 2019-05-10 13:16:08 -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
124970f9d6 Frontend email validation should match wtforms
Our long email regex for the frontend was stricter in some ways, but it allowed
email addresses with a single-letter TLD ("frank@dod.m"), which the backend
WTForms validator would reject. The two should be equivalent.

Reference:
1939aec691/wtforms/validators.py (validators.py-281)
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
Montana
629dd674b9 Refactor emitters 2019-04-19 11:49:41 -04:00
Montana
39975a0a31 Verify that the modal form is only concerned with its own fields 2019-04-19 11:49:41 -04:00
Montana
85b6287e0c Emit field's parent uid on mount 2019-04-19 11:49:41 -04:00