validation_coop.html 2.14 KB
Newer Older
Administrator committed
1 2 3
{% extends "base.html" %}
{% load static %}
{% block additionnal_css %}
4
  <link rel="stylesheet" href="{% static "css/prepa_odoo.css" %}?v=1651853225">
Administrator committed
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
{% endblock %}
{% block additionnal_scripts %}
 <script type="text/javascript">
    // Prevent back page
    // Add actual page to history
    history.pushState(null, null, location.pathname)

    // Register back button click
    window.onpopstate = function (e) {
        // Prevent default action on back button click
        e.preventDefault()
        // Add actual page to history again
        history.pushState(null, null, location.pathname)
    }
    var coop = {{coop|safe}};
20
    let manage_ftop = {% if show_ftop_button %}true{% else %}false{% endif %};
Administrator committed
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
  </script>
{% endblock %}
{% block content %}
<div id="main_content">
<h1 class="txtcenter">{{WELCOME_ENTRANCE_MSG}}</h1>

{% if coop_msg %}
 <div class="txtcenter">
     Au cours de la validation, vous avez signalé un problème :
     <p class="important">{{coop_msg}}</p>
     Le bureau des membres le traite, et vous contactera si nécessaire.
 </div>
{% else %}

<p class="txtcenter intro">
Afin d'enregistrer définitivement vos données dans le système du magasin, merci de vérifier et éventuellement corriger les données suivantes :
</p>
<section class="grid-6 has-gutter">
  
 <div class="col-6">
    {% include "members/validation_form.html" %}
 </div>
 <div class="col-6" id="coop_warning_form">
    {% include "members/warning_form.html" %}
    <a class="btn--primary fl" name="retour">Retour formulaire</a>
 </div>
 </section>
<script type="text/javascript">
        var mag_place_string = '{{mag_place_string}}';
        var office_place_string = '{{office_place_string}}'
        var max_begin_hour = '{{max_begin_hour}}'
        var em_url = '{{em_url}}'
</script>

{% endif %}
<script src="{% static "js/pouchdb.min.js" %}"></script>
57 58 59 60
<script src="{% static "js/all_common.js" %}"?v=1651853225></script>
<script src="{% static "js/common.js" %}?v=1651853225"></script>
<script src="{% static "js/subscription_common.js" %}?v=1651853225"></script>
<script src="{% static "js/subscription_validation.js" %}?v=1651853225"></script>
Administrator committed
61 62
</div>
{% endblock %}