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