Commit 4a37524b authored by Mohamadou Mbengue's avatar Mohamadou Mbengue

2009-08-19 Mohamadou

* Add check/uncheck checkbox in list view
* Add "Configure icon" in actions box
* Disallow "Export as vCard" in  other modules

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28460 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2c5c8c01
......@@ -132,7 +132,7 @@
<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
......@@ -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" />&nbsp;&nbsp;\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" />&nbsp;<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" />&nbsp;&nbsp;&nbsp;\n
</tal:block>\n
</span>\n
\n
</div>\n
</div>\n
</div>\n
......@@ -217,7 +232,7 @@
i18n:domain="ui" i18n:translate="">Show</a>\n
</div>\n
</tal:block>\n
\t <div name="selection_mui" style="padding-bottom: 5px;">\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
......@@ -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
......
......@@ -140,6 +140,17 @@ XXX: Folder_filter accesses selection directly\n
<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
......
......@@ -118,8 +118,9 @@ XXX: Folder_filter accesses selection directly\n
<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 @@ XXX: Folder_filter accesses selection directly\n
<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">&nbsp;</span>\n
</button>\n
\n
</div>\n
<script>\n
affShortcuts ();\n
......
......@@ -955,13 +955,11 @@ fieldset {\n
#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
......@@ -1052,6 +1050,10 @@ fieldset {\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
text-align: right;\n
float: right\n
......
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
......
45
\ No newline at end of file
52
\ 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