cadoles-arcad/template/layouts/captive_portal.html.tmpl

28 lines
972 B
Cheetah
Raw Permalink Normal View History

2022-05-11 21:38:20 +02:00
{{define "title"}}Chargement en cours - Arcad{{end}}
{{define "body"}}
{{template "header" .}}
{{ $redirectUrl := "/captive?escape=1" }}
{{ if .IsAndroid }}
{{ $redirectUrl := "intent://arcadbox.local/captive?escape=1#Intent;scheme=http;end" }}
{{ end }}
2022-06-01 17:31:21 +02:00
<section class="block">
2022-05-11 21:38:20 +02:00
<div class="container">
<div class="message is-info">
<div class="message-body">
<div class="content">
<p>Un instant s'il vous plaît, nous préparons votre espace...</p>
<p>Si la page ne se recharge pas automatiquement, <a id="homepage-link" href="{{ $redirectUrl }}" target="_blank">cliquez ici.</a></p>
</div>
</div>
</div>
</div>
</section>
{{end}}
{{define "head_style"}}
{{ $redirectUrl := "/captive?escape=1" }}
{{ if .IsAndroid }}
{{ $redirectUrl := "intent://arcadbox.local/captive?escape=1#Intent;scheme=http;end" }}
{{ end }}
<meta http-equiv="refresh" content="1;URL={{ $redirectUrl }}">
{{end}}
{{template "base" .}}