nineskeletor/templates/Registration/info.html.twig
afornerot be78875030
Some checks failed
Cadoles/nineskeletor/pipeline/head Build started...
Cadoles/nineskeletor/pipeline/pr-master There was a failure building this commit
fixevalidator
2023-01-05 20:07:17 +01:00

34 lines
913 B
Twig
Executable File

{% extends 'base.html.twig' %}
{% block body %}
<h1 class="page-header">Inscriptions</h1>
<div style="padding-top:50px;max-width: 1000px; margin:auto; font-size:18px;">
<div class='alert alert-{{ mode }}' style='margin: 5px 0px'>
{% autoescape %}
<p>{{ info|raw }}</p>
{% endautoescape %}
</div>
</div>
{% endblock %}
{% block localscript %}
<script>
{% if mode=="success" %}
$(document).ready(function() {
// Redirection vers la mire d'authentification
setTimeout(function(){
{% if redirectto is defined and redirectto is not null %}
window.location.href="{{ redirectto }}";
{% else %}
window.location.href="{{ path("app_login") }}";
{% endif %}
}, 6000);
});
{% endif %}
</script>
{% endblock %}