Blame view

app/main/templates/charge.html 2.19 KB
412b041b   hitier   Add charge
1
2
{% extends "base_page.html" %}
{% block content %}
9f86aeea   Anais Amato   Change navbar act...
3

bb0ea5a5   hitier   New charge add form
4
5
  <!-- Invisible span to definte wich ul and a in the navbar are actived -->
  <span id="nav_actived" style="display: none">cds,charge/add</span>
412b041b   hitier   Add charge
6

bb0ea5a5   hitier   New charge add form
7
  <form id="charge_form" class="pdc-form" action="{{ url_for('main.charge_add') }}" method="post">
412b041b   hitier   Add charge
8
    <div class="form-group">
bb0ea5a5   hitier   New charge add form
9
10
11
12
13
14
      <label for="agent_id">Nom de l'agent</label>
      <select id="agent_id" name="agent_id" class="form-control">
        <option selected>---</option>
        {% for a in agents %}
          <option value="{{ a.id }}">{{ a.namefull }}</option>
        {% endfor %}
412b041b   hitier   Add charge
15
      </select>
412b041b   hitier   Add charge
16
    </div>
412b041b   hitier   Add charge
17
    <div class="form-group">
bb0ea5a5   hitier   New charge add form
18
19
20
21
22
23
24
      <label for="project_id">Choisir projet</label>
      <select id="project_id" name="project_id" class="form-control">
        <option selected>---</option>
        {% for p in projects %}
          <option value="{{ p.id }}">{{ p.name }}</option>
        {% endfor %}
      </select>
412b041b   hitier   Add charge
25
    </div>
412b041b   hitier   Add charge
26
    <div class="form-group">
bb0ea5a5   hitier   New charge add form
27
28
29
30
31
32
33
      <label for="service_id">Choisir le service</label>
      <select id="service_id" name="service_id" class="form-control">
        <option selected>---</option>
        {% for s in services %}
          <option value="{{ s.id }}">{{ s.name }}</option>
        {% endfor %}
      </select>
412b041b   hitier   Add charge
34
    </div>
412b041b   hitier   Add charge
35
    <div class="form-group">
bb0ea5a5   hitier   New charge add form
36
37
38
39
40
41
42
      <label for="period_id">Choisir la période</label>
      <select id="period_id" name="period_id" class="form-control">
        <option selected>---</option>
        {% for p in periods %}
          <option value="{{ p.id }}">{{ p.name }}</option>
        {% endfor %}
      </select>
412b041b   hitier   Add charge
43
    </div>
412b041b   hitier   Add charge
44
    <div class="form-group">
bb0ea5a5   hitier   New charge add form
45
46
47
48
49
50
51
      <label for="capacity_id">Choisir la fonction</label>
      <select id="capacity_id" name="capacity_id" class="form-control">
        <option selected>---</option>
        {% for c in capacities %}
          <option value="{{ c.id }}">{{ c.name }}</option>
        {% endfor %}
      </select>
412b041b   hitier   Add charge
52
    </div>
412b041b   hitier   Add charge
53
    <div class="form-group">
bb0ea5a5   hitier   New charge add form
54
55
      <label for="charge_rate">Charge (%)</label>
      <input class="form-control col-2" id="charge_rate" name="charge_rate" type="text" placeholder="Ex: 55">
412b041b   hitier   Add charge
56
    </div>
bb0ea5a5   hitier   New charge add form
57
58
    <input class="btn btn-dark" type="submit" value="Valider">
  </form>
412b041b   hitier   Add charge
59
60

{% endblock %}