Skip to content
Snippets Groups Projects
Commit d5038d45 authored by Alexander Bias's avatar Alexander Bias
Browse files

Adjusted loginform.mustache template due to upstream changes in theme Boost

parent c12bea83
Branches
No related tags found
No related merge requests found
...@@ -6,6 +6,7 @@ Changes ...@@ -6,6 +6,7 @@ Changes
### Unreleased ### Unreleased
* 2021-08-16 - Adjusted loginform.mustache template due to upstream changes in theme Boost.
* 2021-08-16 - Bugfix: Remove overwritten template full_header.mustache. If the setting showsettingsincourse is enabled, this will place the cog icon _over_ instead of _near_ the edit button. This will fix a presentation issue with the in-course settings menu on smaller screens. * 2021-08-16 - Bugfix: Remove overwritten template full_header.mustache. If the setting showsettingsincourse is enabled, this will place the cog icon _over_ instead of _near_ the edit button. This will fix a presentation issue with the in-course settings menu on smaller screens.
* 2021-08-16 - Improvement: Re-add the margin below the breadcrumb as this does not need to differ between theme_boost and theme_boost_campus anymore * 2021-08-16 - Improvement: Re-add the margin below the breadcrumb as this does not need to differ between theme_boost and theme_boost_campus anymore
......
...@@ -105,10 +105,13 @@ ...@@ -105,10 +105,13 @@
<div class="card"> <div class="card">
<div class="card-block"> <div class="card-block">
{{#logourl}} {{#logourl}}
<h2 class="card-header text-center" ><img src="{{logourl}}" class="img-fluid" title="{{sitename}}" alt="{{sitename}}"/></h2> <h1 class="h2 card-header text-center" >
<span class="sr-only">{{sitename}}: {{#str}} login {{/str}}</span>
<img src="{{logourl}}" class="img-fluid" alt=""/>
</h1>
{{/logourl}} {{/logourl}}
{{^logourl}} {{^logourl}}
<h2 class="card-header text-center">{{sitename}}</h2> <h1 class="h2 card-header text-center" aria-label="{{sitename}}: {{#str}} login {{/str}}">{{sitename}}</h1>
{{/logourl}} {{/logourl}}
<div class="card-body"> <div class="card-body">
{{#cansignup}} {{#cansignup}}
...@@ -185,8 +188,8 @@ ...@@ -185,8 +188,8 @@
{{/canloginasguest}} {{/canloginasguest}}
{{#hasidentityproviders}} {{#hasidentityproviders}}
<h6 class="mt-2">{{#str}} potentialidps, auth {{/str}}</h6> <h2 class="h6 mt-2">{{#str}} potentialidps, auth {{/str}}</h2>
<div class="potentialidplist" class="mt-3"> <div class="potentialidplist mt-3">
{{#identityproviders}} {{#identityproviders}}
<div class="potentialidp"> <div class="potentialidp">
<a href="{{url}}" title={{#quote}}{{name}}{{/quote}} class="btn btn-secondary btn-block"> <a href="{{url}}" title={{#quote}}{{name}}{{/quote}} class="btn btn-secondary btn-block">
......
...@@ -101,10 +101,13 @@ ...@@ -101,10 +101,13 @@
<div class="card"> <div class="card">
<div class="card-block"> <div class="card-block">
{{#logourl}} {{#logourl}}
<h2 class="card-header text-center" ><img src="{{logourl}}" class="img-fluid" title="{{sitename}}" alt="{{sitename}}"/></h2> <h1 class="h2 card-header text-center" >
<span class="sr-only">{{sitename}}: {{#str}} login {{/str}}</span>
<img src="{{logourl}}" class="img-fluid" alt=""/>
</h1>
{{/logourl}} {{/logourl}}
{{^logourl}} {{^logourl}}
<h2 class="card-header text-center">{{sitename}}</h2> <h1 class="h2 card-header text-center" aria-label="{{sitename}}: {{#str}} login {{/str}}">{{sitename}}</h1>
{{/logourl}} {{/logourl}}
<div class="card-body"> <div class="card-body">
{{#cansignup}} {{#cansignup}}
...@@ -181,8 +184,8 @@ ...@@ -181,8 +184,8 @@
{{/canloginasguest}} {{/canloginasguest}}
{{#hasidentityproviders}} {{#hasidentityproviders}}
<h6 class="mt-2">{{#str}} potentialidps, auth {{/str}}</h6> <h2 class="h6 mt-2">{{#str}} potentialidps, auth {{/str}}</h2>
<div class="potentialidplist" class="mt-3"> <div class="potentialidplist mt-3">
{{#identityproviders}} {{#identityproviders}}
<div class="potentialidp"> <div class="potentialidp">
<a href="{{url}}" title={{#quote}}{{name}}{{/quote}} class="btn btn-secondary btn-block"> <a href="{{url}}" title={{#quote}}{{name}}{{/quote}} class="btn btn-secondary btn-block">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment