[Erp5-report] r39720 gabriel - in /experimental/bt5/erp5_web_ung_theme: SkinTemplateItem/po...
nobody at svn.erp5.org
nobody at svn.erp5.org
Sat Oct 30 02:40:58 CEST 2010
Author: gabriel
Date: Sat Oct 30 02:40:56 2010
New Revision: 39720
URL: http://svn.erp5.org?rev=39720&view=rev
Log:
2010-10-29 gabriel
* added dropdown menu to create new documents and css style for it
Modified:
experimental/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/WebSection_viewMenuWidget.xml
experimental/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/ung_theme.css.xml
experimental/bt5/erp5_web_ung_theme/bt/change_log
experimental/bt5/erp5_web_ung_theme/bt/revision
Modified: experimental/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/WebSection_viewMenuWidget.xml
URL: http://svn.erp5.org/experimental/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/WebSection_viewMenuWidget.xml?rev=39720&r1=39719&r2=39720&view=diff
==============================================================================
--- experimental/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/WebSection_viewMenuWidget.xml [utf8] (original)
+++ experimental/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/WebSection_viewMenuWidget.xml [utf8] Sat Oct 30 02:40:56 2010
@@ -38,12 +38,33 @@
<div class="gadget-column">\n
<div class="gadget-action">\n
- <select onchange="submitAction(this.form,\'ERP5Site_createNewWebDocument\')" name="select_action">\n
- <option value="" selected="selected">Create New</option>\n
- <option value="Web Illustration">Web Illustration</option>\n
- <option value="Web Table">Web Table</option>\n
- <option value="Web Page">Web Page</option>\n
- </select>\n
+ <div class="menu_create_object">\n
+ <li><a id="current">Create New</a>\n
+ <ul>\n
+ <tal:block tal:define="portal_path here/absolute_url;\n
+ url_suffix python: \'/ERP5Site_createNewWebDocument?select_action=\'">\n
+ <li>\n
+ <a tal:attributes="href python: portal_path + url_suffix + \'Web Illustration\'">\n
+ <img tal:attributes="src python: portal_path + \'/ung_images/svg.png\'">\n
+ Web Illustration\n
+ </a>\n
+ </li>\n
+ <li>\n
+ <a tal:attributes="href python: portal_path + url_suffix +\'Web Table\'">\n
+ <img tal:attributes="src python: portal_path + \'/ung_images/table.jpg\'">\n
+ Web Table\n
+ </a>\n
+ </li>\n
+ <li>\n
+ <a tal:attributes="href python: portal_path + url_suffix + \'Web Page\'">\n
+ <img tal:attributes="src python: portal_path + \'/ung_images/document.gif\'">\n
+ Web Page\n
+ </a>\n
+ </li>\n
+ </tal:block>\n
+ </ul>\n
+ </li> \n
+ </div>\n
<input type="submit" name="Upload" value="Upload..."/>\n
</div> \n
<div class="file-selection">\n
Modified: experimental/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/ung_theme.css.xml
URL: http://svn.erp5.org/experimental/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/ung_theme.css.xml?rev=39720&r1=39719&r2=39720&view=diff
==============================================================================
--- experimental/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/ung_theme.css.xml [utf8] (original)
+++ experimental/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/ung_theme.css.xml [utf8] Sat Oct 30 02:40:56 2010
@@ -137,8 +137,8 @@ div.gadget-column div.gadget-container {
div.gadget-column div.file-selection {\n
width:100%;\n
background-color:#fff;\n
- margin:5px -4px -4px;\n
padding-right:190px;\n
+ margin:-4px;\n
}\n
\n
div.gadget-column div.file-selection div.file-quick-search {\n
@@ -465,9 +465,106 @@ div.jSheetControls#jSheetControls_0 {\n
div.toolbar button, div.gadget-action input {\n
color: #333333;\n
border: 1px solid #BBBBBB;\n
- background-image: url(\'http://localhost:18081/erp5/ung_images/button_background.png\');\n
+ background-image: url(\'<dtml-var expr="portal_url()">/ung_images/button_background.png\');\n
}\n
-
+\n
+.menu_create_object {\n
+ border:0px;\n
+ margin:0px;\n
+ padding:0px;\n
+ font-family: arial,sans-serif;\n
+ font-size:14px;\n
+ color:#8e8e8e;\n
+ list-style:none outside none;\n
+ white-space:nowrap;\n
+}\n
+.menu_create_object img {\n
+ border:0px; \n
+}\n
+\n
+.menu_create_object li a#current {\n
+ background-image: url(\'<dtml-var expr="portal_url()">/ung_images/button_background.png\');\n
+ width: 78px;\n
+ height: 19px;\n
+ color: #333333;\n
+ text-align:center;\n
+ border:1px solid #BBBBBB;\n
+ padding-left:2px;\n
+ padding-right:4px;\n
+}\n
+.menu_create_object ul {\n
+ height:43px;\n
+ list-style:none;\n
+ margin:0;\n
+ padding:0;\n
+}\n
+\n
+.menu_create_object li {\n
+ float:left;\n
+ margin-left: 0.5em;\n
+ position:relative;\n
+ top: 0.5em;\n
+ text-decoration:none;\n
+}\n
+\n
+.menu_create_object li a {\n
+ display:block;\n
+ text-decoration:none;\n
+}\n
+\n
+.menu_create_object li a:hover {\n
+ color:#000000;\n
+ text-decoration:none;\n
+}\n
+\n
+.menu_create_object li:hover ul {\n
+ display:block;\n
+}\n
+\n
+.menu_create_object li li {\n
+ display:block;\n
+ float:none;\n
+ margin-left:0;\n
+}\n
+\n
+.menu_create_object p {\n
+ clear:left;\n
+}\n
+\n
+.menu_create_object li ul {\n
+ display:none;\n
+ height:auto;\n
+ filter:alpha(opacity=95);\n
+ position:absolute;\n
+ z-index:200;\n
+ border:1px solid #D1D1D1;\n
+ background:none repeat scroll 0 0 #FFFFFF;\n
+ height:76px;\n
+ width:131px;\n
+}\n
+\n
+.menu_create_object li ul a {\n
+ display:block;\n
+ font-size:14px;\n
+ font-style:normal;\n
+ margin-left:4px;\n
+ margin-top:-5px;\n
+ padding:0 21px 0 1px;\n
+ text-align:left;\n
+ color:#002E3F;\n
+ text-decoration:none;\n
+ line-height:28px;\n
+}\n
+\n
+div.gadget-column input {\n
+ left:8em;\n
+ position:relative;\n
+ top:-1.1em;\n
+}\n
+\n
+.menu_create_object li li:hover {\n
+ background-color: #DAE6F6;\n
+}
]]></string> </value>
</item>
Modified: experimental/bt5/erp5_web_ung_theme/bt/change_log
URL: http://svn.erp5.org/experimental/bt5/erp5_web_ung_theme/bt/change_log?rev=39720&r1=39719&r2=39720&view=diff
==============================================================================
--- experimental/bt5/erp5_web_ung_theme/bt/change_log [utf8] (original)
+++ experimental/bt5/erp5_web_ung_theme/bt/change_log [utf8] Sat Oct 30 02:40:56 2010
@@ -1,3 +1,6 @@
+2010-10-29 gabriel
+* added dropdown menu to create new documents and css style for it
+
2010-10-26 gabriel
* Remove not used attributes in ung template and added Jquery to change the content width dynamically
Modified: experimental/bt5/erp5_web_ung_theme/bt/revision
URL: http://svn.erp5.org/experimental/bt5/erp5_web_ung_theme/bt/revision?rev=39720&r1=39719&r2=39720&view=diff
==============================================================================
--- experimental/bt5/erp5_web_ung_theme/bt/revision [utf8] (original)
+++ experimental/bt5/erp5_web_ung_theme/bt/revision [utf8] Sat Oct 30 02:40:56 2010
@@ -1 +1 @@
-60
\ No newline at end of file
+62
\ No newline at end of file
More information about the Erp5-report
mailing list