Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 29... Línea 29...
29
        "checked": "",
29
        "checked": "",
30
        "string": "Edit on",
30
        "string": "Edit on",
31
        "legacyseturl": "/editmode.php"
31
        "legacyseturl": "/editmode.php"
32
    }
32
    }
33
}}
33
}}
34
<div class="divider border-left h-75 align-self-center ml-1 mr-3"></div>
34
<div class="divider border-start h-75 align-self-center ms-1 me-3"></div>
35
<form action="{{{legacyseturl}}}" method="post" class="d-flex align-items-center editmode-switch-form">
35
<form action="{{{legacyseturl}}}" method="post" class="d-flex align-items-center editmode-switch-form">
36
    <div class="input-group">
36
    <div class="input-group">
37
        <label class="mr-2 mb-0 {{#checked}}text-primary{{/checked}}" for="{{uniqid}}-editingswitch">
37
        <label class="me-2 mb-0 form-check-label {{#checked}}text-primary{{/checked}}" for="{{uniqid}}-editingswitch">
38
            {{#str}} editmode {{/str}}
38
            {{#str}} editmode {{/str}}
39
        </label>
39
        </label>
40
        <div class="custom-control custom-switch">
40
        <div class="form-check form-switch">
41
            <input type="checkbox"{{!
41
            <input type="checkbox"{{!
42
                }} name="setmode"{{!
42
                }} name="setmode"{{!
43
                }}{{#checked}}{{!
43
                }}{{#checked}}{{!
44
                    }} checked{{!
44
                    }} checked{{!
45
                }}{{/checked}}{{!
45
                }}{{/checked}}{{!
46
                }} class="custom-control-input"{{!
46
                }} class="form-check-input"{{!
47
                }} id="{{uniqid}}-editingswitch"{{!
47
                }} id="{{uniqid}}-editingswitch"{{!
48
                }} data-context="{{{pagecontextid}}}"{{!
48
                }} data-context="{{{pagecontextid}}}"{{!
49
                }} data-pageurl="{{{pageurl}}}"{{!
49
                }} data-pageurl="{{{pageurl}}}"{{!
50
            }}>
50
            }}>
51
            <span class="custom-control-label">&nbsp;</span>
51
            <span class="form-check-label">&nbsp;</span>
52
        </div>
52
        </div>
53
    </div>
53
    </div>
54
    <input type="hidden" name="sesskey" value="{{{sesskey}}}">
54
    <input type="hidden" name="sesskey" value="{{{sesskey}}}">
55
    <input type="hidden" name="pageurl" value="{{{pageurl}}}">
55
    <input type="hidden" name="pageurl" value="{{{pageurl}}}">
56
    <input type="hidden" name="context" value="{{{pagecontextid}}}">
56
    <input type="hidden" name="context" value="{{{pagecontextid}}}">