Skip to content

Commit

Permalink
Merge branch 'MDL-63113-master' of git://github.com/bmbrands/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed Sep 26, 2018
2 parents 0e79528 + a81e691 commit 201d21e
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 35 deletions.
11 changes: 0 additions & 11 deletions theme/boost/scss/moodle/core.scss
Expand Up @@ -1088,17 +1088,6 @@ body#page-lib-editor-tinymce-plugins-moodlemedia-preview {
text-align: center;
}


.initialbarlabel {
display: inline-block;
width: 6em;
float: left;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}


/* Moodle Dialogue Settings (moodle-core-dialogue) */
.moodle-dialogue-base .moodle-dialogue-lightbox {
background-color: $gray;
Expand Down
8 changes: 0 additions & 8 deletions theme/boost/style/moodle.css
Expand Up @@ -9660,14 +9660,6 @@ body#page-lib-editor-tinymce-plugins-moodlemedia-preview {
white-space: nowrap;
text-align: center; }

.initialbarlabel {
display: inline-block;
width: 6em;
float: left;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap; }

/* Moodle Dialogue Settings (moodle-core-dialogue) */
.moodle-dialogue-base .moodle-dialogue-lightbox {
background-color: #495057; }
Expand Down
32 changes: 16 additions & 16 deletions theme/boost/templates/core/initials_bar.mustache
Expand Up @@ -73,24 +73,24 @@
]
}
}}
<div class="initialbar {{class}} d-flex">
<span class="initialbarlabel">{{title}}</span>
<ul class="pagination pagination-sm">
{{#current}}
<li class="initialbarall page-item">
<a class="page-link" href="{{url}}">{{all}}</a>
</li>
{{/current}}
{{^current}}
<li class="initialbarall page-item active">
<a class="page-link">{{all}}</a>
</li>
{{/current}}
</ul>
<div class="initialbargroups d-flex">
<div class="initialbar {{class}} d-flex flex-wrap justify-content-center justify-content-md-start">
<span class="initialbarlabel mr-2">{{title}}</span>

<div class="initialbargroups d-flex flex-wrap justify-content-center justify-content-md-start">
<ul class="pagination pagination-sm">
{{#current}}
<li class="initialbarall page-item">
<a class="page-link" href="{{url}}">{{all}}</a>
</li>
{{/current}}
{{^current}}
<li class="initialbarall page-item active">
<a class="page-link">{{all}}</a>
</li>
{{/current}}
</ul>
{{#group}}
<ul class="pagination pagination-sm">

{{#letter}}
{{#selected}}
<li class="page-item active {{name}}"><span class="page-link">{{name}}</span></li>
Expand Down

0 comments on commit 201d21e

Please sign in to comment.