Commit Graph

108 Commits

Author SHA1 Message Date
leigh-mil
666f237002 Update text input vue component so that it only shows the validation icon on mount when the form is not a form that is inset into a page 2019-08-19 10:28:20 -04:00
leigh-mil
725a45aea7 Merge pull request #1026 from dod-ccpo/team-settings-styling
Styling Bugs
2019-08-19 09:44:14 -04:00
leigh-mil
afb35b9b22 SaveButton on forms should stay disabled until the form is valid 2019-08-16 08:51:43 -04:00
leigh-mil
2fd148eda8 Use SaveButton macro and base-form vue component on app settings page
Use common translations for save button
2019-08-16 08:34:45 -04:00
leigh-mil
3026b41c4e Move app name and description to their own line 2019-08-15 14:16:19 -04:00
leigh-mil
71e72bcbcf If there are 0 envs, do not show the toggle arrow and disable the link 2019-08-06 10:19:54 -04:00
leigh-mil
6280fc3c08 Merge pull request #992 from dod-ccpo/hide-csp-links
Only show CSP link if user has access to the env
2019-08-01 14:54:27 -04:00
leigh-mil
c67491fa4c Show csp link if current user is one of the env's users 2019-08-01 11:24:14 -04:00
leigh-mil
6dc5c14964 Use correct perms to show edit env form and remove unnecessary perms check to show links for app settings and team 2019-08-01 10:37:24 -04:00
leigh-mil
2252f656d5 Remove non breaking spaces 2019-07-26 10:23:42 -04:00
leigh-mil
d5e6b11296 Update template to check if user has app settings perms for showing the form 2019-07-25 11:45:40 -04:00
leigh-mil
64b582d966 Use add_perms to only show button if user can create apps 2019-07-15 09:22:23 -04:00
leigh-mil
c4efa54a64 Count members instead of users 2019-07-14 17:03:26 -04:00
George Drummond
d17df2aaad Remove unused templates 2019-06-14 12:44:50 -04:00
Montana
5fb44b39b0 Use default table styling for CLIN tables 2019-06-04 10:13:55 -04:00
George Drummond
454181665c Fix deleting application members from the team page 2019-05-28 15:41:31 -04:00
leigh-mil
8980b04f7e Filter the roles relationship on applications to remove deleted roles 2019-05-23 11:07:54 -04:00
leigh-mil
5e2f00b1c2 Add perms for viewing application log 2019-05-22 13:12:48 -04:00
leigh-mil
927d1b7925 Add audit log to app settings page 2019-05-22 13:08:44 -04:00
dandds
ff41a20ad8 Adds additional buttons and functionality to app team settings.
"Add to existing environment" table, "delete member", and environment
roles and env role edit buttons added for every user in the team
settings list. Accompanying CSS changes.
2019-05-15 15:14:07 -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
George Drummond
888c6e57ae Delete modals arent dismissable 2019-05-15 10:12:52 -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
Montana
408fa4e618 Fix DeleteConfirmation component modal id 2019-05-14 15:17:52 -04:00
Montana
1c506b995a Use helper function to render settings page
- use front end for validation testing
- change "form" to "application_form"
2019-05-14 15:16:53 -04:00
George Drummond
b884c8a762 Use common translation 2019-05-14 13:48:43 -04:00
George Drummond
f1299dc4b0 Add DELETE_APPLICATION_MEMBER permission 2019-05-14 13:39:20 -04:00
Montana
53d09deb22 Clean up imports 2019-05-14 11:51:34 -04:00
Montana
41818d7955 Toggle on click
- New copy to the translations file
- CSS is not updated
2019-05-14 11:45:39 -04:00
George Drummond
27a4ef12c6 Delete an application member 2019-05-14 11:07:08 -04:00
leigh-mil
aab01b3947 Remove save button and move footer into file with env panel 2019-05-14 10:58:22 -04:00
rachel-dtr
39a0716028 Updating content across the site 2019-05-10 10:28:02 -04:00
dandds
4afa88a3b2 Move application team permissions form.
The submit input needs to be inside the form to work on IE 10.
2019-05-08 11:24:13 -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
dandds
f974dab330 Add new application members to an empty application.
The link button to add a new application member to an app that did not
have any ("empty state")  was not wired up. This:

- Moves the two steps of the new member modal into macros so that they
  can be reused with different button/link types
- Wires the "invite a new team member" button on the application team
  page
- Makes a minor CSS tweak so that icons nested under `.empty-state` in
  the modal aren't enormous
2019-05-07 16:47:45 -04:00
montana-mil
fb7efc6057 Merge pull request #801 from dod-ccpo/app-team-permissions
Application Team Table Permissions
2019-05-07 16:27:23 -04:00
Montana
2a9de4f3b9 Match the orders of the permissions everywhere 2019-05-07 09:35:38 -04:00
George Drummond
ef23b1d776 Move to a component 2019-05-06 15:18:53 -04:00
Montana
de41afa935 Add form to template
- do not use None as a dropdown value because it was causing issues
- cleans up some comments
2019-05-06 15:16:48 -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
dandds
0da0f6a0ae WIP: use team form for application team page 2019-05-06 15:15:03 -04:00
dandds
4289554e76 Style and formatting updates to environments and team tables.
- Use the built-in grid system for columns.
- Add column heads to environments table.
- Add delete icon to environments table.
2019-05-03 12:44:05 -04:00
dandds
e457e9a60d Style improvements to the add a new application page:
- fix size of description textarea
- place "remove" buttons closer to text input fields for environments
- add icon for "add another environment" link
2019-05-02 13:19:33 -04:00
dandds
752a3a8f28 Use solid/filled Font Awesome icons for consistency.
Some of the "open" icons are not in the free FA tier, so rather than mix
the two we should use solid icons everywhere.
2019-05-02 13:19:33 -04:00
dandds
035d24f55d fix errors from rebase 2019-05-01 11:00:01 -04:00
dandds
4cde4d88d1 Style updates to portfolio team page:
- right align environment toggle
- fix environment toggle text, add caret icons
- display user permissions correctly
2019-05-01 10:51:32 -04:00
dandds
bb06735c83 updates to styles on app settings page:
- global: more bottom padding for panels
- app description textarea has no width contraint, constrained heigh
- fix extra padding in panel footers
- larger form columns for app name and description
- remove deprecated environment list
- do not need extra right padding on nested list items
2019-05-01 10:50:06 -04:00
dandds
41a191b1fc triangle marker for open environments 2019-05-01 10:50:06 -04:00