Línea 42... |
Línea 42... |
42 |
}} class="custom-control-input custom-control-input--xs"{{!
|
42 |
}} class="custom-control-input custom-control-input--xs"{{!
|
43 |
}} id="{{uniqid}}-editingswitch"{{!
|
43 |
}} id="{{uniqid}}-editingswitch"{{!
|
44 |
}} data-context="{{{pagecontextid}}}"{{!
|
44 |
}} data-context="{{{pagecontextid}}}"{{!
|
45 |
}} data-pageurl="{{{pageurl}}}"{{!
|
45 |
}} data-pageurl="{{{pageurl}}}"{{!
|
46 |
}}>
|
46 |
}}>
|
47 |
<label class="mx-0 mr-md-2 mb-0 custom-control-label" for="{{uniqid}}-editingswitch">
|
47 |
<label class="mr-2 mb-0 custom-control-label" for="{{uniqid}}-editingswitch">
|
48 |
{{#str}} editmode {{/str}}
|
48 |
<span>{{#str}} editmode {{/str}}</span>
|
49 |
</label>
|
49 |
</label>
|
50 |
</div>
|
50 |
</div>
|
51 |
</div>
|
51 |
</div>
|
52 |
<input type="hidden" name="sesskey" value="{{{sesskey}}}">
|
52 |
<input type="hidden" name="sesskey" value="{{{sesskey}}}">
|
53 |
<input type="hidden" name="pageurl" value="{{{pageurl}}}">
|
53 |
<input type="hidden" name="pageurl" value="{{{pageurl}}}">
|
54 |
<input type="hidden" name="context" value="{{{pagecontextid}}}">
|
54 |
<input type="hidden" name="context" value="{{{pagecontextid}}}">
|
55 |
<noscript>
|
55 |
<noscript>
|
56 |
<input type="submit" value="{{#str}}setmode, core{{/str}}">
|
56 |
<input type="submit" value="{{#str}}setmode, core{{/str}}">
|
57 |
</noscript>
|
57 |
</noscript>
|
58 |
<a href="#" id="showBlockArea" class="btn mx-0 p-1">
|
58 |
<a href="#" id="showBlockArea" role="button" class="btn btn-secondary ml-2 mr-0 p-1 pr-0" aria-label="{{#str}}show, moodle{{/str}}/{{#str}}hide, moodle{{/str}} - {{#str}}region, block{{/str}}">
|
59 |
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6 6H10V4H4V10H6V6Z" fill="currentColor" /><path d="M10 18H6V14H4V20H10V18Z" fill="currentColor" /><path d="M14 6H18V10H20V4H14V6Z" fill="currentColor" /><path d="M14 18H18V14H20V20H14V18Z" fill="currentColor" /><path d="M12 8.5C10.067 8.5 8.5 10.067 8.5 12C8.5 13.933 10.067 15.5 12 15.5C13.933 15.5 15.5 13.933 15.5 12C15.5 10.067 13.933 8.5 12 8.5Z" fill="currentColor" /></svg>
|
59 |
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6 6H10V4H4V10H6V6Z" fill="currentColor" /><path d="M10 18H6V14H4V20H10V18Z" fill="currentColor" /><path d="M14 6H18V10H20V4H14V6Z" fill="currentColor" /><path d="M14 18H18V14H20V20H14V18Z" fill="currentColor" /><path d="M12 8.5C10.067 8.5 8.5 10.067 8.5 12C8.5 13.933 10.067 15.5 12 15.5C13.933 15.5 15.5 13.933 15.5 12C15.5 10.067 13.933 8.5 12 8.5Z" fill="currentColor" /></svg>
|
60 |
</a>
|
60 |
</a>
|
61 |
</form>
|
61 |
</form>
|
62 |
{{#js}}
|
62 |
{{#js}}
|
63 |
require(['core/edit_switch'], function(editSwitch) {
|
63 |
require(['core/edit_switch'], function(editSwitch) {
|