Línea 77... |
Línea 77... |
77 |
<input name="url" class="form-control" type="url" value="{{fileURL}}"{{!
|
77 |
<input name="url" class="form-control" type="url" value="{{fileURL}}"{{!
|
78 |
}} id="{{elementid}}-{{uniqid}}-filepath"{{!
|
78 |
}} id="{{elementid}}-{{uniqid}}-filepath"{{!
|
79 |
}} size="32"{{!
|
79 |
}} size="32"{{!
|
80 |
}} />
|
80 |
}} />
|
81 |
{{#canUpload}}
|
81 |
{{#canUpload}}
|
82 |
<span class="input-group-append">
|
- |
|
83 |
<button class="btn btn-secondary" type="button" data-target="filepicker">
|
82 |
<button class="btn btn-secondary" type="button" data-target="filepicker">
|
84 |
{{#str}} browserepositories, tiny_h5p{{/str}}</button>
|
83 |
{{#str}} browserepositories, tiny_h5p{{/str}}</button>
|
85 |
</span>
|
- |
|
86 |
{{/canUpload}}
|
84 |
{{/canUpload}}
|
87 |
</div>
|
85 |
</div>
|
Línea 88... |
Línea 86... |
88 |
|
86 |
|
89 |
{{#canUpload}}
|
87 |
{{#canUpload}}
|
90 |
<fieldset class="mt-2 collapsible" id="{{elementid}}-{{uniqid}}-options">
|
88 |
<fieldset class="mt-2 collapsible" id="{{elementid}}-{{uniqid}}-options">
|
91 |
<legend class="d-flex align-items-center px-1">
|
89 |
<legend class="d-flex align-items-center px-1">
|
92 |
<div class="position-relative d-flex ftoggler align-items-center position-relative mr-1">
|
90 |
<div class="position-relative d-flex ftoggler align-items-center position-relative me-1">
|
93 |
<a role="button" data-toggle="collapse"{{!
|
91 |
<a role="button" data-bs-toggle="collapse"{{!
|
94 |
}} href="#h5poptions"{{!
|
92 |
}} href="#h5poptions"{{!
|
95 |
}} aria-expanded="{{#showOptions}}true{{/showOptions}}{{^showOptions}}false{{/showOptions}}"{{!
|
93 |
}} aria-expanded="{{#showOptions}}true{{/showOptions}}{{^showOptions}}false{{/showOptions}}"{{!
|
96 |
}} aria-controls="h5poptions"{{!
|
94 |
}} aria-controls="h5poptions"{{!
|
97 |
}} class="btn btn-icon mr-1 icons-collapse-expand stretched-link fheader {{^showOptions}}collapsed{{/showOptions}}"{{!
|
95 |
}} class="btn btn-icon me-3 icons-collapse-expand stretched-link fheader {{^showOptions}}collapsed{{/showOptions}}"{{!
|
98 |
}}>
|
96 |
}}>
|
99 |
<span class="expanded-icon icon-no-margin p-2"
|
97 |
<span class="expanded-icon icon-no-margin p-2"
|
100 |
title="{{#str}} collapse, moodle {{/str}}">
|
98 |
title="{{#str}} collapse, moodle {{/str}}">
|
101 |
<i class="icon fa fa-chevron-down fa-fw " aria-hidden="true"></i>
|
99 |
<i class="icon fa fa-chevron-down fa-fw " aria-hidden="true"></i>
|
Línea 107... |
Línea 105... |
107 |
</span>
|
105 |
</span>
|
108 |
<span class="dir-ltr-hide">
|
106 |
<span class="dir-ltr-hide">
|
109 |
<i class="icon fa fa-chevron-left fa-fw " aria-hidden="true"></i>
|
107 |
<i class="icon fa fa-chevron-left fa-fw " aria-hidden="true"></i>
|
110 |
</span>
|
108 |
</span>
|
111 |
</span>
|
109 |
</span>
|
112 |
<span class="sr-only">{{#str}} h5poptions, tiny_h5p{{/str}}</span>
|
110 |
<span class="visually-hidden">{{#str}} h5poptions, tiny_h5p{{/str}}</span>
|
113 |
</a>
|
111 |
</a>
|
114 |
<h3 class="d-flex align-self-stretch align-items-center mb-0" aria-hidden="true">
|
112 |
<h3 class="d-flex align-self-stretch align-items-center mb-0" aria-hidden="true">
|
115 |
{{#str}} h5poptions, tiny_h5p{{/str}}
|
113 |
{{#str}} h5poptions, tiny_h5p{{/str}}
|
116 |
</h3>
|
114 |
</h3>
|
117 |
</div>
|
115 |
</div>
|
Línea 120... |
Línea 118... |
120 |
<div class="form-check">
|
118 |
<div class="form-check">
|
121 |
<input type="checkbox" {{!
|
119 |
<input type="checkbox" {{!
|
122 |
}} name="download"{{!
|
120 |
}} name="download"{{!
|
123 |
}} {{# download }}checked{{/ download }}{{!
|
121 |
}} {{# download }}checked{{/ download }}{{!
|
124 |
}} class="form-check-input"{{!
|
122 |
}} class="form-check-input"{{!
|
125 |
}} aria-label="{{#str}} downloadbutton, tiny_h5p{{/str}}"{{!
|
- |
|
126 |
}} id="{{elementid}}-{{uniqid}}_h5p-option-allow-download"{{!
|
123 |
}} id="{{elementid}}-{{uniqid}}_h5p-option-allow-download"{{!
|
127 |
}} />
|
124 |
}} />
|
128 |
<label class="form-check-label" for="{{elementid}}-{{uniqid}}_h5p-option-allow-download">
|
125 |
<label class="form-check-label" for="{{elementid}}-{{uniqid}}_h5p-option-allow-download">
|
129 |
{{#str}} downloadbutton, tiny_h5p{{/str}}
|
126 |
{{#str}} downloadbutton, tiny_h5p{{/str}}
|
130 |
</label>
|
127 |
</label>
|
Línea 132... |
Línea 129... |
132 |
<div class="form-check">
|
129 |
<div class="form-check">
|
133 |
<input type="checkbox"{{!
|
130 |
<input type="checkbox"{{!
|
134 |
}} name="embed"{{!
|
131 |
}} name="embed"{{!
|
135 |
}} {{# embed }}checked{{/ embed }}{{!
|
132 |
}} {{# embed }}checked{{/ embed }}{{!
|
136 |
}} class="form-check-input"{{!
|
133 |
}} class="form-check-input"{{!
|
137 |
}} aria-label="{{#str}} embedbutton, tiny_h5p{{/str}}"{{!
|
- |
|
138 |
}} id="{{elementid}}-{{uniqid}}_h5p-option-embed-button"{{!
|
134 |
}} id="{{elementid}}-{{uniqid}}_h5p-option-embed-button"{{!
|
139 |
}} />
|
135 |
}} />
|
140 |
<label class="form-check-label" for="{{elementid}}-{{uniqid}}_h5p-option-embed-button">
|
136 |
<label class="form-check-label" for="{{elementid}}-{{uniqid}}_h5p-option-embed-button">
|
141 |
{{#str}} embedbutton, tiny_h5p{{/str}}
|
137 |
{{#str}} embedbutton, tiny_h5p{{/str}}
|
142 |
</label>
|
138 |
</label>
|
Línea 144... |
Línea 140... |
144 |
<div class="form-check mb-2">
|
140 |
<div class="form-check mb-2">
|
145 |
<input type="checkbox"{{!
|
141 |
<input type="checkbox"{{!
|
146 |
}} name="copyright"{{!
|
142 |
}} name="copyright"{{!
|
147 |
}} {{# copyright }}checked{{/ copyright }}{{!
|
143 |
}} {{# copyright }}checked{{/ copyright }}{{!
|
148 |
}} class="form-check-input"{{!
|
144 |
}} class="form-check-input"{{!
|
149 |
}} aria-label="{{#str}} copyrightbutton, tiny_h5p{{/str}}"{{!
|
- |
|
150 |
}} id="{{elementid}}-{{uniqid}}_h5p-option-copyright-button" {{!
|
145 |
}} id="{{elementid}}-{{uniqid}}_h5p-option-copyright-button" {{!
|
151 |
}}/>
|
146 |
}}/>
|
152 |
<label class="form-check-label" for="{{elementid}}-{{uniqid}}_h5p-option-copyright-button">
|
147 |
<label class="form-check-label" for="{{elementid}}-{{uniqid}}_h5p-option-copyright-button">
|
153 |
{{#str}} copyrightbutton, tiny_h5p{{/str}}
|
148 |
{{#str}} copyrightbutton, tiny_h5p{{/str}}
|
154 |
</label>
|
149 |
</label>
|
155 |
</div>
|
150 |
</div>
|
156 |
</div>
|
151 |
</div>
|
157 |
</fieldset>
|
152 |
</fieldset>
|
158 |
{{/canUpload}}
|
153 |
{{/canUpload}}
|
- |
|
154 |
|
- |
|
155 |
<fieldset class="mt-2 collapsible" id="{{elementid}}-{{uniqid}}-display-options">
|
- |
|
156 |
<legend class="position-relative d-flex ftoggler align-items-center px-1">
|
- |
|
157 |
<a role="button" data-bs-toggle="collapse"{{!
|
- |
|
158 |
}} href="#displayoptions"{{!
|
- |
|
159 |
}} aria-expanded="{{#showDisplayOptions}}true{{/showDisplayOptions}}{{^showDisplayOptions}}false{{/showDisplayOptions}}"{{!
|
- |
|
160 |
}} aria-controls="displayoptions"{{!
|
- |
|
161 |
}} class="btn btn-icon me-3 icons-collapse-expand stretched-link fheader {{^showDisplayOptions}}collapsed{{/showDisplayOptions}}"{{!
|
- |
|
162 |
}}>
|
- |
|
163 |
<span class="expanded-icon icon-no-margin p-2"
|
- |
|
164 |
title="{{#str}} collapse, moodle {{/str}}">
|
- |
|
165 |
<i class="icon fa fa-chevron-down fa-fw " aria-hidden="true"></i>
|
- |
|
166 |
</span>
|
- |
|
167 |
<span class="collapsed-icon icon-no-margin p-2"
|
- |
|
168 |
title="{{#str}} expand, moodle {{/str}}">
|
- |
|
169 |
<span class="dir-rtl-hide">
|
- |
|
170 |
<i class="icon fa fa-chevron-right fa-fw " aria-hidden="true"></i>
|
- |
|
171 |
</span>
|
- |
|
172 |
<span class="dir-ltr-hide">
|
- |
|
173 |
<i class="icon fa fa-chevron-left fa-fw " aria-hidden="true"></i>
|
- |
|
174 |
</span>
|
- |
|
175 |
</span>
|
- |
|
176 |
<span class="visually-hidden">{{#str}} displayoptions, tiny_h5p {{/str}}</span>
|
- |
|
177 |
</a>
|
- |
|
178 |
<h3 class="d-flex align-self-stretch align-items-center mb-0" aria-hidden="true">
|
- |
|
179 |
{{#str}} displayoptions, tiny_h5p {{/str}}
|
- |
|
180 |
</h3>
|
- |
|
181 |
</legend>
|
- |
|
182 |
<div id="displayoptions" class="fcontainer collapseable collapse px-1 {{#showDisplayOptions}}show{{/showDisplayOptions}}">
|
- |
|
183 |
<div class="form-check mb-2">
|
- |
|
184 |
<input type="checkbox" {{!
|
- |
|
185 |
}} name="mobileappautoplay"{{!
|
- |
|
186 |
}} {{# mobileAppAutoPlay }}checked{{/ mobileAppAutoPlay }}{{!
|
- |
|
187 |
}} class="form-check-input"{{!
|
- |
|
188 |
}} id="{{elementid}}-{{uniqid}}_display-option-mobileapp-autoplay"{{!
|
- |
|
189 |
}} />
|
- |
|
190 |
<label class="form-check-label" for="{{elementid}}-{{uniqid}}_display-option-mobileapp-autoplay">
|
- |
|
191 |
{{#str}} mobileappautoplay, tiny_h5p{{/str}}
|
- |
|
192 |
</label>
|
- |
|
193 |
</div>
|
- |
|
194 |
</div>
|
- |
|
195 |
</fieldset>
|
159 |
</div>
|
196 |
</div>
|
160 |
</form>
|
197 |
</form>
|
161 |
{{/body}}
|
198 |
{{/body}}
|
Línea 162... |
Línea 199... |
162 |
|
199 |
|