From d20eb58180807d83c629c219b544011a5c2488e9 Mon Sep 17 00:00:00 2001 From: Kazuhiko Shiozaki <kazuhiko@nexedi.com> Date: Mon, 9 Jun 2008 18:48:49 +0000 Subject: [PATCH] 2008-06-09 kazuhiko * add icons for domain tree. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21441 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../erp5_xhtml_style/ListBox_asHTML.xml | 12 ++-- .../erp5_xhtml_style/erp5.css.xml | 10 +++ .../images/tree_closed.png.xml | 61 +++++++++++++++++++ .../erp5_xhtml_style/images/tree_open.png.xml | 61 +++++++++++++++++++ .../bootstrap/erp5_xhtml_style/bt/change_log | 5 +- .../bootstrap/erp5_xhtml_style/bt/revision | 2 +- 6 files changed, 144 insertions(+), 7 deletions(-) create mode 100644 product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/images/tree_closed.png.xml create mode 100644 product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/images/tree_open.png.xml diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asHTML.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asHTML.xml index 458a7fc415..b027f159ec 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asHTML.xml +++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asHTML.xml @@ -107,16 +107,18 @@ total_depth python: max([report_tree.depth for report_tree in report_tree_list] + [-1])">\n <tr tal:repeat="report_tree report_tree_list">\n <tal:block tal:repeat="i python: range(report_tree.depth)">\n - <td width="16" nowrap="nowrap"> </td>\n + <td width="12" nowrap="nowrap"> </td>\n </tal:block>\n \t\t <td colspan="1" style="text-align: left; vertical-align: top; white-space: nowrap;"\n tal:attributes="colspan python: total_depth - report_tree.depth + 1">\n - <a href="method"\n + <a href="method" class="tree_open"\n tal:condition="report_tree/is_open"\n - tal:attributes="href string:foldDomain?domain_url=${report_tree/domain_url}&form_id=${form_id}&list_selection_name=${selection_name}&domain_depth:int=${report_tree/depth}">- <b tal:content="report_tree/obj/getTranslatedTitleOrId">Domain</b></a>\n - <a href="method"\n + tal:attributes="href string:foldDomain?domain_url=${report_tree/domain_url}&form_id=${form_id}&list_selection_name=${selection_name}&domain_depth:int=${report_tree/depth}">\n + <b tal:content="report_tree/obj/getTranslatedTitleOrId">Domain</b></a>\n + <a href="method" class="tree_closed"\n tal:condition="not: report_tree/is_open"\n - tal:attributes="href string:unfoldDomain?domain_url=${report_tree/domain_url}&form_id=${form_id}&list_selection_name=${selection_name}&domain_depth:int=${report_tree/depth}">+ <tal:block tal:content="report_tree/obj/getTranslatedTitleOrId">Domain</tal:block></a>\n + tal:attributes="href string:unfoldDomain?domain_url=${report_tree/domain_url}&form_id=${form_id}&list_selection_name=${selection_name}&domain_depth:int=${report_tree/depth}">\n + <tal:block tal:content="report_tree/obj/getTranslatedTitleOrId">Domain</tal:block></a>\n </td>\n </tr>\n </table>\n diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.css.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.css.xml index 038e16967b..de80dda456 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.css.xml +++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.css.xml @@ -746,6 +746,16 @@ fieldset.bottom .field .input {\n float: None;\n }\n \n +#listbox_domain_tree_table a.tree_open {\n + background: url(\'<dtml-var expr="portal_url()">/images/tree_open.png\') left no-repeat;\n + padding-left:15px;\n +}\n +\n +#listbox_domain_tree_table a.tree_closed {\n + background: url(\'<dtml-var expr="portal_url()">/images/tree_closed.png\') left no-repeat;\n + padding-left:15px;\n +}\n +\n .login .submit {\n margin-left: 15%;\n }\n diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/images/tree_closed.png.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/images/tree_closed.png.xml new file mode 100644 index 0000000000..17382d0b2f --- /dev/null +++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/images/tree_closed.png.xml @@ -0,0 +1,61 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="Image" module="OFS.Image"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_EtagSupport__etag</string> </key> + <value> <string>ts13016785.85</string> </value> + </item> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>__name__</string> </key> + <value> <string>tree_closed.png</string> </value> + </item> + <item> + <key> <string>content_type</string> </key> + <value> <string>image/png</string> </value> + </item> + <item> + <key> <string>data</string> </key> + <value> <string encoding="base64">iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAABGdBTUEAALGPC/xhBQAAAAFzUkdC +AK7OHOkAAAAHdElNRQfYBgkMNyqCVx5OAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAAL +EwEAmpwYAAAAZ0lEQVQY032QsQrAIAxE8+/t99T+SKHZXd1cBBcHSbkDA23RwIPj7k2RM6js22Uz +sFNYHXaXWmtERDz/pFIKgTTyS+q9c/yC3qVaq8UYCcaR0buUczZVJZBGRu9SSmkKpXDcyz9hfwBS +5fiIcbWqXQAAAABJRU5ErkJggg==</string> </value> + </item> + <item> + <key> <string>height</string> </key> + <value> <int>9</int> </value> + </item> + <item> + <key> <string>precondition</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>size</string> </key> + <value> <int>247</int> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>width</string> </key> + <value> <int>9</int> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/images/tree_open.png.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/images/tree_open.png.xml new file mode 100644 index 0000000000..5091704dd7 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/images/tree_open.png.xml @@ -0,0 +1,61 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="Image" module="OFS.Image"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_EtagSupport__etag</string> </key> + <value> <string>ts13016803.87</string> </value> + </item> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>__name__</string> </key> + <value> <string>tree_open.png</string> </value> + </item> + <item> + <key> <string>content_type</string> </key> + <value> <string>image/png</string> </value> + </item> + <item> + <key> <string>data</string> </key> + <value> <string encoding="base64">iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAABGdBTUEAALGPC/xhBQAAAAFzUkdC +AK7OHOkAAAAHdElNRQfYBgkMNxqkji7iAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAAL +EwEAmpwYAAAAXElEQVQY032QMQrAMAhFvXt7nqYXKdTd1c1FyJJBLGYQiiTCW/57k3A3hPN4fEX4 +GewufEZjjEKJVLXwi8zMAaAQe0a9dyeiQuwZiYgjYiH2jJh5yYza9W7/FP4DhZwDXKi/gaoAAAAA +SUVORK5CYII=</string> </value> + </item> + <item> + <key> <string>height</string> </key> + <value> <int>9</int> </value> + </item> + <item> + <key> <string>precondition</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>size</string> </key> + <value> <int>236</int> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>width</string> </key> + <value> <int>9</int> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/bt/change_log b/product/ERP5/bootstrap/erp5_xhtml_style/bt/change_log index 78958ba607..474bf13ea2 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/bt/change_log +++ b/product/ERP5/bootstrap/erp5_xhtml_style/bt/change_log @@ -1,3 +1,6 @@ +2008-06-09 kazuhiko +* Add icons for domain tree. + 2008-05-22 yo * Remove "-- Directory --" from Quick Search. @@ -202,4 +205,4 @@ 2006-06-15 Vincent * Initial commit. -* Valid XHTML1.0 Strict + CSS 2.0. \ No newline at end of file +* Valid XHTML1.0 Strict + CSS 2.0. diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision index b1ce634589..55a318f19d 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision +++ b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision @@ -1 +1 @@ -550 \ No newline at end of file +551 \ No newline at end of file -- 2.30.9