34 lines
913 B
Twig
34 lines
913 B
Twig
{% 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 %}
|
|
|