Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix styles and lang string #6

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lang/en/gradereport_sitewideuser.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@
*/

$string['pluginname'] = 'Sitewide User report';
$string['user:view'] = 'View your own grade report';
$string['sitewideuser:view'] = 'View your own site-wide grade report';
$string['modulename'] = 'Sitewide User report';
62 changes: 31 additions & 31 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,39 +2,39 @@
.path-grade-report-sitewideuser .user-grade .courseitem,
.path-grade-report-sitewideuser .user-grade .categoryitem {font-weight: bold;}
.path-grade-report-sitewideuser .user-grade td.cell {padding-left: 5px;padding-right: 5px;}
#graded_users_selector {float: right;text-align: right;}
.path-grade-report-sitewideuser #graded_users_selector {float: right;text-align: right;}

/* this must be last if we want to override other category and course item colors */
.path-grade-report-sitewideuser .user-grade .hidden,
.path-grade-report-sitewideuser .user-grade .hidden a {color:#aaaaaa;}
.user-grade {border: 1px solid black;margin: auto;padding: 0.25em;font-size: 0.8em;}
.user-grade td {margin: 1px;padding: 0.25em;min-width: 2em;vertical-align: top;}
.user-grade thead {border-bottom: 3px double black;}
.user-grade thead th {padding: 0.25em 0.75em;}
.user-grade td.oddd1 {background-color: #f3dfd0;}
.user-grade td.oddd2 {background-color: #d0dbf3;}
.user-grade td.oddd3 {background-color: #d0f3d6;}
.user-grade td.oddd4 {background-color: #f0f0aa;}
.user-grade td.evend2 {background-color: #b0bbd3;}
.user-grade td.evend3 {background-color: #b0dfb6;}
.user-grade td.evend4 {background-color: #cac8be;}
.user-grade td.b1t,
.user-grade td.b2t {border-top: 2px solid black;}
.user-grade td.b1r,
.user-grade td.b2r {border-right: 2px solid black;}
.user-grade td.b1b,
.user-grade td.b2b {border-bottom: 2px solid black;}
.user-grade td.b1l,
.user-grade td.b2l {border-left: 2px solid black;}
.user-grade td.baggt,
.user-grade td.baggb {font-style: italic;font-weight: bold;}
.user-grade td.baggt {border-top: 3px double black;}
.user-grade td.baggb {border-bottom: 3px double black;}
.user-grade td.item {border-left: 1px solid gray;border-right: 1px solid gray;}
.user-grade td.excluded {background-color: #666;}
.user-grade td.hidden {color: #aaa;}
.user-grade td.feedbacktext {max-width:600px;padding:2px 2px;}
.pagelayout-report .user-grade .feedbacktext .no-overflow {overflow:auto;padding:0.25em;}
.path-grade-report-sitewideuser .user-grade {border: 1px solid black;margin: auto;padding: 0.25em;font-size: 0.8em;}
.path-grade-report-sitewideuser .user-grade td {margin: 1px;padding: 0.25em;min-width: 2em;vertical-align: top;}
.path-grade-report-sitewideuser .user-grade thead {border-bottom: 3px double black;}
.path-grade-report-sitewideuser .user-grade thead th {padding: 0.25em 0.75em;}
.path-grade-report-sitewideuser .user-grade td.oddd1 {background-color: #f3dfd0;}
.path-grade-report-sitewideuser .user-grade td.oddd2 {background-color: #d0dbf3;}
.path-grade-report-sitewideuser .user-grade td.oddd3 {background-color: #d0f3d6;}
.path-grade-report-sitewideuser .user-grade td.oddd4 {background-color: #f0f0aa;}
.path-grade-report-sitewideuser .user-grade td.evend2 {background-color: #b0bbd3;}
.path-grade-report-sitewideuser .user-grade td.evend3 {background-color: #b0dfb6;}
.path-grade-report-sitewideuser .user-grade td.evend4 {background-color: #cac8be;}
.path-grade-report-sitewideuser .user-grade td.b1t,
.path-grade-report-sitewideuser .user-grade td.b2t {border-top: 2px solid black;}
.path-grade-report-sitewideuser .user-grade td.b1r,
.path-grade-report-sitewideuser .user-grade td.b2r {border-right: 2px solid black;}
.path-grade-report-sitewideuser .user-grade td.b1b,
.path-grade-report-sitewideuser .user-grade td.b2b {border-bottom: 2px solid black;}
.path-grade-report-sitewideuser .user-grade td.b1l,
.path-grade-report-sitewideuser .user-grade td.b2l {border-left: 2px solid black;}
.path-grade-report-sitewideuser .user-grade td.baggt,
.path-grade-report-sitewideuser .user-grade td.baggb {font-style: italic;font-weight: bold;}
.path-grade-report-sitewideuser .user-grade td.baggt {border-top: 3px double black;}
.path-grade-report-sitewideuser .user-grade td.baggb {border-bottom: 3px double black;}
.path-grade-report-sitewideuser .user-grade td.item {border-left: 1px solid gray;border-right: 1px solid gray;}
.path-grade-report-sitewideuser .user-grade td.excluded {background-color: #666;}
.path-grade-report-sitewideuser .user-grade td.hidden {color: #aaa;}
.path-grade-report-sitewideuser .user-grade td.feedbacktext {max-width:600px;padding:2px 2px;}
.path-grade-report-sitewideuser .pagelayout-report .user-grade .feedbacktext .no-overflow {overflow:auto;padding:0.25em;}

table.user-grade td.feedbacktext {text-align:left;width: 40%;font-size: 0.8em;white-space:normal;}
table.user-grade td.itemcenter {text-align:center;}
.path-grade-report-sitewideuser table.user-grade td.feedbacktext {text-align:left;width: 40%;font-size: 0.8em;white-space:normal;}
.path-grade-report-sitewideuser table.user-grade td.itemcenter {text-align:center;}
2 changes: 1 addition & 1 deletion version.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

defined('MOODLE_INTERNAL') || die();

$plugin->version = 2015102400; // The current plugin version (Date: YYYYMMDDXX)
$plugin->version = 2016092700; // The current plugin version (Date: YYYYMMDDXX)
$plugin->requires = 2013040500; // Requires this Moodle version
$plugin->component = 'gradereport_sitewideuser'; // Full name of the plugin (used for diagnostics)
$plugin->maturity = MATURITY_STABLE;
Expand Down