Línea 166... |
Línea 166... |
166 |
<div class="rui-login-container row no-gutters">
|
166 |
<div class="rui-login-container row no-gutters">
|
Línea 167... |
Línea 167... |
167 |
|
167 |
|
Línea 168... |
Línea 168... |
168 |
{{/loginlayoutimg}}
|
168 |
{{/loginlayoutimg}}
|
169 |
|
169 |
|
170 |
<div class="rui-login-box">
|
- |
|
171 |
<div class="rui-login-content">
|
170 |
<div class="rui-login-box">
|
172 |
{{#cansignup}}
|
- |
|
173 |
<div class="sr-only">
|
- |
|
174 |
<a href="{{signupurl}}">{{#str}} tocreatenewaccount {{/str}}</a>
|
- |
|
175 |
</div>
|
- |
|
176 |
{{/cansignup}}
|
171 |
<div class="row">
|
177 |
|
- |
|
178 |
<div class="rui-loginpage-intro">
|
- |
|
179 |
{{^loginlogooutside}}
|
172 |
<div class="col col-md-6">
|
180 |
<div class="rui-loginpage-intro-logo {{#customlogindmlogo}}dark-mode-logo{{/customlogindmlogo}} ">
|
- |
|
181 |
{{#customloginlogo}}
|
- |
|
182 |
<a href="{{{ config.wwwroot }}}" class="text-decoration-none">
|
- |
|
183 |
<h2><img src="{{customloginlogo}}" title="{{sitename}}" alt="{{sitename}}" class="rui-login-logo img-fluid" /></h2>
|
- |
|
184 |
{{#customlogindmlogo}}<h2><img src="{{customlogindmlogo}}" alt="{{sitename}}" class="rui-custom-dmlogo ml-2 img-fluid" /></h2>{{/customlogindmlogo}}
|
- |
|
185 |
</a>
|
- |
|
186 |
{{/customloginlogo}}
|
- |
|
187 |
|
- |
|
188 |
{{^customloginlogo}}
|
- |
|
189 |
{{#logourl}}
|
- |
|
190 |
<a href="{{{ config.wwwroot }}}" class="text-decoration-none">
|
- |
|
191 |
<h2><img src="{{logourl}}" title="{{sitename}}" alt="{{sitename}}" class="rui-login-logo img-fluid" /></h2>
|
- |
|
192 |
</a>
|
- |
|
193 |
{{/logourl}}
|
- |
|
194 |
|
- |
|
195 |
{{^logourl}}
|
- |
|
196 |
<a href="{{{ config.wwwroot }}}" class="text-decoration-none">
|
- |
|
197 |
<h2>{{sitename}}</h2>
|
173 |
<div class="rui-login-content">
|
198 |
</a>
|
- |
|
199 |
{{/logourl}}
|
- |
|
200 |
{{/customloginlogo}}
|
- |
|
201 |
</div>
|
- |
|
202 |
{{/loginlogooutside}}
|
- |
|
203 |
|
- |
|
204 |
{{#loginintrotext}}
|
- |
|
205 |
<div class="rui-loginpage-intro-content mb-3 text-center">
|
- |
|
206 |
{{{loginintrotext}}}
|
- |
|
207 |
</div>
|
- |
|
208 |
{{/loginintrotext}}
|
- |
|
209 |
|
- |
|
210 |
</div>
|
- |
|
211 |
|
- |
|
212 |
{{#error}}
|
- |
|
213 |
<div class="loginerrors mt-3">
|
- |
|
214 |
<a href="#" id="loginerrormessage" class="accesshide">{{error}}</a>
|
- |
|
215 |
<div class="alert alert-danger" role="alert" data-aria-autofocus="true">{{error}}</div>
|
- |
|
216 |
</div>
|
- |
|
217 |
{{/error}}
|
- |
|
218 |
|
- |
|
219 |
{{#loginidprovtop}}
|
- |
|
220 |
{{#hasidentityproviders}}
|
174 |
{{#cansignup}}
|
221 |
<div class="rui-potentialidplist login-identityproviders mt-3 text-center">
|
- |
|
222 |
<p class="small text-center">{{#str}} potentialidps, auth {{/str}}</p>
|
- |
|
223 |
<div class="row no-gutters mt-1">
|
- |
|
224 |
{{#identityproviders}}
|
- |
|
225 |
<a class="btn btn-secondary login-identityprovider-btn rui-potentialidp w-100 mt-1" href="{{url}}">
|
- |
|
226 |
{{#iconurl}}
|
- |
|
227 |
<img src="{{iconurl}}" alt="" width="24" height="24"/>
|
- |
|
228 |
{{/iconurl}}
|
- |
|
229 |
{{name}}
|
- |
|
230 |
</a>
|
175 |
<div class="sr-only">
|
231 |
{{/identityproviders}}
|
- |
|
232 |
</div>
|
176 |
<a href="{{signupurl}}">{{#str}} tocreatenewaccount {{/str}}</a>
|
233 |
<hr class="hr-small" />
|
- |
|
234 |
</div>
|
- |
|
235 |
{{/hasidentityproviders}}
|
- |
|
236 |
{{/loginidprovtop}}
|
- |
|
Línea 237... |
Línea 177... |
237 |
|
177 |
</div>
|
238 |
<div class="rui-login-form">
|
178 |
{{/cansignup}}
|
- |
|
179 |
|
239 |
|
180 |
<div class="rui-loginpage-intro">
|
240 |
<form action="{{loginurl}}" method="post" id="login">
|
181 |
{{^loginlogooutside}}
|
- |
|
182 |
<div class="rui-loginpage-intro-logo {{#customlogindmlogo}}dark-mode-logo{{/customlogindmlogo}} ">
|
- |
|
183 |
{{#customloginlogo}}
|
241 |
<input id="anchor" type="hidden" name="anchor" value="">
|
184 |
<a href="{{{ config.wwwroot }}}" class="text-decoration-none">
|
242 |
<script>
|
185 |
<h2><img src="{{customloginlogo}}" title="{{sitename}}" alt="{{sitename}}" class="rui-login-logo img-fluid" /></h2>
|
- |
|
186 |
{{#customlogindmlogo}}<h2><img src="{{customlogindmlogo}}" alt="{{sitename}}" class="rui-custom-dmlogo ml-2 img-fluid" /></h2>{{/customlogindmlogo}}
|
243 |
document.getElementById('anchor').value = location.hash;
|
187 |
</a>
|
244 |
</script>
|
188 |
{{/customloginlogo}}
|
- |
|
189 |
|
- |
|
190 |
{{^customloginlogo}}
|
245 |
<input type="hidden" name="logintoken" value="{{logintoken}}">
|
191 |
{{#logourl}}
|
246 |
<div class="form-group mb-2 form-control--username-box">
|
192 |
<a href="{{{ config.wwwroot }}}" class="text-decoration-none">
|
- |
|
193 |
<h2><img src="{{logourl}}" title="{{sitename}}" alt="{{sitename}}" class="rui-login-logo img-fluid" /></h2>
|
247 |
<label for="username" class="sr-only">
|
194 |
</a>
|
- |
|
195 |
{{/logourl}}
|
- |
|
196 |
|
248 |
{{^canloginbyemail}}
|
197 |
{{^logourl}}
|
249 |
{{#str}} username {{/str}}
|
198 |
<a href="{{{ config.wwwroot }}}" class="text-decoration-none">
|
250 |
{{/canloginbyemail}}
|
199 |
<h2>{{sitename}}</h2>
|
251 |
{{#canloginbyemail}}
|
200 |
</a>
|
- |
|
201 |
{{/logourl}}
|
- |
|
202 |
{{/customloginlogo}}
|
- |
|
203 |
</div>
|
252 |
{{#str}} usernameemail {{/str}}
|
204 |
{{/loginlogooutside}}
|
253 |
{{/canloginbyemail}}
|
205 |
|
- |
|
206 |
{{#loginintrotext}}
|
- |
|
207 |
<div class="rui-loginpage-intro-content mb-3 text-center">
|
- |
|
208 |
{{{loginintrotext}}}
|
- |
|
209 |
</div>
|
- |
|
210 |
{{/loginintrotext}}
|
- |
|
211 |
|
254 |
</label>
|
212 |
</div>
|
255 |
<input type="text" name="username" id="username" {{!
|
213 |
|
256 |
!}}class="form-control form-control--username" {{!
|
214 |
{{#error}}
|
257 |
!}}value="{{username}}" {{!
|
215 |
<div class="loginerrors mt-3">
|
258 |
!}}placeholder="{{^canloginbyemail}}{{#cleanstr}}username{{/cleanstr}}{{/canloginbyemail}}{{!
|
216 |
<a href="#" id="loginerrormessage" class="accesshide">{{error}}</a>
|
- |
|
217 |
<div class="alert alert-danger" role="alert" data-aria-autofocus="true">{{error}}</div>
|
259 |
!}}{{#canloginbyemail}}{{#cleanstr}}usernameemail{{/cleanstr}}{{/canloginbyemail}}" {{!
|
218 |
</div>
|
260 |
!}}autocomplete="username">
|
219 |
{{/error}}
|
261 |
</div>
|
220 |
|
262 |
<div class="form-group my-1 form-control--password-box">
|
221 |
{{#loginidprovtop}}
|
263 |
<label for="password" class="sr-only">{{#str}} password {{/str}}</label>
|
222 |
{{#hasidentityproviders}}
|
264 |
<input type="password" name="password" id="password" value="" {{!
|
223 |
<div class="rui-potentialidplist login-identityproviders mt-3 text-center">
|
265 |
!}}class="form-control form-control--password" {{!
|
224 |
<p class="small text-center">{{#str}} potentialidps, auth {{/str}}</p>
|
- |
|
225 |
<div class="row no-gutters mt-1">
|
266 |
!}}placeholder="{{#cleanstr}}password{{/cleanstr}}" {{!
|
226 |
{{#identityproviders}}
|
267 |
!}}autocomplete="current-password">
|
227 |
<a class="btn btn-secondary login-identityprovider-btn rui-potentialidp w-100 mt-1" href="{{url}}">
|
- |
|
228 |
{{#iconurl}}
|
- |
|
229 |
<img src="{{iconurl}}" alt="" width="24" height="24"/>
|
268 |
<button class="rui-show-password-btn rui-show-password-btn--hidden border-0" id="togglePassword" tabindex="0" type="button" role="button" aria-checked="false">
|
230 |
{{/iconurl}}
|
269 |
<svg class="showpassword-icon--off" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
231 |
{{name}}
|
270 |
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M19.25 12C19.25 13 17.5 18.25 12 18.25C6.5 18.25 4.75 13 4.75 12C4.75 11 6.5 5.75 12 5.75C17.5 5.75 19.25 11 19.25 12Z"></path>
|
232 |
</a>
|
271 |
<circle cx="12" cy="12" r="2.25" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></circle>
|
233 |
{{/identityproviders}}
|
- |
|
234 |
</div>
|
- |
|
235 |
<hr class="hr-small" />
|
- |
|
236 |
</div>
|
- |
|
237 |
{{/hasidentityproviders}}
|
- |
|
238 |
{{/loginidprovtop}}
|
272 |
</svg>
|
239 |
|
273 |
<svg class="showpassword-icon--on" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
240 |
<div class="rui-login-form">
|
274 |
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M18.6247 10C19.0646 10.8986 19.25 11.6745 19.25 12C19.25 13 17.5 18.25 12 18.25C11.2686 18.25 10.6035 18.1572 10 17.9938M7 16.2686C5.36209 14.6693 4.75 12.5914 4.75 12C4.75 11 6.5 5.75 12 5.75C13.7947 5.75 15.1901 6.30902 16.2558 7.09698"></path>
|
241 |
|
- |
|
242 |
<form action="{{loginurl}}" method="post" id="login">
|
275 |
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M19.25 4.75L4.75 19.25"></path>
|
243 |
<input id="anchor" type="hidden" name="anchor" value="">
|
- |
|
244 |
<script>
|
- |
|
245 |
document.getElementById('anchor').value = location.hash;
|
- |
|
246 |
</script>
|
- |
|
247 |
<input type="hidden" name="logintoken" value="{{logintoken}}">
|
- |
|
248 |
<div class="form-group mb-2 form-control--username-box">
|
- |
|
249 |
<label for="username" class="sr-only">
|
- |
|
250 |
{{^canloginbyemail}}
|
- |
|
251 |
{{#str}} username {{/str}}
|
- |
|
252 |
{{/canloginbyemail}}
|
276 |
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M10.409 13.591C9.53033 12.7123 9.53033 11.2877 10.409 10.409C11.2877 9.5303 12.7123 9.5303 13.591 10.409"></path>
|
253 |
{{#canloginbyemail}}
|
- |
|
254 |
{{#str}} usernameemail {{/str}}
|
277 |
</svg>
|
255 |
{{/canloginbyemail}}
|
278 |
</button>
|
256 |
</label>
|
279 |
</div>
|
257 |
<input type="text" name="username" id="username" {{!
|
- |
|
258 |
!}}class="form-control form-control--username" {{!
|
- |
|
259 |
!}}value="{{username}}" {{!
|
280 |
{{^hideforgotpassword}}
|
260 |
!}}placeholder="{{^canloginbyemail}}{{#cleanstr}}username{{/cleanstr}}{{/canloginbyemail}}{{!
|
- |
|
261 |
!}}{{#canloginbyemail}}{{#cleanstr}}usernameemail{{/cleanstr}}{{/canloginbyemail}}" {{!
|
- |
|
262 |
!}}autocomplete="username">
|
- |
|
263 |
</div>
|
- |
|
264 |
<div class="form-group my-1 form-control--password-box">
|
- |
|
265 |
<label for="password" class="sr-only">{{#str}} password {{/str}}</label>
|
281 |
<div class="w-100 text-center">
|
266 |
<input type="password" name="password" id="password" value="" {{!
|
- |
|
267 |
!}}class="form-control form-control--password" {{!
|
- |
|
268 |
!}}placeholder="{{#cleanstr}}password{{/cleanstr}}" {{!
|
282 |
<a class="rui-login-forgot-btn" href="{{forgotpasswordurl}}">{{#str}}forgotten{{/str}}</a>
|
269 |
!}}autocomplete="current-password">
|
- |
|
270 |
<button class="rui-show-password-btn rui-show-password-btn--hidden border-0" id="togglePassword" tabindex="0" type="button" role="button" aria-checked="false">
|
283 |
</div>
|
271 |
<svg class="showpassword-icon--off" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
- |
|
272 |
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M19.25 12C19.25 13 17.5 18.25 12 18.25C6.5 18.25 4.75 13 4.75 12C4.75 11 6.5 5.75 12 5.75C17.5 5.75 19.25 11 19.25 12Z"></path>
|
284 |
{{/hideforgotpassword}}
|
273 |
<circle cx="12" cy="12" r="2.25" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></circle>
|
- |
|
274 |
</svg>
|
- |
|
275 |
<svg class="showpassword-icon--on" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
- |
|
276 |
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M18.6247 10C19.0646 10.8986 19.25 11.6745 19.25 12C19.25 13 17.5 18.25 12 18.25C11.2686 18.25 10.6035 18.1572 10 17.9938M7 16.2686C5.36209 14.6693 4.75 12.5914 4.75 12C4.75 11 6.5 5.75 12 5.75C13.7947 5.75 15.1901 6.30902 16.2558 7.09698"></path>
|
285 |
{{{logininfobox}}}
|
277 |
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M19.25 4.75L4.75 19.25"></path>
|
286 |
{{#recaptcha}}
|
278 |
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M10.409 13.591C9.53033 12.7123 9.53033 11.2877 10.409 10.409C11.2877 9.5303 12.7123 9.5303 13.591 10.409"></path>
|
- |
|
279 |
</svg>
|
- |
|
280 |
</button>
|
- |
|
281 |
</div>
|
- |
|
282 |
{{^hideforgotpassword}}
|
- |
|
283 |
<div class="w-100 text-center">
|
- |
|
284 |
<a class="rui-login-forgot-btn" href="{{forgotpasswordurl}}">{{#str}}forgotten{{/str}}</a>
|
- |
|
285 |
</div>
|
- |
|
286 |
{{/hideforgotpassword}}
|
- |
|
287 |
{{{logininfobox}}}
|
- |
|
288 |
{{#recaptcha}}
|
287 |
<div class="login-form-recaptcha form-group">
|
289 |
<div class="login-form-recaptcha form-group">
|
288 |
{{{recaptcha}}}
|
290 |
{{{recaptcha}}}
|
289 |
</div>
|
291 |
</div>
|
- |
|
292 |
{{/recaptcha}}
|
290 |
{{/recaptcha}}
|
293 |
<button type="submit" class="btn btn-lg btn-primary btn-block mt-3" id="loginbtn">{{#str}}login{{/str}}</button>
|
291 |
<button type="submit" class="btn btn-lg btn-primary btn-block mt-3" id="loginbtn">{{#str}}login{{/str}}</button>
|
294 |
</form>
|
292 |
</form>
|
295 |
</div>
|
293 |
</div><!-- .rui-login-form -->
|
296 |
<!-- .rui-login-form -->
|
294 |
|
297 |
|
295 |
{{^loginidprovtop}}
|
298 |
{{^loginidprovtop}}
|
296 |
{{#hasidentityproviders}}
|
299 |
{{#hasidentityproviders}}
|
297 |
<hr class="hr-small" />
|
300 |
<hr class="hr-small" />
|
298 |
<div class="rui-potentialidplist login-identityproviders mt-3 text-center">
|
301 |
<div class="rui-potentialidplist login-identityproviders mt-3 text-center">
|
299 |
<p class="small text-center">{{#str}} potentialidps, auth {{/str}}</p>
|
302 |
<p class="small text-center">{{#str}} potentialidps, auth {{/str}}</p>
|
300 |
<div class="row no-gutters mt-1">
|
303 |
<div class="row no-gutters mt-1">
|
301 |
{{#identityproviders}}
|
304 |
{{#identityproviders}}
|
302 |
<a class="btn btn-secondary login-identityprovider-btn rui-potentialidp w-100 mt-1" href="{{url}}">
|
305 |
<a class="btn btn-secondary login-identityprovider-btn rui-potentialidp w-100 mt-1" href="{{url}}">
|
303 |
{{#iconurl}}
|
306 |
{{#iconurl}}
|
304 |
<img src="{{iconurl}}" alt="" width="24" height="24"/>
|
307 |
<img src="{{iconurl}}" alt="" width="24" height="24"/>
|
305 |
{{/iconurl}}
|
308 |
{{/iconurl}}
|
- |
|
309 |
{{name}}
|
306 |
{{name}}
|
310 |
</a>
|
307 |
</a>
|
- |
|
308 |
{{/identityproviders}}
|
311 |
{{/identityproviders}}
|
309 |
</div>
|
312 |
</div>
|
Línea 310... |
Línea 313... |
310 |
</div>
|
313 |
</div>
|
311 |
{{/hasidentityproviders}}
|
314 |
{{/hasidentityproviders}}
|
312 |
{{/loginidprovtop}}
|
315 |
{{/loginidprovtop}}
|
313 |
|
316 |
|
Línea 364... |
Línea 367... |
364 |
<hr class="hr-small" />
|
367 |
<hr class="hr-small" />
|
365 |
{{{loginfootercontent}}}
|
368 |
{{{loginfootercontent}}}
|
366 |
</div>
|
369 |
</div>
|
367 |
{{/loginfootercontent}}
|
370 |
{{/loginfootercontent}}
|
368 |
{{/loginlayoutimg}}
|
371 |
{{/loginlayoutimg}}
|
- |
|
372 |
</div>
|
369 |
</div><!-- .rui-login-content -->
|
373 |
<!-- .rui-login-content -->
|
- |
|
374 |
</div>
|
Línea -... |
Línea 375... |
- |
|
375 |
|
- |
|
376 |
<div class="col col-md-6">
|
- |
|
377 |
<img src="{{{output.get_image_login}}}" alt="Login moodle image" width="60" height="60" class="img-fluid"/>
|
- |
|
378 |
</div>
|
370 |
|
379 |
</div>
|
Línea 371... |
Línea 380... |
371 |
</div><!-- .rui-login-box -->
|
380 |
</div><!-- .rui-login-box -->
|
372 |
|
381 |
|