2 This file is part of Moodle - http://moodle.org/
4 Moodle is free software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation, either version 3 of the License, or
7 (at your option) any later version.
9 Moodle is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with Moodle. If not, see <http://www.gnu.org/licenses/>.
18 @template block_myoverview/placeholders
20 This template renders the loading placeholders for the myoverview block.
22 Example context (json):
25 <div data-region="loading-placeholder-content" aria-hidden="true">
27 <div class="card-deck dashboard-card-deck one-row" style="height: 13rem">
28 <div class="card dashboard-card border-0">
29 <div class="card-img-top bg-pulse-grey w-100" style="height: 7rem">
31 <div class="card-body course-info-container">
32 <div class="bg-pulse-grey w-100" style="height: 1rem"></div>
35 <div class="card dashboard-card border-0">
36 <div class="card-img-top bg-pulse-grey w-100" style="height: 7rem">
38 <div class="card-body course-info-container">
39 <div class="bg-pulse-grey w-100" style="height: 1rem"></div>
42 <div class="card dashboard-card border-0">
43 <div class="card-img-top bg-pulse-grey w-100" style="height: 7rem">
45 <div class="card-body course-info-container">
46 <div class="bg-pulse-grey w-100" style="height: 1rem"></div>
49 <div class="card dashboard-card border-0">
50 <div class="card-img-top bg-pulse-grey w-100" style="height: 7rem">
52 <div class="card-body course-info-container">
53 <div class="bg-pulse-grey w-100" style="height: 1rem"></div>
59 <ul class="list-group">
60 <li class="list-group-item course-listitem">
61 <div class="col-md-6 span6 p-0 d-flex align-items-center">
62 <div class="bg-pulse-grey rounded-circle mr-2" style="height: 1rem; width: 1rem;"></div>
63 <div class="bg-pulse-grey w-50" style="height: 1rem; margin: 0.5rem 0"></div>
66 <li class="list-group-item course-listitem">
67 <div class="col-md-6 span6 p-0 d-flex align-items-center">
68 <div class="bg-pulse-grey rounded-circle mr-2" style="height: 1rem; width: 1rem;"></div>
69 <div class="bg-pulse-grey w-50" style="height: 1rem; margin: 0.5rem 0"></div>
72 <li class="list-group-item course-listitem">
73 <div class="col-md-6 span6 p-0 d-flex align-items-center">
74 <div class="bg-pulse-grey rounded-circle mr-2" style="height: 1rem; width: 1rem;"></div>
75 <div class="bg-pulse-grey w-50" style="height: 1rem; margin: 0.5rem 0"></div>
78 <li class="list-group-item course-listitem">
79 <div class="col-md-6 span6 p-0 d-flex align-items-center">
80 <div class="bg-pulse-grey rounded-circle mr-2" style="height: 1rem; width: 1rem;"></div>
81 <div class="bg-pulse-grey w-50" style="height: 1rem; margin: 0.5rem 0"></div>
87 <div class="course-summaryitem m-b-1 p-2">
90 <div class="bg-pulse-grey rounded-circle m-0 p-0 m-r-1" style="height: 7rem; width: 7rem;"></div>
92 <div class="d-flex w-100 flex-column">
93 <div class="bg-pulse-grey w-50 m-b-1" style="height: 1rem; margin: 0.5rem 0"></div>
94 <div class="bg-pulse-grey w-100" style="height: 13rem"></div>