Layout refactoring (step 1)
[platal.git] / templates / profile / jobs.job.tpl
CommitLineData
0337d704 1{**************************************************************************}
2{* *}
5ddeb07c 3{* Copyright (C) 2003-2007 Polytechnique.org *}
0337d704 4{* http://opensource.polytechnique.org/ *}
5{* *}
6{* This program is free software; you can redistribute it and/or modify *}
7{* it under the terms of the GNU General Public License as published by *}
8{* the Free Software Foundation; either version 2 of the License, or *}
9{* (at your option) any later version. *}
10{* *}
11{* This program is distributed in the hope that it will be useful, *}
12{* but WITHOUT ANY WARRANTY; without even the implied warranty of *}
13{* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *}
14{* GNU General Public License for more details. *}
15{* *}
16{* You should have received a copy of the GNU General Public License *}
17{* along with this program; if not, write to the Free Software *}
18{* Foundation, Inc., *}
19{* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *}
20{* *}
21{**************************************************************************}
22
77842972
FB
23{assign var=jobid value="job_`$i`"}
24{assign var=jobpref value="job[`$i`]"}
25<table class="bicol" cellspacing="0" cellpadding="0" summary="Entreprise n°{$i+1}">
26 <tr>
27 <th colspan="2" style="text-align: right">
28 <div class="flags" style="float: left; text-align: left">
29 {include file="include/flags.radio.tpl" notable=true display="div" name="`$jobpref`[pub]" value=$job.pub}
30 </div>
31 Entreprise n°{$i+1}&nbsp;:
32 <input type="text" size="35" maxlength="100" name="{$jobpref}[name]" value="{$job.name}" />
5e70bf24
FB
33 </th>
34 </tr>
5e70bf24 35 <tr>
77842972
FB
36 <td class="titre">Page Web</td>
37 <td><input type="text" size="35" maxlength="255" name="{$jobpref}[web]" value="{$job.web}" /></td>
5e70bf24
FB
38 </tr>
39 <tr>
40 <td class="titre">Secteur d'activité</td>
41 <td>
77842972
FB
42 <select name="{$jobpref}[secteur]" onchange="this.form.submit();">
43 {select_secteur secteur=$job.secteur}
5e70bf24
FB
44 </select>
45 </td>
46 </tr>
47 <tr>
48 <td class="titre">Sous-Secteur d'activité</td>
49 <td>
77842972
FB
50 <select name="{$jobpref}[ss_secteur]">
51 {select_ss_secteur secteur=$job.secteur ss_secteur=$job.ss_secteur}
5e70bf24
FB
52 </select>
53 </td>
54 </tr>
55 <tr>
56 <td class="titre">Poste occupé</td>
57 <td>
77842972 58 <input type="text" size="35" maxlength="120" name="{$jobpref}[poste]" value="{$job.poste}" />
5e70bf24
FB
59 </td>
60 </tr>
61 <tr>
62 <td class="titre">Fonction occupée</td>
63 <td>
77842972
FB
64 <select name="{$jobpref}[fonction]">
65 {select_fonction fonction=$job.fonction}
5e70bf24
FB
66 </select>
67 </td>
68 </tr>
77842972
FB
69 <tr class="pair">
70 <td colspan="2">
71 <div style="float: left">
72 <div class="flags" style="float: right">
73 {include file="include/flags.radio.tpl" name="`$jobpref`[adr][pub]" val=$job.adr.pub display="div"}
74 </div>
75 <div class="titre">Adresse</div>
76 <div style="margin-top: 20px; clear: both">
77 {include file="geoloc/form.address.tpl" name="`$jobpref`[adr]" id="`$jobpref`_adr" adr=$job.adr}
78 </div>
79 </div>
80 <div style="float: right; width: 50%">
81 <div class="flags" style="float: right">
82 {include file="include/flags.radio.tpl" name="`$jobpref`[tel_pub]" val=$job.tel_pub display="div"}
83 </div>
84 <span class="titre">Téléphone</span>
85 <table style="clear: both">
86 <tr>
87 <td>Bureau&nbsp;:</td>
88 <td><input type="text" size="18" maxlength="18" name="{$jobpref}[tel_office]" value="{$job.tel_office}" /></td>
89 </tr>
90 <tr>
91 <td>Fax&nbsp;:</td>
92 <td><input type="text" size="18" maxlength="18" name="{$jobpref}[tel_fax]" value="{$job.tel_fax}" /></td>
93 </tr>
94 <tr>
95 <td>Mobile&nbsp;:</td>
96 <td><input type="text" size="18" maxlength="18" name="{$jobpref}[tel_mobile]" value="{$job.tel_mobile}" /></td>
97 </tr>
98 </table>
99 </div>
100 </td>
101 </tr>
102 <tr class="pair">
103 <td colspan="2">
104 <div class="flags" style="float: right">
105 {include file="include/flags.radio.tpl" name="`$jobpref`[email_pub]" val=$job.mail_pub display="div"}
106 </div>
107 <span class="titre">E-mail&nbsp;:</span>
108 <input type="text" size="30" maxlength="60" name="{$jobpref}[email]" value="{$job.email}" />
5e70bf24
FB
109 </td>
110 </tr>
111</table>
0337d704 112
a7de4ef7 113{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}