Issue #67 - CSS default behaviour.

This commit is contained in:
Daniel Thee Roperto
2016-10-21 11:48:19 +11:00
parent f1b5959aff
commit d62b6f5b68
3 changed files with 8 additions and 6 deletions

View File

@@ -59,9 +59,13 @@ if (!$viewbag['static']) {
$title .= ' '.html_writer::span(html_writer::link($url, $text, $attr), '', ['id' => 'auth_outage_warningbar_button']);
}
}
echo html_writer::tag('style', outagelib::get_config()->css);
?>
<style>
<?php
readfile($CFG->dirroot.'/auth/outage/views/warningbar/warningbar.css');
echo outagelib::get_config()->css;
?>
</style>
<div id="auth_outage_warningbar_box">
<div class="auth_outage_warningbar_center">