Commit 3d63f4a4 authored by Fabien Morin's avatar Fabien Morin

improve top bar :

- display user login in white
- remove the link from the user picure
- change a bit search box style

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26376 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 06b10231
......@@ -439,6 +439,8 @@ body {\n
}\n
\n
#tiologin {\n
font-size:9pt;\n
color:#FFFFFF;\n
float:left;\n
height:100%;\n
line-height:23px;\n
......@@ -448,13 +450,16 @@ body {\n
width:10%;\n
}\n
\n
#tiologin img#user-img{\n
vertical-align: middle;\n
padding: 3px;\n
}\n
\n
#link-login:link, #link-login:active, #link-login:visited {\n
background:transparent url(<dtml-var expr="portal_url()">/tiolive_image/icon-login.png) no-repeat scroll 100% 0pt;\n
color:#FFFFFF;\n
float:left;\n
height:100%;\n
line-height:23px;\n
padding-right:20px;\n
font-size:9pt;\n
font-weight:normal;\n
text-transform:lowercase;\n
......@@ -504,7 +509,8 @@ background:transparent url(<dtml-var expr="portal_url()">/tiolive_image/icon-log
margin: 0;\n
padding: 0;\n
top: 0;\n
\twidth:135px;\t\n
margin-left: 3px;\n
\twidth:132px;\t\n
\theight:19px;\n
\t\n
}\n
......@@ -521,14 +527,6 @@ background:transparent url(<dtml-var expr="portal_url()">/tiolive_image/icon-log
padding: 5px;\n
\n
}\n
\n
#top-bar #tiologin{\n
\n
\tfont-family: Trebuchet, Verdana, Helvetica, Sans;\n
\tcolor:#000;\n
\tfont-size:11pt;\n
\n
}\n
]]></string> </value>
......
......@@ -120,7 +120,9 @@
tal:define="user_name python:here.portal_membership.getAuthenticatedMember().getUserName()"\n
tal:condition="not:here/portal_membership/isAnonymousUser"><a href="#" id="link-login" \n
tal:attributes="href string:${context_url}/logout"\n
i18n:translate="" i18n:domain="ui">Logout</a><tal:block tal:replace="user_name">jp</tal:block></p> \n
i18n:translate="" i18n:domain="ui">Logout</a>\n
<img tal:attributes="src string:${context_url}/tiolive_image/icon-login.png" id=\'user-img\' alt=\'user\' />\n
<tal:block tal:replace="user_name">jp</tal:block></p> \n
<fieldset id="fieldset-tiosearch">\n
<input type="hidden" name="all_languages" value="1" />\n
<input accesskey="4" type="text" size="40" name="field_your_search_text" class="input-text" \n
......
27
\ No newline at end of file
28
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment