Commit 3072acc8 authored by Gabriel Monnerat's avatar Gabriel Monnerat

- improve css

- add page template to display available languages

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@45111 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 23198362
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_bind_names</string> </key>
<value>
<object>
<klass>
<global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>_asgns</string> </key>
<value>
<dictionary>
<item>
<key> <string>name_subpath</string> </key>
<value> <string>traverse_subpath</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>_text</string> </key>
<value> <unicode encoding="cdata"><![CDATA[
<tal:block tal:define="current_language python: here.getAvailableLanguage()">\n
<div id="select_language">\n
<li>\n
<span id="available_language" tal:content="python: current_language">Current Language</span>\n
<img src="http://localhost:18081/erp5/web_site_module/ung/ung_images/arrow.png">\n
<ul>\n
<tal:block tal:repeat="language python: filter(lambda x: x != current_language, here.Localizer.get_supported_languages())">\n
<li><span onClick="changeLanguage(this.innerHTML)" tal:content="language">Language</span></li>\n
</tal:block>\n
</ul>\n
</li>\n
</div>\n
</tal:block>
]]></unicode> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>text/html</string> </value>
</item>
<item>
<key> <string>expand</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>WebSection_viewLanguageList</string> </value>
</item>
<item>
<key> <string>output_encoding</string> </key>
<value> <string>utf-8</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <unicode></unicode> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
...@@ -447,12 +447,14 @@ div.toolbar button, div.gadget-action input#upload {\n ...@@ -447,12 +447,14 @@ div.toolbar button, div.gadget-action input#upload {\n
}\n }\n
\n \n
.menu_create_object {\n .menu_create_object {\n
color:#8e8e8e;\n
margin-top:-5px;\n
}\n
.menu_create_object, div#select_language {\n
font-family: arial,sans-serif;\n font-family: arial,sans-serif;\n
font-size:14px;\n font-size:14px;\n
color:#8e8e8e;\n
list-style:none outside none;\n list-style:none outside none;\n
white-space:nowrap;\n white-space:nowrap;\n
margin-top:-5px;\n
}\n }\n
.menu_create_object img {\n .menu_create_object img {\n
border:0px; \n border:0px; \n
...@@ -470,13 +472,19 @@ div.toolbar button, div.gadget-action input#upload {\n ...@@ -470,13 +472,19 @@ div.toolbar button, div.gadget-action input#upload {\n
-moz-border-radius: 4px;\n -moz-border-radius: 4px;\n
}\n }\n
\n \n
.menu_create_object ul {\n .menu_create_object ul, div#select_language ul {\n
height:43px;\n
list-style:none;\n list-style:none;\n
margin:0;\n margin:0;\n
padding:0;\n padding:0;\n
}\n }\n
\n \n
span#available_language {\n
text-decoration: underline;\n
}\n
div#select_language li span {\n
text-color: #20C;\n
cursor: pointer;\n
}\n
.menu_create_object li {\n .menu_create_object li {\n
float:left;\n float:left;\n
margin-left: 0.5em;\n margin-left: 0.5em;\n
...@@ -485,21 +493,21 @@ div.toolbar button, div.gadget-action input#upload {\n ...@@ -485,21 +493,21 @@ div.toolbar button, div.gadget-action input#upload {\n
text-decoration:none;\n text-decoration:none;\n
}\n }\n
\n \n
.menu_create_object li a {\n .menu_create_object li a, div#select_language li a {\n
display:block;\n display:block;\n
text-decoration:none;\n text-decoration:none;\n
}\n }\n
\n \n
.menu_create_object li a:hover {\n .menu_create_object li a:hover, div#select_language li a:hover {\n
color:#000000;\n color:#000000;\n
text-decoration:none;\n text-decoration:none;\n
}\n }\n
\n \n
.menu_create_object li:hover ul {\n .menu_create_object li:hover ul, div#select_language li:hover ul {\n
display:block;\n display:block;\n
}\n }\n
\n \n
.menu_create_object li li {\n .menu_create_object li li, div#select_language li li {\n
display:block;\n display:block;\n
float:none;\n float:none;\n
margin-left:0;\n margin-left:0;\n
...@@ -509,19 +517,30 @@ div.toolbar button, div.gadget-action input#upload {\n ...@@ -509,19 +517,30 @@ div.toolbar button, div.gadget-action input#upload {\n
clear:left;\n clear:left;\n
}\n }\n
\n \n
div#select_language li ul {\n
width:70px;\n
}\n
\n
div#select_language li ul {\n
border-bottom: 1px solid #C9D7F1;\n
border-left: 1px solid #C9D7F1;\n
border-right: 1px solid #C9D7F1;\n
}\n
\n
.menu_create_object li ul {\n .menu_create_object li ul {\n
border:1px solid #D1D1D1;\n
}\n
.menu_create_object li ul, div#select_language li ul {\n
display:none;\n display:none;\n
height:auto;\n height:auto;\n
filter:alpha(opacity=95);\n filter:alpha(opacity=95);\n
position:absolute;\n position:absolute;\n
z-index:200;\n z-index:200;\n
border:1px solid #D1D1D1;\n height: 75px;\n
background:none repeat scroll 0 0 #FFFFFF;\n background:none repeat scroll 0 0 #FFFFFF;\n
height:84px;\n
width:131px;\n
}\n }\n
\n \n
.menu_create_object li ul a {\n .menu_create_object li ul a, div#select_language li ul a {\n
display:block;\n display:block;\n
font-size:14px;\n font-size:14px;\n
font-style:normal;\n font-style:normal;\n
...@@ -540,7 +559,7 @@ div.gadget-column input#upload {\n ...@@ -540,7 +559,7 @@ div.gadget-column input#upload {\n
top:0.5em;\n top:0.5em;\n
}\n }\n
\n \n
.menu_create_object li li:hover {\n .menu_create_object li li:hover, div#select_language li li:hover {\n
background-color: #DAE6F6;\n background-color: #DAE6F6;\n
}\n }\n
\n \n
......
333 334
\ No newline at end of file \ 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