mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
MDL-65671 calendar: tidy up calendar header
This commit is contained in:
parent
859bc931d8
commit
fed1cc738d
9 changed files with 25 additions and 9 deletions
|
@ -31,7 +31,7 @@
|
|||
{
|
||||
}
|
||||
}}
|
||||
<div class="header d-flex flex-wrap mb-5">
|
||||
<div class="header d-flex flex-wrap">
|
||||
{{> core_calendar/view_selector}}
|
||||
{{#filter_selector}}
|
||||
{{{filter_selector}}}
|
||||
|
|
|
@ -33,6 +33,6 @@
|
|||
}}
|
||||
<div class="calendarwrapper" data-view="upcoming" data-context-id="{{defaulteventcontext}}" data-courseid="{{courseid}}">
|
||||
{{> core/overlay_loading}}
|
||||
<h2 class="current">{{#str}}upcomingevents, core_calendar{{/str}}</h2>
|
||||
<h2 class="current text-center">{{#str}}upcomingevents, core_calendar{{/str}}</h2>
|
||||
{{> core_calendar/event_list }}
|
||||
</div>
|
||||
|
|
|
@ -26,9 +26,8 @@
|
|||
"viewingupcoming": false
|
||||
}
|
||||
}}
|
||||
<div class="dropdown mb-1" data-region="view-selector">
|
||||
<div data-region="view-selector">
|
||||
<button id="calendarviewdropdown" type="button" class="btn btn-outline-secondary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
{{#pix}} a/view_icon_active {{/pix}}
|
||||
<span class="d-sm-inline-block" data-active-item-text>
|
||||
{{#viewingmonth}}{{#str}} month {{/str}}{{/viewingmonth}}
|
||||
{{#viewingday}}{{#str}} day, core_calendar {{/str}}{{/viewingday}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue