While exporting the user grade book may work in the short term, we were able to work with the CSS code to modify the user report when it comes to the printout only. You can make these changes to the report with CSS mods in the display of the page as well. We elected to make our changes to the printout because we use the printouts during parent-teacher conferences in a k-12 environment and needed a more simplistic example of student work for parents. Below you will see the code changes that we did for our report. Similar changes can also be made by using the inspection tool and removing items using the display: none; option like you will see below. The first line, @media print{ will make the changes only to display in the printout. Removal of this line will cause the changes to take place in the html. The code should be placed in the Custom CSS editor section of your theme.
@media print {
/*remove breadcrumb from print out*/
.breadcrumb {
display: none;
}
/*@end*/
/*remove selection boxes from printout of user grade report*/
.form-search input, .form-inline input, .form-horizontal input, .form-search textarea, .form-inline textarea, .form-horizontal textarea, .form-search select, .form-inline select, .form-horizontal select, .form-search .help-inline, .form-inline .help-inline, .form-horizontal .help-inline, .form-search .uneditable-input, .form-inline .uneditable-input, .form-horizontal .uneditable-input, .form-search .input-prepend, .form-inline .input-prepend, .form-horizontal .input-prepend, .form-search .input-append, .form-inline .input-append, .form-horizontal .input-append {
display: none;
}
/*@end*/
/*remove administration block from side of print display*/
aside{
display: none;
}
/*@end*/
/*remove separate group label from printout*/
.form-search label, .form-inline label, .form-search .btn-group, .form-inline .btn-group {
display: none;
}
/*@end*/
/*remove select all or one user label from printout*/
.path-grade-report-user #graded_users_selector .singleselect label, .path-grade-report-user .view_users_selector .singleselect label {
display: none;
}
/*@end*/
/*remove nav bar from printout*/
.nav-tabs > li, .nav-pills > li {
display: none;
}
/*@end*/
/*remove middle nav bar from printout*/
.nav-tabs, .nav-pills {
display: none;
}
/*@end*/
/*remove student image from printout*/
img.userpicture {
display: none;
}
/*@end*/
/*removes side administration block from printout*/
.block {
display: none;
}
/*@end*/
/*removes side collapsed admin block from printout*/
body.has_dock div#dock {
display: none;
}
/*@end*/
/*removes nav bar from printout in multi-student printing*/
.navbar {
display: none;
}
/*@end*/
/*removes Moodle footer from print out*/
footer{
display: none;
}
/*@end*/
/*removes Feedback header from user report*/
.user-grade thead tr th#feedback.header.column-feedback{
display: none;
}
/*@end*/
/*removes Feedback column from userreport*/
.path-grade-report-user .user-grade tbody .column-feedback{
display: none;
}
header{
display: none;
}
.path-grade-report-user .user-grade tbody .column-itemname {
padding-left: 0;
width: 500px;
}
/*removes contribution to course total column*/
.path-grade-report-user .user-grade tbody .column-contributiontocoursetotal{
display: none;
}
/*@end*/
/*removes contribution to course total header*/
.user-grade thead tr th#contributiontocoursetotal.header.column-contributiontocoursetotal{
display: none;
}
/*@end*/
/*removes calculated weight column*/
.path-grade-report-user .user-grade tbody .column-weight{
display: none;
}
/*@end*/
/*removes calculated weight header*/
.user-grade thead tr th#weight.header.column-weight{
display: none;
}
/*@end*/
/*removes range column*/
.path-grade-report-user .user-grade tbody .column-range{
display: none;
}
/*@end*/
/*removes calculated weight header*/
.user-grade thead tr th#range.header.column-range{
display: none;
}
/*@end*/
/*removes percentage column*/
.path-grade-report-user .user-grade tbody .column-percentage{
display: none;
}
/*@end*/
/*removes calculated weight header*/
.user-grade thead tr th#percentage.header.column-percentage{
display: none;
}
/*@end*/
/*removes letter grade column*/
.path-grade-report-user .user-grade tbody .column-lettergrade{
display: none;
}
/*@end*/
/*removes letter grade header*/
.user-grade thead tr th#lettergrade.header.column-lettergrade{
display: none;
}
/*@end*/
/*sets grade column width*/
.path-grade-report-user .user-grade tbody .column-grade{
width: 120px;
}
/*@end*/
/*sets letter grade header width*/
.user-grade thead tr th#grade.header.column-grade{
width: 120px;
}
/*@end*/
/*removes borders from user grade report and reduces the spacing around text*/
.path-grade-report-user .user-grade.generaltable .leveleven {
border-color: transparent;
height: 1px;
padding:0;
margin:0;
}
.path-grade-report-user .user-grade.generaltable .levelodd {
border-color: transparent;
height: 1px;
padding:0;
margin:0;
}
/*@end*/
}
/*@end*/