mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
Improved portfolio export summary layout
This commit is contained in:
parent
4e56afdfb4
commit
bf0fc3c057
@ -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);
|
||||
|
@ -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;}
|
||||
#page-admin-registration-hubselector .registration_textfield {width: 400px;}
|
||||
|
||||
/* Portfolio */
|
||||
.path-portfolio .exportsummary {margin:0px auto 1em auto;}
|
||||
|
Loading…
x
Reference in New Issue
Block a user