From ed6bd7ef43c50546b7ea2133382ce13eb3a72824 Mon Sep 17 00:00:00 2001 From: Kazuhiko Shiozaki <kazuhiko@nexedi.com> Date: Thu, 27 Aug 2009 13:11:28 +0000 Subject: [PATCH] put "*" icon for required labels. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28659 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../mf54_content.css.xml | 5 ++ .../mf54_image/bg_bullet_star.gif.xml | 56 +++++++++++++++++++ bt5/erp5_web_multiflex5_theme/bt/revision | 2 +- 3 files changed, 62 insertions(+), 1 deletion(-) create mode 100644 bt5/erp5_web_multiflex5_theme/SkinTemplateItem/portal_skins/erp5_web_multiflex5_theme/mf54_image/bg_bullet_star.gif.xml diff --git a/bt5/erp5_web_multiflex5_theme/SkinTemplateItem/portal_skins/erp5_web_multiflex5_theme/mf54_content.css.xml b/bt5/erp5_web_multiflex5_theme/SkinTemplateItem/portal_skins/erp5_web_multiflex5_theme/mf54_content.css.xml index 5bfa0c4411..c6450485bc 100644 --- a/bt5/erp5_web_multiflex5_theme/SkinTemplateItem/portal_skins/erp5_web_multiflex5_theme/mf54_content.css.xml +++ b/bt5/erp5_web_multiflex5_theme/SkinTemplateItem/portal_skins/erp5_web_multiflex5_theme/mf54_content.css.xml @@ -538,6 +538,11 @@ fieldset.bottom .field label {\n display:none;\n }\n \n +div.required label {\n + background:url(<tal:block tal:replace="site_url"/>/mf54_image/bg_bullet_star.gif) no-repeat right;\n + width:inherit !important;\n +}\n +\n /* Default Listbox styling\n ** TODO: change colors to have better integration in default erp5 web theme.\n ------------------------------------------------------------------ */\n diff --git a/bt5/erp5_web_multiflex5_theme/SkinTemplateItem/portal_skins/erp5_web_multiflex5_theme/mf54_image/bg_bullet_star.gif.xml b/bt5/erp5_web_multiflex5_theme/SkinTemplateItem/portal_skins/erp5_web_multiflex5_theme/mf54_image/bg_bullet_star.gif.xml new file mode 100644 index 0000000000..ad2817cc68 --- /dev/null +++ b/bt5/erp5_web_multiflex5_theme/SkinTemplateItem/portal_skins/erp5_web_multiflex5_theme/mf54_image/bg_bullet_star.gif.xml @@ -0,0 +1,56 @@ +<?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>_Cacheable__manager_id</string> </key> + <value> <string>http_cache</string> </value> + </item> + <item> + <key> <string>_EtagSupport__etag</string> </key> + <value> <string>ts51378491.2</string> </value> + </item> + <item> + <key> <string>__name__</string> </key> + <value> <string>bg_bullet_star.gif</string> </value> + </item> + <item> + <key> <string>content_type</string> </key> + <value> <string>image/gif</string> </value> + </item> + <item> + <key> <string>data</string> </key> + <value> <string encoding="base64">R0lGODlhCgAKAIABAGZmZv///yH5BAEKAAEALAIAAAAIAAoAAAIUjI8GCQEBEJhpAgQCCCCBBIZi +UAAAOw==</string> </value> + </item> + <item> + <key> <string>height</string> </key> + <value> <int>10</int> </value> + </item> + <item> + <key> <string>precondition</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>size</string> </key> + <value> <int>61</int> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>width</string> </key> + <value> <int>10</int> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_web_multiflex5_theme/bt/revision b/bt5/erp5_web_multiflex5_theme/bt/revision index b9c6c007cc..dd1ec209f3 100644 --- a/bt5/erp5_web_multiflex5_theme/bt/revision +++ b/bt5/erp5_web_multiflex5_theme/bt/revision @@ -1 +1 @@ -131 \ No newline at end of file +132 \ No newline at end of file -- 2.30.9