Improved portfolio export summary layout
authorDavid Mudrak <david.mudrak@gmail.com>
Thu, 11 Nov 2010 13:32:57 +0000 (13:32 +0000)
committerDavid Mudrak <david.mudrak@gmail.com>
Thu, 11 Nov 2010 13:32:57 +0000 (13:32 +0000)
lib/portfolio/exporter.php
theme/standard/style/core.css

index a3a3ab0..9a836bc 100644 (file)
@@ -392,7 +392,7 @@ class portfolio_exporter {
         $nourl  = $baseurl . '&cancel=1';
         $this->print_header(get_string('confirmexport', 'portfolio'));
         echo $OUTPUT->box_start();
-        echo $OUTPUT->heading(get_string('confirmsummary', 'portfolio'), 4);
+        echo $OUTPUT->heading(get_string('confirmsummary', 'portfolio'), 3);
         $mainsummary = array();
         if (!$this->instance->get_export_config('hideformat')) {
             $mainsummary[get_string('selectedformat', 'portfolio')] = get_string('format_' . $this->instance->get_export_config('format'), 'portfolio');
@@ -420,6 +420,7 @@ class portfolio_exporter {
         }
         $mainsummary = array_merge($mainsummary, $csummary, $isummary);
         $table = new html_table();
+        $table->attributes['class'] = 'generaltable exportsummary';
         $table->data = array();
         foreach ($mainsummary as $string => $value) {
             $table->data[] = array($string, $value);
index 76895de..498d8d6 100644 (file)
@@ -438,4 +438,7 @@ table#tag-management-list {margin: 10px auto;width: 80%;}
 .path-enrol .assignuserrole.instance1 {float:right;}
 
 /* Registration */
-#page-admin-registration-hubselector .registration_textfield {width: 400px;}
\ No newline at end of file
+#page-admin-registration-hubselector .registration_textfield {width: 400px;}
+
+/* Portfolio */
+.path-portfolio .exportsummary {margin:0px auto 1em auto;}