Metadata-Version: 1.1
Name: collective.z3cform.colorpicker
Version: 1.3
Summary: Colorpicker widget for Plone
Home-page: http://www.giorgioborelli.it
Author: Giorgio Borelli
Author-email: giorgio@giorgioborelli.it
License: GPL
Description: .. contents::
        
        Introduction
        ============
        
        collective.z3cform.colorpicker provides two different jQuery based widgets:
        
        - `Farbtastic <http://acko.net/dev/farbtastic>`_, a simple color picker.
        - `jPicker <http://www.digitalmagicpro.com/jPicker/>`_, a jQuery Color Picker Plugin supporting transparency.
        
        
        Requirements
        ============
        
        * plone >= 3.2.1
        * plone.app.z3cform
        
        
        Installation
        ============
        
        This addon can be installed has any other addons, please follow official
        documentation_.
        
        
        Usage
        =====
        
        You can use this widget setting the "widgetFactory" property of a form field:
        ::
        
                from zope import schema
                from z3c.form import form, field
                from collective.z3cform.colorpicker.colorpicker import ColorpickerFieldWidget
                from collective.z3cform.colorpicker.colorpickeralpha import ColorpickerAlphaFieldWidget
        
                class IColorForm(interface.Interface):
                    color = schema.TextLine(title=u"Color",
                                            description=u"",
                                            required=False)
                    alphacolor = schema.TextLine(title=u"Color with alpha layer support",
                                                 description=u"",
                                                 required=False)
        
                class Color(object):
                    color = '#ff0000'
                    alphacolor = 'ff0000cc'
        
                    def __init__(self, context):
                        self.context = context
        
                class ColorForm(form.Form):
                    fields = field.Fields(IColorForm)
                    fields['color'].widgetFactory = ColorpickerFieldWidget
                    fields['alphacolor'].widgetFactory = ColorpickerAlphaFieldWidget
        
                    ...
        
        
        for more information see demo directory in the package sources.
        
        
        .. _documentation: http://plone.org/documentation/kb/installing-add-ons-quick-how-to
        
        Contributors
        ============
        
        * Giorgio Borelli - gborelli, Original Author
        * Silvio Tomatis - silviot
        
        Changelog
        =========
        
        1.3 (2015-10-05)
        ----------------
        
        - Remove from jpicker js file the bad chars from the begining
          [bloodbare]
        
        - Renamed txt files to rst, without symlinks.  Symlinks can give
          installation problems, due to either the symlink or the original
          file missing from the distribution or being empty, because the link
          can end up the wrong way around.  Fixes issue #1.
          [maurits]
        
        
        1.2 (2015-05-02)
        ----------------
        
        - Updated classifiers list for package [macagua]
        - Added Spanish translation [macagua]
        
        
        1.1 (2013-06-02)
        ----------------
        
        - fix MANIFEST.in
          [gborelli]
        
        
        1.0 (2013-06-02)
        ----------------
        
        - add z3cform_colorpicker.js to initialize JPicker widget
          [gborelli]
        
        - add internationalization support
          [gborelli]
        
        - add css and javascript to Plone registry in order to make html valid
          [gborelli]
        
        - add profile to install colorpicker package
          [gborelli]
        
        - change some jpicker styles
          [gborelli]
        
        - update jpicker to v1.1.6
          [gborelli]
        
        - egg layout refactoring
          [gborelli]
        
        - change Browser import from Testing.testbrowser
          [gborelli]
        
        
        0.2 (2010-10-31)
        ----------------
        
        - include jPicker widget for alpha transparency support
          [gborelli]
        
        0.1 (2009-06-19)
        ----------------
        
        * Initial release
        
        
Keywords: plone z3cform colorpicker widget
Platform: UNKNOWN
Classifier: Environment :: Web Environment
Classifier: Framework :: Plone
Classifier: Framework :: Plone :: 4.2
Classifier: Framework :: Plone :: 4.3
Classifier: Intended Audience :: End Users/Desktop
Classifier: License :: OSI Approved :: GNU General Public License v2 (GPLv2)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Topic :: Internet
Classifier: Topic :: Software Development :: Libraries :: Python Modules
