MDL-55407 theme_noname: Remove styling and JS from blocks
[moodle.git] / theme / noname / templates / core / block.mustache
1 {{! Block Skip Link }}
2 {{#showskiplink}}
3   <a href="#sb-{{skipid}}" class="sr-only sr-only-focusable">{{#str}}skipa, access, {{title}}{{/str}}</a>
4 {{/showskiplink}}
6 {{! Start Block Container }}
7 <aside id="{{id}}"
8      class="{{#hidden}}hidden{{/hidden}} m-b-1 block block_{{type}} card"
9      role="{{ariarole}}"
10      {{#arialabel}}
11         aria-label="{{{arialabel}}}"
12      {{/arialabel}} >
14     {{#hascontrols}}
15     <div class="pull-xs-right">
16         {{{controls}}}
17     </div>
18     {{/hascontrols}}
20     {{! Block contents }}
21     <div class="card-block">
22         {{! Block header }}
23         {{#title}}
24             <h3 class="card-title"><small>{{{title}}}</small></h3>
25         {{/title}}
26         <div class="card-text">
27             {{{content}}}
28             {{{footer}}}
29             {{{annotation}}}
30         </div>
31     </div>
33 {{! End Block Container }}
34 </aside>
36 {{! Block Skip Link Target }}
37 {{#showskiplink}}
38   <span id="sb-{{skipid}}"></span>
39 {{/showskiplink}}