Go to file
Adrian Packel 8f59c3abb5 Use theme nav color for SG post/hide grades icon
Have the "Post/Hide Grades" icon in SpeedGrader use the value of the
current theme's "Nav Icon" setting to determine the icon color.
(SpeedGrader's header uses the value of the "Nav Background" setting for
its own color; if that was set to white, this icon would appear not to
be displaying.)

fixes GRADE-2371

Test plan:
- Have a course with New Gradebook and Post Policies enabled
- Set up a custom theme in Canvas
  - Set the "Nav Background" color to white
  - Set the "Nav Icon" color to something different/distinct
  - Apply your new theme
- Open SpeedGrader
  - The header should match your "Nav Background" color
  - The post/hide grades icon should match your "Nav Icon" color(*)
  - Make sure this holds for both the "post grades" and "hide grades"
    icons

(*) For whatever reason, the gradebook icon (the leftmost of the icons
in the upper-left) uses the "Nav Link" theme color instead of "Nav
Icon," so it will likely be a different color from the other two. For
our icon, we're just trying to mimic the non-post-policies muting icon.

Change-Id: I6cbc50d367e937c67422fc698dfcfa81d3c03521
Reviewed-on: https://gerrit.instructure.com/205474
Tested-by: Jenkins
Reviewed-by: Jeremy Neander <jneander@instructure.com>
Reviewed-by: Gary Mei <gmei@instructure.com>
QA-Review: Gary Mei <gmei@instructure.com>
Product-Review: Jonathan Fenton <jfenton@instructure.com>
2019-08-19 18:56:43 +00:00
.github Update auto_assign.yml 2019-06-10 10:08:39 -06:00
Gemfile.d move vendored gems specs on new jenkins 2019-08-15 17:26:38 +00:00
app Use theme nav color for SG post/hide grades icon 2019-08-19 18:56:43 +00:00
bin spec: add scripts to publish to public pact broker 2018-10-19 02:23:04 +00:00
build move vendored gems specs on new jenkins 2019-08-15 17:26:38 +00:00
client_apps fix(CorrectAnswerDonut) Replace donut chart with text 2019-08-19 16:57:10 +00:00
config remove beta label from final grade override feature option 2019-08-19 15:58:42 +00:00
db/migrate create view_feature_flags account permission 2019-08-14 22:16:10 +00:00
doc update files API for uploading via url 2019-08-05 20:16:19 +00:00
docker-compose use rails built-in RedisCacheStore 2019-08-09 20:22:56 +00:00
frontend_build Backport instUI fix to allow themeable w/ `class`es 2019-08-06 16:07:55 +00:00
gems Make it so i18nliner understands React fragments 2019-08-15 22:26:11 +00:00
hooks fix pre-commit hook with unfixable eslint error 2018-11-27 23:28:12 +00:00
jest Remove other places where sentry was being noisy 2019-08-09 15:31:14 +00:00
lib fix multicache redis disconnections on job fork 2019-08-15 18:39:14 +00:00
packages Add error handling to the RCE 2019-08-19 15:33:43 +00:00
pact Include context_name in planner item response 2018-08-29 22:20:52 +00:00
public change internation sms drop down to include region 2019-08-19 16:46:59 +00:00
script add permissions variable expansion 2019-06-12 12:13:28 +00:00
spec change internation sms drop down to include region 2019-08-19 16:46:59 +00:00
.bowerrc introduced bower to manage js dependencies 2013-12-13 17:45:57 +00:00
.codeclimate.yml disable ESLint in code climate 2017-02-14 17:47:39 +00:00
.dockerignore fix canvas-planner docker build process 2018-04-17 14:44:18 +00:00
.editorconfig Add EditorConfig configuration file to help maintain code style 2016-11-15 20:08:55 +00:00
.eslintignore ESLint standardization 2018-11-06 17:46:21 +00:00
.eslintrc.js disable eslint fragment rule 2019-08-15 20:23:35 +00:00
.gitignore add canvas media package 2019-08-13 20:17:06 +00:00
.gitmessage prepend some blank lines to .gitmessage 2019-08-09 16:12:53 +00:00
.i18nignore bump rails 3 to github branch for ruby 2.2 compatibility 2015-02-18 22:55:20 +00:00
.i18nrc upgrade to node 6 2016-08-09 23:37:07 +00:00
.lintstagedrc.js Add precommit hook for auto fixing files 2018-11-27 21:07:31 +00:00
.npmrc fix brand config previewing and skipping 2015-10-27 16:16:15 +00:00
.nvmrc Bump to Node 10 2019-03-22 17:29:36 +00:00
.prettierrc Add .prettierrc so it matches our existing code 2017-11-03 16:21:50 +00:00
.prettierwhitelist.js Add eslint and refactor a few things 2019-08-14 19:53:31 +00:00
.rubocop.yml spec: remove ExpectChange and TimesMap 2018-08-31 14:53:41 +00:00
.selinimumignore Revert and bring InstIcons into Canvas 2016-11-29 20:52:54 +00:00
.stylelintrc Lint for css that will break RTL 2018-10-17 20:21:25 +00:00
.travis.yml more travis builds 2014-02-10 16:23:19 +00:00
CONTRIBUTING.md Add CLA FAQ from legal 2018-01-22 16:41:44 -05:00
COPYRIGHT Initial commit. 2011-01-31 18:57:29 -07:00
Dockerfile Fix yarn for initial docker-compose build 2019-06-17 22:58:54 +00:00
Dockerfile-production Update bundler in Dockerfile 2019-05-22 16:09:49 +00:00
Dockerfile.githook Add precommit hook for auto fixing files 2018-11-27 21:07:31 +00:00
Gemfile drop rails 5.1 2019-08-01 14:09:31 +00:00
Jenkinsfile move vendored gems specs on new jenkins 2019-08-15 17:26:38 +00:00
Jenkinsfile.selenium.chrome move vendored gems specs on new jenkins 2019-08-15 17:26:38 +00:00
Jenkinsfile.vendored-gems move vendored gems specs on new jenkins 2019-08-15 17:26:38 +00:00
LICENSE Initial commit. 2011-01-31 18:57:29 -07:00
README.md Update README.md since Canvas is still modern 2016-12-15 03:18:28 +00:00
Rakefile remove dead parallelized specs task 2016-11-10 21:41:08 +00:00
babel.config.js upgrade webpack to v4 2019-05-16 15:59:04 +00:00
bower.json Move k5uplodaer to /packages 2019-05-10 18:30:51 +00:00
code_of_conduct.md contributor code of conduct 2014-12-23 18:13:59 +00:00
config.ru remove extra logging to debug Passenger connection orphan issue 2017-07-14 16:27:03 +00:00
docker-compose.jenkins.yml update rce-api version on jenkins second attempt 2019-07-19 20:24:19 +00:00
docker-compose.new-jenkins.yml Smoke test docker image 2019-04-05 14:25:16 +00:00
docker-compose.new-vendored-gems.yml move vendored gems specs on new jenkins 2019-08-15 17:26:38 +00:00
docker-compose.override.yml Add precommit hook for auto fixing files 2018-11-27 21:07:31 +00:00
docker-compose.spring.yml add a spring docker-compose config 2019-08-19 13:48:15 +00:00
docker-compose.yml Use redis:alpine 2017-07-31 22:31:40 +00:00
gulpfile.js Don’t load a 2nd copy of jQuery on mobile login 2019-07-17 22:19:02 +00:00
issue_template.md Make issue template disclaimer a comment 2018-05-01 15:00:27 +00:00
jest.config.js Use jsdom 14 instead of 11 in jest tests 2019-08-05 20:36:16 +00:00
karma.conf.js upgrade webpack to v4 2019-05-16 15:59:04 +00:00
package.json upgrade eslint & don’t use unique one in canvas-rce 2019-08-15 17:17:30 +00:00
schema.graphql create mark submission comment mutation 2019-08-14 15:53:36 +00:00
webpack.config.js Opt our js build tooling dirs into prettier 2018-11-07 22:46:16 +00:00
webpack.test.config.js upgrade webpack to v4 2019-05-16 15:59:04 +00:00
yarn.lock Make it so i18nliner understands React fragments 2019-08-15 22:26:11 +00:00

README.md

Canvas LMS

Canvas is a modern, open-source LMS developed and maintained by Instructure Inc. It is released under the AGPLv3 license for use by anyone interested in learning more about or using learning management systems.

Please see our main wiki page for more information

Installation

Detailed instructions for installation and configuration of Canvas are provided on our wiki.