Commit | Line | Data |
---|---|---|
5d680e84 | 1 | {% extends 'base.html' %} |
37bf2d05 | 2 | |
498881f4 | 3 | {% block title %}RH - DAE{% endblock %} |
4 | {% block titre %}Ressources humaines{% endblock %} | |
5efcd48e | 5 | {% block sous_titre %} |
6 | Demande d'autorisation d'embauche | |
7 | {% endblock %} | |
498881f4 | 8 | |
37bf2d05 | 9 | {% block extrahead %} |
703e5cfb NC |
10 | <script src="{{ MEDIA_URL }}js/jquery-1.5.1.min.js" |
11 | type="text/javascript"></script> | |
12 | <script src="{{ MEDIA_URL }}js/jquery-ui-1.8.11.custom.min.js" | |
13 | type="text/javascript"></script> | |
14 | <link href="{{ MEDIA_URL }}/css/redmond/jquery-ui-1.8.11.custom.css" | |
15 | rel="stylesheet" /> | |
ce110fb9 OL |
16 | |
17 | <style> | |
18 | h1.section {background-color: #D0E8F8; text-align: center; color: #5F5F5F; margin: 50px 0px 26px 0px; border-bottom: 3px solid #BBD8EC; padding: 4px;} | |
19 | .row {padding: 10px 0px; clear: both; display:block;} | |
20 | .row * {float: left; margin: 0px; padding: 0px; margin-right: 4px;} | |
21 | .row li {list-style-type: none;} | |
22 | .underline {text-decoration: underline;} | |
23 | .clear {display: block; clear: both;} | |
24 | .note {text-decoration: underline; font-style: italic; margin-left: 12px;} | |
25 | .info {font-size:13px; font-style: italic;} | |
26 | .noborder {border:none; margin:0; padding; 0} | |
27 | tr.noborder td {border:none; padding-left: 0;} | |
28 | </style> | |
37bf2d05 NC |
29 | {% endblock %} |
30 | ||
37bf2d05 | 31 | {% block main %} |
498881f4 | 32 | <h1>Demande d'autorisation de création de poste</h1> |
33 | ||
5efcd48e | 34 | <form action="" method="post"> |
35 | <fieldset> | |
36 | <h2> | |
37 | {% if new %} | |
38 | Nouveau poste | |
39 | {% else %} | |
40 | Poste existant : {{ poste.nom }} ({{ poste.implantation.nom }}) | |
41 | {% endif %} | |
42 | </h2> | |
43 | <table> | |
44 | <tbody> | |
45 | <tr> | |
46 | <th>{{ form.poste.label_tag }} :<br />{{ form.poste.errors }}</th> | |
47 | <td>{{ form.poste }}</td> | |
48 | </tr> | |
49 | <tr> | |
50 | <th>{{ form.nom.label_tag }} :<br />{{ form.nom.errors }}</th> | |
51 | <td>{{ form.nom }}</td> | |
52 | </tr> | |
53 | <tr> | |
54 | <th>{{ form.type_poste.label_tag }} :<br />{{ form.type_poste.errors }}</th> | |
55 | <td>{{ form.type_poste }}</td> | |
56 | </tr> | |
57 | <tr> | |
58 | <th>{{ form.implantation.label_tag }} :<br />{{ form.implantation.errors }}</th> | |
59 | <td>{{ form.implantation }}</td> | |
60 | </tr> | |
61 | <tr> | |
62 | <th>{{ form.service.label_tag }} :<br />{{ form.service.errors }}</th> | |
63 | <td>{{ form.service }}</td> | |
64 | </tr> | |
65 | <tr> | |
66 | <th>{{ form.responsable.label_tag }} :<br />{{ form.responsable.errors }}</th> | |
67 | <td>{{ form.responsable }}</td> | |
68 | </tr> | |
69 | </tbody> | |
70 | </table> | |
71 | </fieldset> | |
d949462d | 72 | |
5efcd48e | 73 | <fieldset> |
74 | <h2>Recrutement</h2> | |
75 | <table> | |
76 | <tbody> | |
77 | <tr> | |
78 | <th>{{ form.statut_residence.label_tag }} :<br />{{ form.statut_residence.errors }}</th> | |
79 | <td> | |
80 | <span class="row"> | |
81 | {{ form.statut_residence }} | |
82 | {{ form.mise_a_disposition.label_tag }} | |
83 | {{ form.mise_a_disposition.errors }} | |
84 | {{ form.mise_a_disposition }} | |
85 | </span> | |
86 | </td> | |
87 | </tr> | |
88 | <tr> | |
89 | <th>{{ form.appel.label_tag }} :<br />{{ form.appel.errors }}</th> | |
90 | <td> | |
91 | <span class="row"> | |
92 | {{ form.appel }} | |
93 | </span> | |
94 | </td> | |
95 | </tr> | |
96 | </tbody> | |
97 | </table> | |
98 | </fieldset> | |
d949462d | 99 | |
5efcd48e | 100 | <fieldset> |
101 | <h2>Durée prévue du poste </h2> | |
102 | <span class="underline">(indépendamment du titulaire du poste)</span> | |
103 | <table> | |
104 | <tbody> | |
105 | <tr> | |
106 | <th rowspan="2">Durée :</th> | |
107 | <td>du</td> | |
108 | <td> | |
109 | {{ form.date_debut }}<br /> | |
110 | <span class="info">({{form.date_debut.help_text }})</span><br /> | |
111 | {{ form.date_debut.errors }} | |
112 | </td> | |
113 | <td> au </td> | |
114 | <td> | |
115 | {{ form.date_fin }}<br /> | |
116 | <span class="info">({{form.date_fin.help_text }})</span><br /> | |
117 | {{ form.date_fin.errors }} | |
118 | </td> | |
119 | </tr> | |
120 | <tr> | |
121 | <td colspan="4" class="info">Pour une durée indéterminée, spécifier uniquement la date de début.</td> | |
ce110fb9 OL |
122 | </tr> |
123 | <tr> | |
5efcd48e | 124 | <th>{{ form.regime_travail.label_tag }} :<br />{{ form.regime_travail.errors }}</th> |
125 | <td colspan="4"> | |
126 | {{ form.regime_travail }} | |
127 | <span class="info">{{ form.regime_travail.help_text }}</span> | |
ce110fb9 | 128 | </td> |
0f23302a | 129 | </tr> |
5efcd48e | 130 | <tr> |
131 | <th> | |
132 | {{ form.regime_travail_nb_heure_semaine.label_tag }} :<br /> | |
133 | {{ form.regime_travail_nb_heure_semaine.errors }} | |
134 | </th> | |
135 | <td colspan="4">{{ form.regime_travail_nb_heure_semaine }}</td> | |
136 | </tr> | |
137 | </tbody> | |
0f23302a | 138 | </table> |
5efcd48e | 139 | </fieldset> |
0f23302a | 140 | |
5efcd48e | 141 | <fieldset> |
142 | <h2>Classement du poste</h2> | |
143 | <table> | |
144 | <tbody> | |
145 | <tr> | |
146 | <th></th> | |
147 | <th>Échelon AUF</th> | |
148 | <th>Valeur du point</th> | |
149 | <th>Salaire de base</th> | |
150 | <th>Indemnité, responsabilité (le cas échéant)</th> | |
151 | <th>Autres</th> | |
152 | <th>TOTAL</th> | |
153 | <th>Conversion EUR</th> | |
154 | </tr> | |
155 | <tr> | |
156 | <th>Minimum</th> | |
157 | <td>{{ form.classement_min }}</td> | |
158 | <td> | |
159 | {{ form.valeur_point_min }} | |
160 | {{ form.valeur_point_min.errors }} | |
161 | </td> | |
162 | <td>{{ form.salaire_min }}</td> | |
163 | <td>{{ form.indemn_min }}</td> | |
164 | <td>{{ form.autre_min }}</td> | |
165 | <td>??</td> | |
166 | <td>??</td> | |
0f23302a | 167 | </tr> |
168 | <tr> | |
5efcd48e | 169 | <th>Maximun</th> |
170 | <td>{{ form.classement_max }}</td> | |
171 | <td> | |
172 | {{ form.valeur_point_max }} | |
173 | {{ form.valeur_point_max.errors }} | |
ce110fb9 | 174 | </td> |
5efcd48e | 175 | <td>{{ form.salaire_max }}</td> |
176 | <td>{{ form.indemn_max }}</td> | |
177 | <td>{{ form.autre_max }}</td> | |
178 | <td>??</td> | |
179 | <td>??</td> | |
ce110fb9 | 180 | </tr> |
5efcd48e | 181 | </tbody> |
0f23302a | 182 | </table> |
ce110fb9 | 183 | |
0f23302a | 184 | <p class="info">N.B Conversion en EUROS au taux de change budgétaire</p> |
5efcd48e | 185 | </fieldset> |
186 | ||
187 | {% if new %} | |
188 | <fieldset> | |
189 | <h2>Éléments de comparaison</h2> | |
190 | <p class="info">Compléter uniquement lors de la création d'un poste</p> | |
191 | <table> | |
192 | <tbody> | |
193 | <tr> | |
194 | <th></th> | |
195 | <th>Locale</th> | |
196 | <th>Université</th> | |
197 | <th>Fonction publique</th> | |
198 | <th>ONG</th> | |
199 | <th>Autre</th> | |
200 | </tr> | |
201 | <tr> | |
202 | <th>Minimum</th> | |
203 | <td>{{ form.comp_locale_min }}</td> | |
204 | <td>{{ form.comp_universite_min }}</td> | |
205 | <td>{{ form.comp_fonctionpub_min }}</td> | |
206 | <td>{{ form.comp_ong_min }}</td> | |
207 | <td>{{ form.comp_autre_min }}</td> | |
208 | </tr> | |
209 | <tr> | |
210 | <th>Maximum</th> | |
211 | <td>{{ form.comp_locale_max }}</td> | |
212 | <td>{{ form.comp_universite_max }}</td> | |
213 | <td>{{ form.comp_fonctionpub_max }}</td> | |
214 | <td>{{ form.comp_ong_max }}</td> | |
215 | <td>{{ form.comp_autre_max }}</td> | |
216 | </tr> | |
217 | </tbody> | |
218 | </table> | |
219 | <p class="info">N.B Conversion en EUROS au taux de change budgétaire</p> | |
220 | </fieldset> | |
221 | {% endif %} | |
ce110fb9 | 222 | |
5efcd48e | 223 | {% comment %} |
0f23302a | 224 | <h1 class="section clear">SECTION 2 - PERSONNEL ENGAGÉ</h1> |
225 | <div class="row"></div> | |
ce110fb9 | 226 | |
0f23302a | 227 | <h1 class="section">SECTION 3 - COÛT GLOBAL</h1> |
228 | <div class="row"></div> | |
ce110fb9 | 229 | |
0f23302a | 230 | <h1 class="section">SECTION 4 - JUSTIFICATION DE LA DEMANDE (OBLIGATOIRE)</h1> |
231 | <div class="row"></div> | |
5efcd48e | 232 | {% endcomment %} |
3ed49093 | 233 | <input type="submit" name="save" value="Sauvegarder" /> |
5efcd48e | 234 | </form> |
3ed49093 | 235 | |
5efcd48e | 236 | <fieldset> |
237 | <h2>Financement</h2> | |
3ed49093 | 238 | |
5efcd48e | 239 | <table cellspacing="0" id="financing"> |
3ed49093 NC |
240 | <tr> |
241 | <th>Type</th> | |
242 | <th>Montant</th> | |
243 | <th>Devise</th> | |
244 | <th>Pourcentage</th> | |
245 | <th>Commentaire</th> | |
246 | <th></th> | |
247 | </tr> | |
248 | {% for fin in poste.financements.all %} | |
249 | <tr> | |
43d04712 | 250 | <td>{{ fin.get_type_display }}</td> |
3ed49093 | 251 | <td>{{ fin.montant }}</td> |
43d04712 | 252 | <td>€ |
253 | {% comment %} | |
254 | {{ fin.devise }} | |
255 | {% endcomment %} | |
256 | </td> | |
3ed49093 NC |
257 | <td>{{ fin.pourcentage }}</td> |
258 | <td>{{ fin.commentaire }}</td> | |
259 | <td><a href="{% url financement poste_key fin.id %}">Modifier</a></td> | |
260 | </tr> | |
261 | {% empty %} | |
262 | <tr> | |
263 | <td colspan="5"> | |
264 | {% if new %} | |
265 | Vous devez enregister ce nouveau poste avant de pouvoir spécifier | |
266 | la ou les sources de financement. | |
267 | {% else %} | |
268 | Aucun financement au registre | |
269 | {% endif %} | |
270 | </td> | |
271 | </tr> | |
272 | {% endfor %} | |
5efcd48e | 273 | </table> |
274 | {% if not new %} | |
703e5cfb | 275 | <a href="{% url financement poste_key %}" class="new"> |
3ed49093 NC |
276 | Ajouter une source de financement |
277 | </a> | |
5efcd48e | 278 | {% endif %} |
703e5cfb | 279 | |
5efcd48e | 280 | <div id="financing-form"></div> |
281 | </fieldset> | |
703e5cfb NC |
282 | |
283 | <script type="text/javascript"> | |
284 | $('#id_poste').change(function() { | |
285 | window.location = '{% url poste %}/' + $(this).val(); | |
286 | }); | |
287 | $('#financing a, a.new').click(function() { | |
288 | $('#financing-form').load($(this).attr('href') + '?ajax=1') | |
289 | .dialog({ | |
290 | modal: true, | |
43d04712 | 291 | height: 500, |
292 | width: 550 | |
703e5cfb NC |
293 | }); |
294 | return false; | |
295 | }); | |
296 | </script> | |
5d680e84 | 297 | {% endblock %} |