prepa_odoo.html 4.46 KB
Newer Older
Administrator committed
1 2 3
{% extends "base.html" %}
{% load static %}
{% block additionnal_css %}
4 5
  <link rel="stylesheet" href="{% static "css/inscriptions.css" %}?v=1651853225">
  <link rel="stylesheet" href="{% static "css/prepa_odoo.css" %}?v=1651853225">
Administrator committed
6 7 8 9 10 11 12 13 14
  <style>
    .shift[data-place="{{mag_place_string}}"], [data-select="{{mag_place_string}}"] {background: #c8deff;}
    .shift[data-place="{{office_place_string}}"], [data-select="{{office_place_string}}"]  {background: #f9b2ff;}
  </style>
{% endblock %}
{% block additionnal_scripts %}
 <script type="text/javascript">
    var type = 2;
    var context = 'validation';
15
    let manage_ftop = {% if show_ftop_button %}true{% else %}false{% endif %};
Administrator committed
16 17 18 19 20 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 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108
  </script>
{% endblock %}
{% block content %}
{% include "common/conn_admin.html" %}
 <section class="grid-6 has-gutter" id="dashboard">
    <div class="col-6 menu txtcenter title">
    <h1>INSCRIPTION DES NOUVEAUX COOPS AU BDM</h1>
   </div>
   <div class="col-6 grid-6 has-gutter txtcenter">
    <div class="col-3 validate_container">
        <h2>Saisir le bulletin d'informations du membre</h2>
        <div id="to_fill" class="main">
        </div>
        <div id="waiting_validation_employee" class="main" >
            <h2>En attente de validation par un salarié</h2>
            <div class="elts">
            </div>
        </div>
        <div id="waiting_validation_member" class="main" >
            <h2>En attente de validation par le membre</h2>
            <div class="elts">
            </div>
        </div>
        <div id="done" class="main">
            <h2>Bulletins à archiver</h2>
            <div class="elts">
            </div>
        </div>
    </div>
    <div class="col-3 errors_container">
        <h2>Nouveaux coops à problèmes</h2>
        <div id="with_errors" class="main">
        </div>
    </div>
   </div>
 </section>

 <section class="grid-6 has-gutter" id="coop_page">
    <div class="col-6 menu txtcenter title">
    <h1>Saisie du formulaire + Validation</h1>
    <p>Saisir les champs <span class="green">verts</span> et vérifier et/ou modifier les champs <span class="yellow">jaunes</span></p>
   </div>
   <div class="col-6">
    {% include "members/validation_form.html" %}

     <div class="next_step fr">
            <button class="btn--primary" data-action="dashboard">Retour à la liste</button>
        </div>
   </div>
 </section>
 <section class="grid-6 has-gutter" id="warning_slide">
    <div class="col-6 menu txtcenter title">
    <h1>Nouveau coop à problèmes</h1>
   </div>
   <div class="col-6 main-content">
    <div class="sump_up">
        <p>
            <input disabled="disabled" name="lastname" />
            <input disabled="disabled" name="firstname" />
            <!--<input disabled="disabled" name="barcode_base" /> -->
        </p>
        <p class="coop_msg">
        </p>
        <p>
            <input disabled="disabled" value="Quel est le problème ?" />
        </p>
    </div>
     {% include "members/warning_form.html" %}
    <div class="next_step">
        <button class="btn--danger" id="form_delete" data-action="form_delete">Supprimer la fiche</button>
        <button class="btn--danger" id="problem_delete" data-action="problem_delete">Enlever des coops à problème</button>
        <button class="btn--primary" data-action="coop_form">Accéder à la fiche</button>
        <button class="btn--primary" data-action="dashboard">Retour à la liste</button>
    </div>
   </div>
 </section>
 {% include "members/shift_choice.html" %}
 <div style="display:none" id="admin_elts">

 </div>
 <script src="{% static "js/pouchdb.min.js" %}"></script>
<script type="text/javascript">
        var couchdb_dbname = '{{db}}';
        var couchdb_server = '{{couchdb_server}}' + couchdb_dbname;
        var dbc = new PouchDB(couchdb_dbname);
        var sync = PouchDB.sync(couchdb_dbname, couchdb_server, {
          live: true,
          retry: true,
          auto_compaction: false
        });
        var mag_place_string = '{{mag_place_string}}';
        var office_place_string = '{{office_place_string}}'
        var max_begin_hour = '{{max_begin_hour}}'
109
        var committees_shift_id = '{{committees_shift_id}}';
110
        var exemptions_shift_id = '{{exemptions_shift_id}}';
Administrator committed
111
 </script>
112 113 114 115
 <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/prepa_odoo.js" %}?v=1651853225"></script>
Administrator committed
116
{% endblock %}