justification du poste
[auf_rh_dae.git] / project / dae / templates / dae / embauche.html
CommitLineData
139686f2 1{% extends 'base.html' %}
0e0aeb7e 2{% load adminmedia %}
139686f2 3
e8e75458 4{% block title %}RH - DAE - Embauche{% endblock %}
5{% block titre %}Ressources humaines{% endblock %}
6{% block sous_titre %}Demande d'autorisation d'embauche{% endblock %}
7
139686f2
NC
8{% block extrahead %}
9 <script src="{{ MEDIA_URL }}js/jquery-1.5.1.min.js"
10 type="text/javascript"></script>
da3ca955 11
0e0aeb7e
OL
12 {% comment %} style pour le calendier {% endcomment %}
13 <script type="text/javascript">
14 window.__admin_media_prefix__ = "{% filter escapejs %}{% admin_media_prefix %}{% endfilter %}";
15 </script>
16 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/calendrier.css" />
17 <script type="text/javascript" src="/admin/jsi18n/"></script>
18 <script type="text/javascript" src="{% admin_media_prefix %}js/core.js"></script>
19 <script type="text/javascript" src="{% admin_media_prefix %}js/calendar.js"></script>
20 <script type="text/javascript" src="{% admin_media_prefix %}js/admin/DateTimeShortcuts.js"></script>
dfc31755
OL
21 <script src="{{ MEDIA_URL }}js/dae.js" type="text/javascript"></script>
22 <script src="{{ MEDIA_URL }}js/dae-embauche.js" type="text/javascript"></script>
0e0aeb7e 23
da3ca955 24 <style>
25 h2.section {
26 width:100%;
27 background-color: #D0E8F8;
28 text-align: center;
29 color: #5F5F5F;
30 margin: 50px 0px 26px 0px;
31 border-bottom: 3px solid #BBD8EC;
32 padding: 4px;
33 }
34 .row {padding: 10px 0px; clear: both; display:block;}
35 .row * {float: left; margin: 0px; padding: 0px; margin-right: 4px;}
36 .row li {list-style-type: none;}
37 .underline {text-decoration: underline;}
38 .clear {display: block; clear: both;}
39 .note {text-decoration: underline; font-style: italic; margin-left: 12px;}
40 .info {font-size:13px; font-style: italic;}
41 .noborder {border:none; margin:0; padding; 0}
42 tr.noborder td {border:none; padding-left: 0;}
43 .gauche { float:left; }
44 .droite { float:right; text-align:right; }
45 .clear { clear:both; width:100%; }
46 </style>
139686f2 47{% endblock %}
139686f2
NC
48
49{% block main %}
da3ca955 50<h1>Demandes d'autorisation d'engagement de personnel</h1>
0db0aedd 51<form action="" method="post" enctype="multipart/form-data">
da3ca955 52{% if step == 'poste' %}
53 <h2 class="section">SECTION 1 - POSTE</h2>
54 <fieldset>
55 <h2>Poste visé</h2>
56
57 <table cellspacing="0">
139686f2 58 {{ form.as_table }}
da3ca955 59 </table>
60 </fieldset>
da3ca955 61{% else %}
62 <h2 class="section">SECTION 1 - POSTE</h2>
63 <fieldset>
64 <h2>Poste : {{ poste.nom }} ({{ poste.implantation.nom }})</h2>
65
66 </fieldset>
67
68 <h2 class="section">SECTION 2 - PERSONNEL ENGAGÉ</h2>
69 <fieldset>
70 <div>
71 <div class="gauche"><h2>Personne</h2></div>
72 <div class="droite">
73 <table class="droite">
74 <tbody>
75 <tr>
76 <th>Mobilité interne</th>
77 <td colspan="3"><input id="mobilite_interne" type="checkbox" name="mobilite_interne" /></td>
78 </tr>
79 </tbody>
80 </table>
81 </div>
82 </div>
83 <div class="clear"></div>
84 <table id="form-employe">
85 <tbody>
86 <tr>
87 <th>
88 Employé :<br />
89 {{ forms.employe.employe.errors }}
90 </th>
91 <td colspan="5">{{ forms.employe.employe }}</td>
92 </tr>
93 <tr>
94 <th>
95 {{ forms.employe.nom.label_tag }} :<br />
96 {{ forms.employe.nom.errors }}
97 </th>
98 <td>{{ forms.employe.nom }}</td>
99 <th>
100 {{ forms.employe.prenom.label_tag }} :<br />
101 {{ forms.employe.prenom.errors }}
102 </th>
103 <td>{{ forms.employe.prenom }}</td>
104 <th>
105 {{ forms.employe.genre.label_tag }} :<br />
106 {{ forms.employe.genre.errors }}
107 </th>
108 <td>{{ forms.employe.genre }}</td>
109 </tr>
110 </tbody>
111 </table>
112
113 <input type="hidden" id="poste" name="poste"
114 value="dae-{{ poste.id }}" />
115 <input type="hidden" id="implantation" name="implantation"
116 value="{{ poste.implantation_id }}" />
117 <input type="hidden" id="dossier" name="dossier"
118 value="{{ dossier.id }}" />
119 </fieldset>
120
179f6b49
OL
121 <div id="form-dossier">
122 {% comment %}Wrapper du formulaire de dossier{% endcomment %}
123 </div>
6b34f27e 124
dbb687ad
OL
125 <fieldset>
126 <h2>Pièces jointes</h2>
127 <p class="info">CV, lettre de motivation...</p>
128 {% include "dae/pieces.html" %}
129 </fieldset>
130
0801327c
NC
131 <h2 class="section">SECTION 3 - COÛT GLOBAL</h2>
132
cb1d62b5 133 <fieldset>
cb1d62b5
NC
134
135 {% if new %}
136 <p>
137 Vous devez enregister ce dossier avant de pouvoir détailler le
138 coût global.
139 </p>
140 {% else %}
141 <table cellspacing="0" id="global-cost">
142 {% include 'dae/embauche-remun.html' %}
143 </table>
144
145 <select id="type-remun" name="type-remun">
146 <option value="">(Ajouter une ligne)</option>
147 {% for tr in type_remun %}
148 <option value="{{ tr.id }}">{{ tr.nom }}</option>
149 {% endfor %}
150 </select>
151 {% endif %}
152
153 </fieldset>
154
0801327c
NC
155 <h2 class="section">SECTION 4 - JUSTIFICATION DE LA DEMANDE (OBLIGATOIRE)</h2>
156
139686f2 157 <input type="submit" name="save" value="Sauvegarder" />
cb1d62b5 158 </form>
cb1d62b5 159 {% endif %}
139686f2
NC
160{% endblock %}
161