From: Florent Bruneau Date: Fri, 14 Sep 2007 21:29:46 +0000 (+0200) Subject: Fix some bugs and layout issues on the new profile edition form X-Git-Tag: xorg/0.9.15~164 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=7f4a724e44c0616b2bdd05f28396327b297eefaa;p=platal.git Fix some bugs and layout issues on the new profile edition form Signed-off-by: Florent Bruneau --- diff --git a/htdocs/css/default.css b/htdocs/css/default.css index d4ece44..6e6ba22 100644 --- a/htdocs/css/default.css +++ b/htdocs/css/default.css @@ -86,6 +86,18 @@ p { background: inherit; } +input.error, textarea.error { + background-color: #faa; +} + +input.valid, textarea.valid { + background-color: #afa; +} + +input.warning, textarea.warning { + background-color: #fda; +} + h1 { color: #555555; background: url('../images/skins/default_titre.gif'); diff --git a/htdocs/css/openweb.css b/htdocs/css/openweb.css index 6ae26a9..a1a39e8 100644 --- a/htdocs/css/openweb.css +++ b/htdocs/css/openweb.css @@ -89,6 +89,18 @@ p { background: inherit; } +input.error, textarea.error { + background-color: #faa; +} + +input.valid, textarea.valid { + background-color: #afa; +} + +input.warning, textarea.warning { + background-color: #fda; +} + h1 { color: #369; font-size: 140%; diff --git a/templates/profile/base.tpl b/templates/profile/base.tpl index addb55b..3f57433 100644 --- a/templates/profile/base.tpl +++ b/templates/profile/base.tpl @@ -23,18 +23,20 @@
{icon name=information title="Voir ma fiche"} Tu peux consulter ta fiche telle que la - voient les X, + voient n'importe quel internaute, l'AX ou - n'importe quel internaute. + les X. {include file="include/flags.radio.tpl" notable=true disabled=true name="profile_ex_pub"}
{include file=$profile_page}
-
+
+ {if $current neq count($lookup)-1} + {/if}
diff --git a/templates/profile/general.tpl b/templates/profile/general.tpl index 6c304d2..df5fd30 100644 --- a/templates/profile/general.tpl +++ b/templates/profile/general.tpl @@ -22,8 +22,7 @@ {include file="profile/applis.js.tpl"} -
-
@@ -121,7 +120,7 @@ Post-application - {applis_options selected=$appli2.id}
@@ -137,11 +136,9 @@
-
{if !$no_private_key} -
-
@@ -176,11 +173,9 @@
-
{/if} -
-
@@ -228,9 +223,7 @@
-
-
-
@@ -364,6 +357,5 @@
-
{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}