Commit Graph

342 Commits

Author SHA1 Message Date
Kyle Fiedler
3edf1a6a84 Added buttons for both pages to make it even more clear to start class 2012-08-31 15:58:44 -04:00
Kyle Fiedler
0ff70472c9 Added styles for dashboard to have link around whole class 2012-08-31 15:58:44 -04:00
Victor Shnayder
b97a2af2a2 Show policy, grading policy, and top-level errors
* Save errors for courses that failed to load in modulestore
* global staff can see course errors on their dashboard
* put policy loading errors into the error trackers
* add has_access(user, 'global', 'staff'), which is equiv to user.is_staff for now
2012-08-21 15:00:21 -04:00
Victor Shnayder
2df3a6ef11 Big access control refactor
* All access control logic is now in access.py
* It exports a single method for general use: has_access(user, object, action)
 - possible actions depend on object type (e.g. 'see_exists', 'enroll', 'staff')
* Removed DARK_LAUNCH feature flag--it is now the default behavior
* Replaced check_course with three separate more focused functions that use has_access

Minor things:
* note on using pdb in testing
* moved time parsing helper into timeparse.py
* x_modules now have a .start attribute (None if not in metadata)
2012-08-14 23:30:37 -04:00
Tom Giannattasio
ee0cbf66f9 added a cleaner arrow implementation 2012-08-13 10:19:06 -04:00
David Ormsbee
73fb8f5464 Merge branch 'hotfix/1.0.3'
Conflicts:
	lms/urls.py
2012-08-02 11:51:50 -04:00
Bridger Maxwell
a2271d4e48 The message div will only show up when there is a message to display. 2012-07-30 12:11:54 -04:00
Kyle Fiedler
b402cde650 Added some style for the dashboard message 2012-07-30 12:11:46 -04:00
Calen Pennington
66f79251dc Add feature flag for disabling course start dates 2012-07-24 13:22:50 -04:00
Bridger Maxwell
e7bb31af5b Changed unenroll to unregister on dashboard. 2012-07-23 20:46:39 -04:00
Calen Pennington
d2d29b2cf9 Move most javascript loading to below the body, rather than head 2012-07-23 11:27:22 -04:00
David Ormsbee
0103c405fc Tiny spacing issue with dashboard messages. 2012-07-22 17:16:17 -04:00
David Ormsbee
607e4859a7 Put course numbers, real start dates on Dashboard 2012-07-22 17:09:59 -04:00
Bridger Maxwell
60b547273d Registering now temporarily logs you in. A message is displayed on the dashboard, reminding you to activate your account. Logging in shows a reminder about activating. 2012-07-21 15:31:48 -04:00
Bridger Maxwell
660d11dc16 Merge remote-tracking branch 'origin/release/1.0' into unenroll
Conflicts:
	lms/urls.py
2012-07-21 12:49:27 -04:00
Bridger Maxwell
a20650b559 Added titles to pages that are currently public-facing. 2012-07-20 16:25:49 -04:00
Kyle Fiedler
81e7662afc Added style for the unenroll links 2012-07-20 16:06:13 -04:00
Bridger Maxwell
c499a1a563 Now displaying full name on the dashboard, instead of location. The icon is just a generic info icon, for now. 2012-07-20 14:55:01 -04:00
Bridger Maxwell
36373bb457 Added an unenroll link (and confirmation) to the dashboard. Enrolling is now a POST of a form. 2012-07-20 12:21:35 -04:00
Matthew Mongeau
1d7203ef98 Link university on dashboard. 2012-07-19 16:38:06 -04:00
Galen Frechette
c6c3d76950 fixes title of course in dashboard to accept very long course names, improves various other UI elemnts in the dashboard 2012-07-19 02:39:31 -04:00
David Ormsbee
bbcc19bf87 Merge pull request #208 from MITx/release_fixes
Release fixes
2012-07-18 13:08:42 -07:00
Bridger Maxwell
75e9ef12b6 The dashboard links to the about page for courses that haven't started yet. 2012-07-18 15:53:24 -04:00
David Ormsbee
a3d48cf22c Merge pull request #207 from MITx/mm-remove-preferred-language
Mm remove preferred language
2012-07-18 12:24:36 -07:00
Bridger Maxwell
f25dbc0854 Added {COURSE_STATIC_URL} format key for about section html. Changed get_about_section to be get_course_about_section in courseware.courses. 2012-07-18 13:48:20 -04:00
Matthew Mongeau
73df314159 wip 2012-07-18 13:40:16 -04:00
Galen Frechette
767469381b renames some scss files for better orginization, sets fixed widths on main containers to avoid akward scaling issues untill media queries can be added for more responsive scaling 2012-07-16 22:23:43 -04:00
Galen Frechette
96361c3fd5 adds icons to course about page, user nav and dashboard, adds styles to activation pages 2012-07-16 17:29:28 -04:00
Galen Frechette
d9e293f9c5 imporves typography and typography implimentation 2012-07-14 03:11:06 -04:00
Galen Frechette
35c5de8128 cleans up home page header design, adds social sharing to header, adds tos, privacy policy, honor code, help and copyright pages, add liks to those pages in footer, finished contact page 2012-07-13 13:57:02 -04:00
Galen Frechette
7a5d645b9f removes user avatar, imporves dashboard design 2012-07-10 19:59:51 -04:00
Galen Frechette
597c1db585 updates basic html structure and base color 2012-07-10 19:59:51 -04:00
Matthew Mongeau
c47cdc7f87 Fix some path problems. 2012-07-09 14:06:44 -04:00
Galen Frechette
733bb455f0 minor fixes to dashboard and typography, adds layout to jobs page 2012-07-03 18:25:51 -04:00
Matthew Mongeau
e9d006e324 Signing in brings you to your dashboard instead of the courses page with a find courses button when not enrolled. 2012-06-29 11:57:48 -04:00
Matthew Mongeau
31efd1f72e Dashboard coarses link to the info page. 2012-06-29 11:42:43 -04:00
Matthew Mongeau
bd4a9471bf Display enrollments on dashboard. Add reverse to navigation and footer links. 2012-06-29 11:25:16 -04:00
Galen Frechette
4715c69c36 redesigns course item on home page and find courses page, refactors its implimentation and makes vrious other design improvements 2012-06-26 23:26:12 -04:00
Galen Frechette
94886643b0 gets app completly uptodate with prototype 2012-06-20 14:37:37 -04:00
Matthew Mongeau
47e06692d8 Use details on dashboard. 2012-06-14 16:53:44 -04:00
Matthew Mongeau
ed4e79661f Links 2012-06-14 15:09:24 -04:00
Matthew Mongeau
7337275303 Adding dashboard 2012-06-14 13:50:16 -04:00