[Erp5-report] r28460 - in /erp5/trunk/bt5/erp5_mobile: SkinTemplateItem/portal_skins/erp5_m...
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Aug 19 13:18:23 CEST 2009
Author: mohamadou
Date: Wed Aug 19 13:18:23 2009
New Revision: 28460
URL: http://svn.erp5.org?rev=28460&view=rev
Log:
2009-08-19 Mohamadou
* Add check/uncheck checkbox in list view
* Add "Configure icon" in actions box
* Disallow "Export as vCard" in other modules
Modified:
erp5/trunk/bt5/erp5_mobile/SkinTemplateItem/portal_skins/erp5_mobile_ui/ListBox_asHTML.xml
erp5/trunk/bt5/erp5_mobile/SkinTemplateItem/portal_skins/erp5_mobile_ui/context_actions_render.xml
erp5/trunk/bt5/erp5_mobile/SkinTemplateItem/portal_skins/erp5_mobile_ui/context_box_render.xml
erp5/trunk/bt5/erp5_mobile/SkinTemplateItem/portal_skins/erp5_mobile_ui/erp5.css.xml
erp5/trunk/bt5/erp5_mobile/bt/change_log
erp5/trunk/bt5/erp5_mobile/bt/revision
Modified: erp5/trunk/bt5/erp5_mobile/SkinTemplateItem/portal_skins/erp5_mobile_ui/ListBox_asHTML.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_mobile/SkinTemplateItem/portal_skins/erp5_mobile_ui/ListBox_asHTML.xml?rev=28460&r1=28459&r2=28460&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_mobile/SkinTemplateItem/portal_skins/erp5_mobile_ui/ListBox_asHTML.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_mobile/SkinTemplateItem/portal_skins/erp5_mobile_ui/ListBox_asHTML.xml [utf8] Wed Aug 19 13:18:23 2009
@@ -132,10 +132,10 @@
<div class="top_list">\n
<div id="listbox_title_line" tal:attributes="id string:${field_id}_title_line" class="List_top">\n
<!-- <tal:block tal:define="global field_id string:${field_id}" /> -->\n
-\t <span id="listbox_record_number"\n
+ <span id="listbox_record_number"\n
tal:attributes="id string:${field_id}_record_number"\n
i18n:translate="" i18n:domain="ui"><tal:block tal:replace="here/total_size" i18n:name="number">0</tal:block> record(s)</span>\n
- <span id="listbox_item_number"\n
+ <span id="listbox_item_number"\n
tal:attributes="id string:${field_id}_item_number; class string:listbox_item_number"\n
i18n:translate="" i18n:domain="ui"> - <tal:block tal:replace="python: len(here.getCheckedUidList())" i18n:name="number">0</tal:block> item(s) selected</span>\n
<input type="hidden" tal:attributes="id string:${field_id}_listMax; name string:${field_id}_listMax; value python: len(search_value_list)">\n
@@ -173,8 +173,23 @@
src string:${portal_url_string}/images/1rightarrowv.png;\n
class string:listbox_next_page"\n
i18n:domain="ui" i18n:attributes="title" /> \n
+ <br />\n
+ <tal:block tal:condition="python: len(line_list)>0">\n
+ <input id="listbox_check_all" type="image"\n
+ name="checkAll:method" value="1"\n
+ src="checkall.png" alt="Check All" title="Check All"\n
+ class="listbox_check_all"\n
+ tal:attributes="id string:${field_id}_check_all;\n
+ name string:${field_id}_checkAll:method;\n
+ src string:${portal_url_string}/images/checkall.png"\n
+ i18n:domain="ui" i18n:attributes="title" /> <input id="listbox_uncheck_all" type="image" name="uncheckAll:method" value="1"\n
+ src="%(portal_url_string)s/images/decheckall.png" style="border: 0" alt="Uncheck All" title="Uncheck All" class="listbox_uncheck_all"\n
+ tal:attributes="id string:${field_id}_uncheck_all;\n
+ name string:${field_id}_uncheckAll:method;\n
+ src string:${portal_url_string}/images/decheckall.png"\n
+ i18n:domain="ui" i18n:attributes="title" /> \n
+ </tal:block>\n
</span>\n
-\n
</div>\n
</div>\n
</div>\n
@@ -217,10 +232,10 @@
i18n:domain="ui" i18n:translate="">Show</a>\n
</div>\n
</tal:block>\n
-\t <div name="selection_mui" style="padding-bottom: 5px;">\n
-\n
- <select id="select_search_field" onChange="javascript: showSearchSelectedColumn();" name="select_search_field">\n
- <tal:block tal:repeat="valueX search_value_list">\n
+ <div name="selection_mui" style="padding-bottom: 5px;">\n
+\n
+ <select id="select_search_field" onChange="javascript: showSearchSelectedColumn();" name="select_search_field">\n
+ <tal:block tal:repeat="valueX search_value_list">\n
<tal:block tal:define="\n
aliasX python: valueX[0];\n
paramX python: valueX[1];\n
@@ -249,7 +264,7 @@
tal:attributes="name alias; value param; id python: \'%s%s\' % (\'input\', foo)" type="text"/>\n
</span>\n
</div>\n
- </tal:block>\n
+ </tal:block>\t \n
</div>\n
</div>\n
\n
Modified: erp5/trunk/bt5/erp5_mobile/SkinTemplateItem/portal_skins/erp5_mobile_ui/context_actions_render.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_mobile/SkinTemplateItem/portal_skins/erp5_mobile_ui/context_actions_render.xml?rev=28460&r1=28459&r2=28460&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_mobile/SkinTemplateItem/portal_skins/erp5_mobile_ui/context_actions_render.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_mobile/SkinTemplateItem/portal_skins/erp5_mobile_ui/context_actions_render.xml [utf8] Wed Aug 19 13:18:23 2009
@@ -140,6 +140,17 @@
<span class="image"></span>\n
<span class="description" i18n:translate="" i18n:domain="ui">Sort</span>\n
</a>\n
+ <tal:block tal:condition="list_mode">\n
+ <tal:block tal:condition="ui_actions">\n
+ <span class="separator"><!--separator--></span>\n
+ <a class="configure" title="Configure"\n
+ tal:attributes="href python: portal.ERP5Site_renderCustomLink(ui_actions[0][\'url\'], http_parameter_list, dialog_category=\'object_ui\')"\n
+ i18n:attributes="title" i18n:domain="ui">\n
+ <span class="image"></span>\n
+ <span class="description" i18n:translate="" i18n:domain="ui">Configure</span>\n
+ </a>\n
+ </tal:block>\n
+ </tal:block>\n
</tal:block>\n
</span><br />\n
\n
Modified: erp5/trunk/bt5/erp5_mobile/SkinTemplateItem/portal_skins/erp5_mobile_ui/context_box_render.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_mobile/SkinTemplateItem/portal_skins/erp5_mobile_ui/context_box_render.xml?rev=28460&r1=28459&r2=28460&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_mobile/SkinTemplateItem/portal_skins/erp5_mobile_ui/context_box_render.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_mobile/SkinTemplateItem/portal_skins/erp5_mobile_ui/context_box_render.xml [utf8] Wed Aug 19 13:18:23 2009
@@ -118,8 +118,9 @@
<script>\n
loadDivSize();\n
</script>\n
- <div id="shortcuts" class="shortcuts">\n
- <a class="import_export"\n
+ <div id="shortcuts" class="shortcuts" >\n
+ <a tal:condition="python: here.getPortalType() in [\'Person\',]"\n
+ class="import_export"\n
title="Import / Export"\n
tal:attributes="href python:here.ERP5Site_renderLink(\'Person_exportPersonAsvCard\',http_parameters)"\n
i18n:attributes="title" i18n:domain="ui">\n
@@ -127,6 +128,10 @@
<span class="link" i18n:translate="" i18n:domain="ui">Export as vCard</span>\n
</button>\n
</a>\n
+ <button class="button" i18n:translate="" i18n:domain="ui">\n
+ <span class="link" i18n:translate="" i18n:domain="ui"> </span>\n
+ </button>\n
+\n
</div>\n
<script>\n
affShortcuts ();\n
Modified: erp5/trunk/bt5/erp5_mobile/SkinTemplateItem/portal_skins/erp5_mobile_ui/erp5.css.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_mobile/SkinTemplateItem/portal_skins/erp5_mobile_ui/erp5.css.xml?rev=28460&r1=28459&r2=28460&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_mobile/SkinTemplateItem/portal_skins/erp5_mobile_ui/erp5.css.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_mobile/SkinTemplateItem/portal_skins/erp5_mobile_ui/erp5.css.xml [utf8] Wed Aug 19 13:18:23 2009
@@ -955,13 +955,11 @@
#actions button .image{\n
background-image: url(\'<dtml-var expr="portal_url.getPortalObject().absolute_url()">/images/exec16.png\');\n
position: relative;\n
- top: -10px;\n
background-repeat: no-repeat;\n
}\n
#jump button .image {\n
background-image: url(\'<dtml-var expr="portal_url.getPortalObject().absolute_url()">/images/jump.png\');\n
position: relative;\n
- top: -10px;\n
background-repeat: no-repeat;\n
}\n
\n
@@ -1050,6 +1048,10 @@
\n
#context_bar .tool_buttons .sort .image {\n
background-image: url(\'<dtml-var expr="portal_url.getPortalObject().absolute_url()">/images/sort.png\');\n
+}\n
+\n
+#context_bar .tool_buttons .configure .image {\n
+ background-image: url(\'<dtml-var expr="portal_url.getPortalObject().absolute_url()">/images/configure.png\');\n
}\n
\n
#navigation_buttons {\n
Modified: erp5/trunk/bt5/erp5_mobile/bt/change_log
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_mobile/bt/change_log?rev=28460&r1=28459&r2=28460&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_mobile/bt/change_log [utf8] (original)
+++ erp5/trunk/bt5/erp5_mobile/bt/change_log [utf8] Wed Aug 19 13:18:23 2009
@@ -1,3 +1,8 @@
+2009-08-19 Mohamadou
+* Disallow Export as vCard in other modules
+* Add check/uncheck checkbox in list view
+* Add "Configure icon" in actions box
+
2009-03-10 Mohamadou
* In listmode it is now posible to copy/paste/cut/delete/find/filter/show_all/sort or add new element.
* In document view it is possible to clone or add new one
Modified: erp5/trunk/bt5/erp5_mobile/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_mobile/bt/revision?rev=28460&r1=28459&r2=28460&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_mobile/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_mobile/bt/revision [utf8] Wed Aug 19 13:18:23 2009
@@ -1,1 +1,1 @@
-45
+52
More information about the Erp5-report
mailing list