Commit Graph

11 Commits

Author SHA1 Message Date
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
dandds
0da0f6a0ae WIP: use team form for application team page 2019-05-06 15:15:03 -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
4f304d747e Small tweaks for adding a new application member:
- raise specific invitation type if invite not found in invitation domain classes
- more terse assignments of defaults in invitation service, smh
- terser margin expression for inline input fields
- sass formatting
- use translation for cancel link
- oxford comma for app team management permission explanation
- do not format environment roles with hyphens for role selection
- generalize some additional methods in the invitation domain base class
- use plain atst.models import path
2019-04-30 17:14:58 -04:00
dandds
47b07c2bb5 nested checkbox component 2019-04-30 14:43:23 -04:00
dandds
b7a8cd4168 Refinements to the new application member modal
- remove extra padding from second modal screen
- update modal styles to more closely match designs
- ad `user_name` property to application_role model to fix flash message
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
daadc67eee fix form row rendering in chrome 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