Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

course-reports MDL-24173 Course reports now use the report page layou…

…t + minor tweaks to the serenity theme.
  • Loading branch information...
commit cf5a0dbdd414afc16fa0fdc53d5bf3c68f7b8558 1 parent 75d138a
Sam Hemelryk samhemelryk authored
2  course/report/completion/index.php
View
@@ -48,7 +48,7 @@
$url = new moodle_url('/course/report/completion/index.php', array('course'=>$course->id));
$PAGE->set_url($url);
-$PAGE->set_pagelayout('standard');
+$PAGE->set_pagelayout('report');
$firstnamesort = ($sort == 'firstname');
$excel = ($format == 'excelcsv');
2  course/report/log/index.php
View
@@ -49,7 +49,7 @@
if ($chooselog !== 0) $params['chooselog'] = $chooselog;
if ($logformat !== 'showashtml') $params['logformat'] = $logformat;
$PAGE->set_url('/course/report/log/index.php', $params);
- $PAGE->set_pagelayout('admin');
+ $PAGE->set_pagelayout('report');
if ($hostid == $CFG->mnet_localhost_id) {
if (!$course = $DB->get_record('course', array('id'=>$id))) {
1  course/report/outline/index.php
View
@@ -47,7 +47,6 @@
$outlinetable = new html_table();
$outlinetable->attributes['class'] = 'generaltable boxaligncenter';
- $outlinetable->attributes['style'] = 'width:2000px;';
$outlinetable->cellpadding = 5;
$outlinetable->id = 'outlinetable';
$outlinetable->head = array($stractivity, $strviews);
2  course/report/progress/index.php
View
@@ -53,7 +53,7 @@ function csv_quote($value) {
$url->param('start', $start);
}
$PAGE->set_url($url);
-$PAGE->set_pagelayout('admin');
+$PAGE->set_pagelayout('report');
require_login($course);
10 theme/serenity/style/core.css
View
@@ -12,6 +12,10 @@
border-top:1px solid #c1bc9d;
}
+html {
+ background: none;
+}
+
body,h1,h2,h3,h4,h5,h6,p,ul,ol,dl,input,textarea {
font-family: Georgia, "Times New Roman", Times, serif;
color: #2a2513;
@@ -49,6 +53,12 @@ a:hover {
margin: 1em 0.5em 0.75em;
}
+/* Footer
+-------------------------*/
+#page-footer {
+ float:none;
+}
+
/* Navbar
-------------------------*/
Please sign in to comment.
Something went wrong with that request. Please try again.