Can't see part of gradebook

Can't see part of gradebook

Ryan Law གིས-
Number of replies: 14

We just upgraded to the latest 1.9. version (1.9.17+) yesterday. In doing so it upgraded our grade book and the way Moodle defaulted the gradebook, part of it is unreadable (see screenshot - gray on gray). Is there a way that can easily be fixed? We are using the Autumn theme.

Attachment Gradebook screenshot.jpg
དཔྱ་སྙོམས་ཀྱི་སྐུགས་ཚུ།: -
In reply to Ryan Law

Re: Can't see part of gradebook

Miriam Laidlaw གིས-

Looks like it could be an overflow issue on the div or frame or whatever container holds the grade table. I don't have a Moodle 1.9 installation so I can't test this out myself, but do you have Firebug? It's a useful tool for finding and playing with CSS without breaking anything.

If you had Firebug, you could inspect some elements on the page and experiment putting in

overflow: auto;

And seeing what that does?

Hopefully someone can be more helpful. I really should install Moodle 1.9 again so I can test these things out myself.

In reply to Ryan Law

Re: Can't see part of gradebook

Mary Evans གིས-

Hi,

Sorry I could not answer this sooner, as I did not have a copy of Autumn, and wanted to see what this theme looks like in the grader. 

If you add this to the end of autumn/styles.css you will find it cures the problem.

table.user-grade td.item {
    background-color: white;
    border-left: 1px solid gray;
    border-right: 1px solid gray;
}

HTH

Mary

In reply to Mary Evans

Re: Can't see part of gradebook

Ryan Law གིས-

Mary,

I added that code at the end of autumn/syles.css and it didn't change anything. I just put it at the end of the page - so here is how the last 15 or so lines look now:

#page,

body#course-group,
body#question-preview,
#question-preview #page,
body#mod-quiz-comment,
#mod-quiz-comment #page,
#mod-quiz-comment #footer {
margin: 0 !important;
background:#fff !important;
}

.glossarycontrol .helplink,
.message .helplink,
.loginpanel .helplink {
float:none;
}

.message .credits,
#mod-resource-view .credits,
#help .credits{
display:none;
}

#mod-resource-view .generalbox table.files{
margin:auto;
}

textarea {
width:100%
}
table.user-grade td.item {
background-color: white;
border-left: 1px solid gray;
border-right: 1px solid gray;
}

 

Did I put everything in the right spot? I don't know much about css...

In reply to Ryan Law

Re: Can't see part of gradebook

Itamar Tzadok གིས-

Just in case you haven't done it already, you need to purge caches (site admin -> development -> purge all caches). དགའ་འཛུམ་

In reply to Itamar Tzadok

Re: Can't see part of gradebook

Mary Evans གིས-

Purge all caches in Moodle 1.9? I don't think so!

We are talkin www.waybackmachine.org here, Itamar དགའ་འཛུམ་

In reply to Mary Evans

Re: Can't see part of gradebook

Itamar Tzadok གིས-

འཛུམ་དྲག་

Some aftershock of magic_quotes_gpc must have caused the editor to drop the opening clause "In an ideal world ...".

I so need to remind myself that 1.9 is still kicking. དགའ་འཛུམ་

In reply to Ryan Law

Re: Can't see part of gradebook

Mary Evans གིས-

Hi Ray,

It looks like you have added it in the correct place. The only other alternative is to clear your browser cache.

Try refreshing the screen too using Ctrl + F5 (Control key plus the f5 Function key).

The CSS fixed the problem on my version or Autumn.

Here is a copy of my styles.css (see top right of this comment) which you can use to replace your copy.

HTH

Mary

In reply to Mary Evans

Re: Can't see part of gradebook

Ryan Law གིས-

Strange - I'm not sure why this is working. I have cleared the cache and replaced styles.css with yours and it still isn't working.

Ryan

In reply to Ryan Law

Re: Can't see part of gradebook

Mary Evans གིས-

Thinking about this, I am wondering what changes you are wanting to see. The css I gave you colours the background of the table white, so that you can see the grades. To see the whole table you will need to scroll the page using the browser scroll bar.

What was it like prior to the upgrade?  If you have not changed the theme, then the changes must be being styled from Standard theme. 

I'll see if I can track it down.

Cheers

Mary

In reply to Mary Evans

Re: Can't see part of gradebook

Ryan Law གིས-

I am wanting the background of the entire table to be white so I can see the grades. When I continue scrolling right it is still gray. Before the upgrade it was white all the way across - I think. I don't often look at that page, but the administrators who need to access grades only complained about it after the upgrade.

In reply to Ryan Law

Re: Can't see part of gradebook

Mary Evans གིས-

Hi,

I've jsut sent you a message. I logged into your site and find that the following rule should work better.

.grade-report-grader table#user-grades { background-color: white;}

HTH

Mary

In reply to Mary Evans

Re: Can't see part of gradebook

Ryan Law གིས-

That did the trick - thank you so much for all your help!!