mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 12:45:04 +01:00
Merge branch 'MDL-65144-master' of git://github.com/damyon/moodle
This commit is contained in:
commit
59a73b7b73
@ -4053,7 +4053,7 @@ EOD;
|
||||
if ($this->should_display_main_logo($headinglevel)) {
|
||||
$sitename = format_string($SITE->fullname, true, array('context' => context_course::instance(SITEID)));
|
||||
return html_writer::div(html_writer::empty_tag('img', [
|
||||
'src' => $this->get_logo_url(null, 150), 'alt' => $sitename]), 'logo');
|
||||
'src' => $this->get_logo_url(null, 150), 'alt' => $sitename, 'class' => 'img-fluid']), 'logo');
|
||||
}
|
||||
|
||||
// Make sure to use the heading if it has been set.
|
||||
|
@ -99,7 +99,7 @@
|
||||
<div class="card">
|
||||
<div class="card-block">
|
||||
{{#logourl}}
|
||||
<h2 class="card-header text-center" ><img src="{{logourl}}" title="{{sitename}}" alt="{{sitename}}"/></h2>
|
||||
<h2 class="card-header text-center" ><img src="{{logourl}}" class="img-fluid" title="{{sitename}}" alt="{{sitename}}"/></h2>
|
||||
{{/logourl}}
|
||||
{{^logourl}}
|
||||
<h2 class="card-header text-center">{{sitename}}</h2>
|
||||
|
@ -15,7 +15,7 @@
|
||||
<div class="card-body">
|
||||
<div class="card-title text-xs-center">
|
||||
{{#logourl}}
|
||||
<h2><img src="{{logourl}}" title="{{sitename}}" alt="{{sitename}}"/></h2>
|
||||
<h2><img class="img-fluid" src="{{logourl}}" title="{{sitename}}" alt="{{sitename}}"/></h2>
|
||||
{{/logourl}}
|
||||
{{^logourl}}
|
||||
<h2>{{sitename}}</h2>
|
||||
|
@ -2,6 +2,7 @@
|
||||
-------------------------*/
|
||||
div.logo {
|
||||
background: url([[setting:logo]]) 0 0 no-repeat;
|
||||
background-size: contain;
|
||||
display: block;
|
||||
float: left;
|
||||
height: 75px;
|
||||
|
Loading…
x
Reference in New Issue
Block a user