Merge branch 'MDL-59394-master-2' of git://github.com/ryanwyllie/moodle
authorAndrew Nicols <andrew@nicols.co.uk>
Wed, 30 Aug 2017 03:35:40 +0000 (11:35 +0800)
committerAndrew Nicols <andrew@nicols.co.uk>
Wed, 30 Aug 2017 03:35:40 +0000 (11:35 +0800)
1  2 
calendar/amd/build/calendar.min.js
calendar/amd/src/calendar.js
calendar/templates/month_detailed.mustache
theme/bootstrapbase/less/moodle/calendar.less
theme/bootstrapbase/less/moodle/core.less
theme/bootstrapbase/style/moodle.css

index 2be6d36,5167149..9d29445
Binary files differ
Simple merge
      {
      }
  }}
- <div id="month-detailed-{{uniqid}}" class="calendarwrapper" data-courseid="{{courseid}}" data-current-time="{{time}}">
+ <div class="calendarwrapper" data-courseid="{{courseid}}" data-current-time="{{time}}">
      {{> core_calendar/month_header }}
      {{> core_calendar/month_navigation }}
-     <table class="calendarmonth calendartable card-deck m-b-0">
 +    {{> core/overlay_loading}}
+     <table id="month-detailed-{{uniqid}}" class="calendarmonth calendartable card-deck m-b-0">
          <thead>
              <tr>
                  {{# daynames }}
@@@ -2386,24 -2386,6 +2386,28 @@@ h3.sectionname .inplaceeditable.inplace
      cursor: pointer;
  }
  
 +.overlay-icon-container {
 +    position: absolute;
 +    top: 0;
 +    left: 0;
 +    width: 100%;
 +    height: 100%;
 +    background-color: rgba(255, 255, 255, 0.6);
 +
 +    .loading-icon {
 +        position: absolute;
 +        top: 50%;
 +        left: 50%;
 +        transform: translate(-50%, -50%);
 +
 +        .icon {
 +            height: 40px;
 +            width: 40px;
 +
 +        }
 +    }
 +}
++
+ [data-drag-type="move"] {
+     cursor: move;
+ }
@@@ -4777,24 -4777,9 +4777,27 @@@ h3.sectionname .inplaceeditable.inplace
  .clickable {
    cursor: pointer;
  }
 +.overlay-icon-container {
 +  position: absolute;
 +  top: 0;
 +  left: 0;
 +  width: 100%;
 +  height: 100%;
 +  background-color: rgba(255, 255, 255, 0.6);
 +}
 +.overlay-icon-container .loading-icon {
 +  position: absolute;
 +  top: 50%;
 +  left: 50%;
 +  transform: translate(-50%, -50%);
 +}
 +.overlay-icon-container .loading-icon .icon {
 +  height: 40px;
 +  width: 40px;
 +}
+ [data-drag-type="move"] {
+   cursor: move;
+ }
  /* admin.less */
  .formtable tbody th {
    font-weight: normal;