From 77842972c12563954727e415c9f236e8d159eb96 Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Sat, 8 Sep 2007 10:30:07 +0200 Subject: [PATCH] Layout refactoring (step 1) Signed-off-by: Florent Bruneau --- htdocs/css/keynote.css | 6 +- templates/profile/jobs.job.tpl | 157 ++++++++++++++++------------------------- 2 files changed, 62 insertions(+), 101 deletions(-) diff --git a/htdocs/css/keynote.css b/htdocs/css/keynote.css index 084d2aa..c0519b7 100644 --- a/htdocs/css/keynote.css +++ b/htdocs/css/keynote.css @@ -362,17 +362,17 @@ div.long td.rt { width: 65%; } .flags .vert { background: url('../images/icons/flag_green.gif') top right no-repeat; padding: 0 16px 0 0; - margin-right: 16px; + margin-left: 16px; } .flags .orange { background: url('../images/icons/flag_orange.gif') top right no-repeat; padding: 0 16px 0 0; - margin-right: 16px; + margin-left: 16px; } .flags .rouge { background: url('../images/icons/flag_red.gif') top right no-repeat; padding: 0 16px 0 0; - margin-right: 16px; + margin-left: 16px; } table.cadre_a_onglet{ diff --git a/templates/profile/jobs.job.tpl b/templates/profile/jobs.job.tpl index 908edb8..5ad21be 100644 --- a/templates/profile/jobs.job.tpl +++ b/templates/profile/jobs.job.tpl @@ -20,131 +20,92 @@ {* *} {**************************************************************************} - - -
- Entreprise n°{$eid+1} +{assign var=jobid value="job_`$i`"} +{assign var=jobpref value="job[`$i`]"} + + + - {include file=include/flags.radio.tpl name="pubpro[$i]" val=$pubpro.$i} - - + + - {include file=include/flags.radio.tpl name="adr_pubpro[$i]" val=$adr_pubpro.$i} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {include file=include/flags.radio.tpl name="tel_pubpro[$i]" val=$tel_pubpro.$i} - - - - - - - - - - - - - {include file=include/flags.radio.tpl name="email_pubpro[$i]" val=$email_pubpro.$i} - - - - - - - + + + +
+
+ {include file="include/flags.radio.tpl" notable=true display="div" name="`$jobpref`[pub]" value=$job.pub} +
+ Entreprise n°{$i+1} : +
Entreprise ou organisme - - Page Web
Secteur d'activité - + {select_secteur secteur=$job.secteur}
Sous-Secteur d'activité - + {select_ss_secteur secteur=$job.secteur ss_secteur=$job.ss_secteur}
Poste occupé - +
Fonction occupée - + {select_fonction fonction=$job.fonction}
Adresse professionnelle - -
  - -
  - -
Code postal - -
Ville - -
Pays - -
- Région ou département
- (selon pays) -
- -
Téléphone professionnel - -   -
Fax - -
Mobile - -
E-mail - -
Page web - +
+
+
+ {include file="include/flags.radio.tpl" name="`$jobpref`[adr][pub]" val=$job.adr.pub display="div"} +
+
Adresse
+
+ {include file="geoloc/form.address.tpl" name="`$jobpref`[adr]" id="`$jobpref`_adr" adr=$job.adr} +
+
+
+
+ {include file="include/flags.radio.tpl" name="`$jobpref`[tel_pub]" val=$job.tel_pub display="div"} +
+ Téléphone + + + + + + + + + + + + + +
Bureau :
Fax :
Mobile :
+
+
+
+ {include file="include/flags.radio.tpl" name="`$jobpref`[email_pub]" val=$job.mail_pub display="div"} +
+ E-mail : +
-- 2.1.4