canvas-lms/public
Derek DeVries 2d52c85430 quiz index page redesign for draft state
fixes CNVS-5674

changes
  1. implement redesign of quizzes index with publish icon
  2. adds header toggler to styleguide for item groups and condensed item groups
  3. refactor publish button code to fix onmouseleave event issue

test plan:
  in styleguide
  1. check that item group headers toggle open/closed

  on quizzes#show with :enable_draft = true
  1. publish button continues to publish/unpublish and remember state
  2. disabled the publish button when there are student submissions

  on quizzes#index :enable_draft = false
  1. make sure quizzes index page functions the same as before draft state features

  on quizzes#index as a teacher with :enable_draft = true
  1. shows 'no quizzes' message when there are no assignment or open quizzes
  2. greys out unpublished quizzes
  3. can publish and unpublish with the new publish icon in each row
  4. disables the publish icon on the row when there are student submissions
  5. editing/deleting quizzes works (and deleting prompts to confirm)
  6. the 'search for quiz' widget filters the quizzes as you type

  on quizzes#index as a student with :enable_draft = true
  1. unpublished quizzes are not visible
  2. publish icon or edit/delete links are not visible

Change-Id: Ida140d5e30761a520b118d0c62fb45bcf1a3a008
Reviewed-on: https://gerrit.instructure.com/22121
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Simon Williams <simon@instructure.com>
QA-Review: Myller de Araujo <myller@instructure.com>
Reviewed-by: Ryan Florence <ryanf@instructure.com>
Product-Review: Derek DeVries <ddevries@instructure.com>
2013-07-18 22:33:20 +00:00
..
flash/uploadify upgrade Uploadify to 3.1.1 2012-08-14 14:49:35 -06:00
font update icon font with new discussion icons, mark as read and publish/unpublish 2013-05-30 21:20:09 +00:00
images added the ability for users to review app center apps 2013-06-04 19:16:20 +00:00
javascripts quiz index page redesign for draft state 2013-07-18 22:33:20 +00:00
media_record audio/video recorders in one swf file 2011-05-08 10:30:27 -06:00
partials limit the length of media comment titles to 255 chars 2013-05-29 19:29:00 +00:00
stylesheets Fully adopt Bootstrap & update css to work with it, closes: #CNVS-1344 2013-02-28 21:06:45 -07:00
404.html replace all .button(s) with .btn 2012-11-14 13:29:30 -07:00
422.html Initial commit. 2011-01-31 18:57:29 -07:00
500.html replace all .button(s) with .btn 2012-11-14 13:29:30 -07:00
_crossdomain.xml non-flash direct-to-s3 changes 2011-02-11 10:49:53 -07:00
blank_submission.html Initial commit. 2011-01-31 18:57:29 -07:00
dimdim_welcome.html Initial commit. 2011-01-31 18:57:29 -07:00
drawing.html Initial commit. 2011-01-31 18:57:29 -07:00
enable-javascript.html change name of javascript-is-required.html to enable-javascript.html. 2012-02-16 14:28:30 -07:00
equella_cancel.html Initial commit. 2011-01-31 18:57:29 -07:00
equella_success.html Initial commit. 2011-01-31 18:57:29 -07:00
facebook_success.html fix facebook_success.html hash parsing 2011-05-10 21:20:09 -06:00
favicon.ico update canvas favicon. 2012-10-11 12:35:19 -06:00
find.png run ImageOptim on all our images to make them smaller 2012-08-02 18:07:49 -06:00
ie-6-is-not-supported.html move no-js and ie6 warnings out of app.html.erb 2011-02-22 10:35:41 -07:00
loading_submission.html Initial commit. 2011-01-31 18:57:29 -07:00
robots.txt Initial commit. 2011-01-31 18:57:29 -07:00
simple_response.json Initial commit. 2011-01-31 18:57:29 -07:00