26 Commits

Author SHA1 Message Date
leigh-mil
e7487aa114 Set max width on ccpo admin pages 2020-02-04 16:13:07 -05:00
leigh-mil
af79de140b Set optional=False on the TextInput macro 2019-10-22 15:23:28 -04:00
leigh-mil
7a4c26419f Low-fi update of modals to fix styling 2019-10-08 16:30:28 -04:00
dandds
cc689a7e39 Fix Vue bug in CCPO new user confirmation.
The submit button for the page contained a Vue directive, but the button
is not nested in an appropriate Vue component. The directive and
associated behavior are unnecessary in this case, so I removed the
directive.
2019-08-21 13:04:35 -04:00
leigh-mil
a942b5f172 Use base-form and SaveButton 2019-08-15 15:41:07 -04:00
leigh-mil
852046a3e7 Change variable name from data to user_info because it was more descriptive 2019-08-13 16:23:11 -04:00
leigh-mil
87b173b035 Use tuple instead of a dict for the user data and form 2019-08-13 14:09:53 -04:00
leigh-mil
8b23173fef Only show disable link if user has delete ccpo user perms 2019-08-13 10:32:26 -04:00
leigh-mil
14978142b1 Use DeleteConfirmation macro 2019-08-13 10:32:26 -04:00
leigh-mil
7c65783d08 Add csrf token to remove ccpo user form 2019-08-13 10:32:26 -04:00
leigh-mil
0745539853 Move text into translations 2019-08-13 10:32:26 -04:00
leigh-mil
54239a520e Add revoke access button and modal, sketch out route function for removing cppo perms from a user 2019-08-13 10:17:24 -04:00
leigh-mil
14327e9a8b Use common translations for table headings, remove unnecessary class 2019-08-09 11:08:23 -04:00
leigh-mil
fa83dfe6bd When user not found, redirect to users page and show flash message 2019-08-09 11:08:23 -04:00
leigh-mil
43855c5495 Remove alert from confirm ccpo user page 2019-08-09 11:08:23 -04:00
leigh-mil
864e11ea11 Remove redundant 'ccpo' from ccpo route function names 2019-08-09 11:08:23 -04:00
leigh-mil
1b86147ab6 Move text into translations file 2019-08-09 11:08:23 -04:00
leigh-mil
a6eb89ffb8 Add tests for route functions 2019-08-09 11:08:22 -04:00
leigh-mil
1f8337485f Move ccpo routes into their own file 2019-08-09 11:08:22 -04:00
leigh-mil
6b15b41d56 Formatting and styling of form 2019-08-09 10:50:34 -04:00
leigh-mil
9f54501df4 Add in alert for when user isn't found 2019-08-09 10:50:34 -04:00
leigh-mil
811a498bf4 Finish route for confirming CCPO user, add function to update user's ccpo perms, and add success flash message to template 2019-08-09 10:50:34 -04:00
leigh-mil
01ba73ef42 Add in templates for ccpo user form and sketch out route functions 2019-08-09 10:50:34 -04:00
leigh-mil
8420a78392 Add CREATE_CCPO_USER permission, create context processor for ATAT so user_can and permissions can be used in the template, add placeholder button for adding new CCPO user 2019-08-09 10:50:34 -04:00
leigh-mil
083896a689 Update template to show table of CCPO users 2019-08-05 16:11:24 -04:00
leigh-mil
41820813ed Add in route for CCPO users page and permissions to view page 2019-08-05 15:23:17 -04:00