Brian Talbot
4a2b5519ba
Studio: styles new user role controls and revamps course team UI
2013-07-29 13:12:05 -04:00
David Baumgold
42331464ed
Can't remove last instructor of a course
2013-07-29 13:12:05 -04:00
David Baumgold
79c554ba5b
course admin team: handle is_staff users
...
A user with `is_staff=True` is treated as being in all groups. This is problematic
when we care about the user's staff/instructor role for a course: you can't remove
the instructor role. This commit changes the `is_user_in_course_group_role` function
to allow the caller to specify that it should not check the `is_staff` attribute
on the user.
2013-07-29 13:12:05 -04:00
David Baumgold
c70bd5c908
Remove whitespace from email addresses on the course team page
2013-07-29 13:12:04 -04:00
David Baumgold
f438552b3b
Added unit tests for new course team API
2013-07-29 13:12:04 -04:00
David Baumgold
5c356bd379
Add button to add/remove instructor priviledges on course team page
2013-07-29 13:11:48 -04:00
David Baumgold
21a32370df
Reorganize URLs and views around course team
...
Match other views better, saner URLs, more RESTful style, extensible for other roles
2013-07-29 13:11:48 -04:00
David Baumgold
c240f6597d
Reformat JS
2013-07-29 13:11:47 -04:00
David Baumgold
a6f349dab9
Studio i18n
2013-07-12 16:25:39 -04:00
David Baumgold
1f7fcaed50
Separate Mako logic and JS logic
2013-07-11 09:39:32 -04:00
David Baumgold
cffa013314
Fix course team JS to handle non-200 status codes
2013-07-11 09:30:50 -04:00
Frances Botsford
81cb921e32
removed symbolset, replaced with fontawesome throughout for new buttons; updated old code for new button at bottom of grading to also use the FA style
2013-05-22 15:55:48 -04:00
Brian Talbot
f069c1a1a1
Studio: style reorg
...
typography, SASS import, mixins/extends
2013-05-14 17:15:07 -04:00
Brian Talbot
f11e54ddc7
studio - syncing up page <title> values with UI titles/headings
2013-03-22 11:27:16 -04:00
Brian Talbot
266e8951a4
made necessary code revisions per https://github.com/MITx/mitx/pull/1515/files#r3069750
2013-02-19 17:18:09 -05:00
Brian Talbot
c81f958788
studio - final prep of introduction areas (with fix for current page content margins)
2013-02-14 13:00:14 -05:00
Brian Talbot
6ade6983ae
studio - page headers: added in logic to style page actions' height based on title having a subtitle or not
2013-02-14 09:38:32 -05:00
Brian Talbot
e23c99961d
studio - page headers: completed basic styling and simple page set-ups
2013-02-13 15:03:26 -05:00
Brian Talbot
e13db29efc
resolving merge from feature/btalbot/studio-softlanding
2013-02-13 12:42:15 -05:00
Don Mitchell
d569c559ca
Merge branch 'feature/btalbot/studio-softlanding' of github.com:MITx/mitx into feature/btalbot/studio-softlanding
...
Conflicts:
cms/djangoapps/contentstore/views.py
cms/static/js/views/settings/main_settings_view.js
cms/templates/index.html
cms/templates/settings.html
2013-02-12 16:57:00 -05:00
Brian Talbot
70e11e823c
studio - made all page heading chrome have consistent markup
2013-02-12 15:07:32 -05:00
Don Mitchell
48e582647c
bug 171
2013-02-07 16:24:43 -05:00
Brian Talbot
fedd0aac9a
studio - course nav: added in styling to account for stateful menus
2013-02-07 11:25:11 -05:00
Brian Talbot
1144b0eeed
studio - soft landing UI: initial header and templating work
2013-02-03 22:22:11 -05:00
Tom Giannattasio
2be1f852e7
clean up of users page
2012-12-13 11:28:59 -05:00
Tom Giannattasio
75c4909785
added modal cover for editors
2012-12-13 11:28:59 -05:00
Tom Giannattasio
8294b05802
style tweaks to tabs and static pages; key bindings for new user form
2012-12-13 11:20:30 -05:00
Tom Giannattasio
d63f82ae57
moved error message into form area; tweaked cancel behavior
2012-10-30 11:39:08 -04:00
Lyla Fischer
957a72ae32
typo fix
2012-10-24 18:12:29 -04:00
Tom Giannattasio
df0ca3c445
changed save button to add user
2012-10-22 16:09:13 -04:00
Chris Dodge
9c1b599505
remove the add users button if logged in user is just staff member
2012-10-18 10:41:26 -04:00
Chris Dodge
ed2febe44e
fix 403 error when editors visit page (make read only). Don't allow user to remove him/herself. Rewire up the remove user callback.
2012-10-16 13:17:41 -04:00
Calen Pennington
4005cbf455
Hide/show wips w/ press of 'w' key
2012-10-12 15:11:02 -04:00
Calen Pennington
ac71da1535
Make header tabs work
2012-10-12 11:18:40 -04:00
Tom Giannattasio
07ac0d0642
styled/tweaked users page
2012-10-10 15:46:59 -04:00
Chris Dodge
a80e8ce3d5
respond to Cale pull request comments. Update access.py (LMS) to use the same 'check for legacy group name first' logic. Add SECRET_KEY setting to the CAS project so that auth tokens from CAS are accepted in the LMS
2012-10-09 15:11:07 -04:00
Chris Dodge
68945fdc77
adhere to the naming conventions of user groups (instructor_* and staff_* of the LMS AuthZ implementation). While we're keeping our authz.py implementation - which is duplicative of LMS's access.py - in order to minimize code churn/risk-of-regression, there is data compatibility so the two systems will interpret the data the same way
2012-10-09 13:14:31 -04:00
Chris Dodge
27016465f4
support some simple authorization scheme to view/edit courses
2012-10-01 15:13:19 -04:00