diff --git a/app/main/templates/agent.html b/app/main/templates/agent.html
index b31f2ab..e2a2b7b 100644
--- a/app/main/templates/agent.html
+++ b/app/main/templates/agent.html
@@ -1,7 +1,8 @@
{% extends "base_page.html" %}
{% block more_heads %}
-
+
{% endblock %}
{% block content %}
@@ -9,25 +10,84 @@
agent,agents
-
+
+
+
+
+ - ID :
+ - {{agent.id}}
+ - Genre :
+
+ - Date de naissance :
+
+ - E-mail :
+
+ {# TODO: put different spacing #}
+
+
+ - Statut :
+ - {{agent.status_id}}
+ - Organisme :
+ - {{agent.company_id}}
+ - Corps :
+
+ - BAP :
+ - {{agent.bap_id}}
+ {# TODO: puth different spacing #}
+
+
+ - Quotité :
+
+ - Date arrivée :
+
+ - Date départ :
+
+ {# TODO: put different spacing #}
+
+
+ - Commentaires :
+
+ {# TODO: put different spacing #}
+
+
+ - APPRENTI
+
+ - Fiche de poste :
+
+ {# TODO: put different spacing #}
+
+
+ - Compétences :
+
+ - Besoin en formation :
+
+
+
+
Modifier
+
+
+
+
- {% for header in charges[0] %}
+ {% for header in charges[0] %}
{{header}} |
- {% endfor %}
+ {% endfor %}
{% for line in charges[1:] %}
{% for i in range(line|length) %}
- {%if 'Charge' in charges[0][i] %}
- {% set charge = line[i] | int %}
- {{charge / 100}} |
- {%else%}
- {{line[i]}} |
- {%endif%}
+ {%if 'Charge' in charges[0][i] %}
+ {% set charge = line[i] | int %}
+ {{charge / 100}} |
+ {%else%}
+ {{line[i]}} |
+ {%endif%}
{% endfor %}
{% endfor %}
@@ -43,7 +103,7 @@
{% endblock %}
diff --git a/app/main/templates/agent_edit.html b/app/main/templates/agent_edit.html
new file mode 100644
index 0000000..4990d4d
--- /dev/null
+++ b/app/main/templates/agent_edit.html
@@ -0,0 +1,42 @@
+{% extends "base_page.html" %}
+{% block content %}
+{% if agent %}
+Modifier l'agent {{ agent.name}}.
+{% else %}
+Ajouter un nouvel agent.
+{% endif %}
+
+{% endblock %}
diff --git a/app/static/css/style.css b/app/static/css/style.css
index 497c072..fd93882 100644
--- a/app/static/css/style.css
+++ b/app/static/css/style.css
@@ -8,8 +8,9 @@
@media (min-width: 1670px) {
.sidebar {
- max-width:12.499999995%;
+ max-width: 12.499999995%;
}
+}
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
html {
@@ -106,4 +107,8 @@ nav.sidebar a.disabled {
border: solid black 1pt;
margin-bottom: 3em;
border-radius: 0;
+}
+
+dl.agent {
+ line-height: 1.2;
}
\ No newline at end of file
--
libgit2 0.21.2