collective.z3cform.colorpicker


Namecollective.z3cform.colorpicker JSON
Version 3.0.1 PyPI version JSON
download
home_pagehttp://www.giorgioborelli.it
SummaryColorpicker widget for Plone
upload_time2023-10-26 21:24:30
maintainer
docs_urlNone
authorGiorgio Borelli
requires_python
licenseGPL
keywords plone z3cform colorpicker widget
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            .. contents::

Introduction
============

collective.z3cform.colorpicker provides a color picker widget, which uses the Browser native color input.

.. image:: https://raw.githubusercontent.com/collective/collective.z3cform.colorpicker/master/screenshot.png


Requirements
============

* Plone >= 5.0
* plone.app.z3cform

For previous Plone versions use a version collective.z3cform.colorpicker
less than 2.x


Installation
============

Install collective.z3cform.colorpicker by adding it to your buildout::

    [buildout]

    ...

    eggs =
        collective.z3cform.colorpicker


and then running ``bin/buildout``

or installing it via ``pip install collective.z3cform.colorpicker``


Usage
=====

You can use this widget setting the "widgetFactory" property of a form field:
::

        from z3c.form import form, field
        from collective.z3cform.colorpicker import Color

        class IColorForm(interface.Interface):
            color = Color(
                title=u"Color",
                description=u"",
                required=False,
                default="#ff0000"
            )


        class ColorForm(form.Form):
            fields = field.Fields(IColorForm)
            ...

for more information see demo directory in the package sources.

Contributors
============

* Giorgio Borelli - gborelli, Original Author
* Silvio Tomatis - silviot
* Ramon Navarro Bosch - bloodbare
* Maurits van Rees - maurits
* Leonardo J. Caballero G. - macagua

Changelog
=========

3.0.1 (2023-10-26)
------------------

- fix GS breaking because of empty registry.xml file
  [MTango]


3.0.0 (2023-07-24)
------------------

- Move to native input color field, which is supported by all moderns browsers
  [MrTango]

- Plone compatibility
  [MrTango]


2.1.0 (2021-09-17)
------------------

- Python 3 support.  [espen]


2.0 (2017-12-21)
----------------

- Added Color and ColorAlpha fields for colorpicker widgets
  [giorgio]

- Removed JPicker and farbastic javascripts
  [gborelli]

- Added colorpicker patterns based on bootstrap-colorpicker
  [gborelli]

- Added plone5.0 resource registry support
  [gborelli]

- Added Docker configuration for development
  [gborelli]

- Improved demo page - http://<yourplonesite>/@@colorpicker-demo
  [gborelli]


1.4 (2015-11-11)
----------------

- Added Dutch translations.
  [maurits]

- Made the close button translatable.
  Found with ``i18ndude find-untranslated .``.
  [maurits]


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


            

Raw data

            {
    "_id": null,
    "home_page": "http://www.giorgioborelli.it",
    "name": "collective.z3cform.colorpicker",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "plone z3cform colorpicker widget",
    "author": "Giorgio Borelli",
    "author_email": "giorgio@giorgioborelli.it",
    "download_url": "https://files.pythonhosted.org/packages/0a/c5/fe365903dffe1db3e3f407aaf4da10851eb868f9a1ddc0fb882542d927d6/collective.z3cform.colorpicker-3.0.1.tar.gz",
    "platform": null,
    "description": ".. contents::\n\nIntroduction\n============\n\ncollective.z3cform.colorpicker provides a color picker widget, which uses the Browser native color input.\n\n.. image:: https://raw.githubusercontent.com/collective/collective.z3cform.colorpicker/master/screenshot.png\n\n\nRequirements\n============\n\n* Plone >= 5.0\n* plone.app.z3cform\n\nFor previous Plone versions use a version collective.z3cform.colorpicker\nless than 2.x\n\n\nInstallation\n============\n\nInstall collective.z3cform.colorpicker by adding it to your buildout::\n\n    [buildout]\n\n    ...\n\n    eggs =\n        collective.z3cform.colorpicker\n\n\nand then running ``bin/buildout``\n\nor installing it via ``pip install collective.z3cform.colorpicker``\n\n\nUsage\n=====\n\nYou can use this widget setting the \"widgetFactory\" property of a form field:\n::\n\n        from z3c.form import form, field\n        from collective.z3cform.colorpicker import Color\n\n        class IColorForm(interface.Interface):\n            color = Color(\n                title=u\"Color\",\n                description=u\"\",\n                required=False,\n                default=\"#ff0000\"\n            )\n\n\n        class ColorForm(form.Form):\n            fields = field.Fields(IColorForm)\n            ...\n\nfor more information see demo directory in the package sources.\n\nContributors\n============\n\n* Giorgio Borelli - gborelli, Original Author\n* Silvio Tomatis - silviot\n* Ramon Navarro Bosch - bloodbare\n* Maurits van Rees - maurits\n* Leonardo J. Caballero G. - macagua\n\nChangelog\n=========\n\n3.0.1 (2023-10-26)\n------------------\n\n- fix GS breaking because of empty registry.xml file\n  [MTango]\n\n\n3.0.0 (2023-07-24)\n------------------\n\n- Move to native input color field, which is supported by all moderns browsers\n  [MrTango]\n\n- Plone compatibility\n  [MrTango]\n\n\n2.1.0 (2021-09-17)\n------------------\n\n- Python 3 support.  [espen]\n\n\n2.0 (2017-12-21)\n----------------\n\n- Added Color and ColorAlpha fields for colorpicker widgets\n  [giorgio]\n\n- Removed JPicker and farbastic javascripts\n  [gborelli]\n\n- Added colorpicker patterns based on bootstrap-colorpicker\n  [gborelli]\n\n- Added plone5.0 resource registry support\n  [gborelli]\n\n- Added Docker configuration for development\n  [gborelli]\n\n- Improved demo page - http://<yourplonesite>/@@colorpicker-demo\n  [gborelli]\n\n\n1.4 (2015-11-11)\n----------------\n\n- Added Dutch translations.\n  [maurits]\n\n- Made the close button translatable.\n  Found with ``i18ndude find-untranslated .``.\n  [maurits]\n\n\n1.3 (2015-10-05)\n----------------\n\n- Remove from jpicker js file the bad chars from the begining\n  [bloodbare]\n\n- Renamed txt files to rst, without symlinks.  Symlinks can give\n  installation problems, due to either the symlink or the original\n  file missing from the distribution or being empty, because the link\n  can end up the wrong way around.  Fixes issue #1.\n  [maurits]\n\n\n1.2 (2015-05-02)\n----------------\n\n- Updated classifiers list for package [macagua]\n- Added Spanish translation [macagua]\n\n\n1.1 (2013-06-02)\n----------------\n\n- fix MANIFEST.in\n  [gborelli]\n\n\n1.0 (2013-06-02)\n----------------\n\n- add z3cform_colorpicker.js to initialize JPicker widget\n  [gborelli]\n\n- add internationalization support\n  [gborelli]\n\n- add css and javascript to Plone registry in order to make html valid\n  [gborelli]\n\n- add profile to install colorpicker package\n  [gborelli]\n\n- change some jpicker styles\n  [gborelli]\n\n- update jpicker to v1.1.6\n  [gborelli]\n\n- egg layout refactoring\n  [gborelli]\n\n- change Browser import from Testing.testbrowser\n  [gborelli]\n\n\n0.2 (2010-10-31)\n----------------\n\n- include jPicker widget for alpha transparency support\n  [gborelli]\n\n0.1 (2009-06-19)\n----------------\n\n* Initial release\n\n",
    "bugtrack_url": null,
    "license": "GPL",
    "summary": "Colorpicker widget for Plone",
    "version": "3.0.1",
    "project_urls": {
        "Homepage": "http://www.giorgioborelli.it"
    },
    "split_keywords": [
        "plone",
        "z3cform",
        "colorpicker",
        "widget"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d1aab2f88a713536a1067c18d4d8faafc435898929f941c595b36333b3e9dc09",
                "md5": "d86d2f3b263209032657df0e59929037",
                "sha256": "e85dab94684ab616b58fda79ddc5e958b4e8bafedebe997584a4155afa1e7a91"
            },
            "downloads": -1,
            "filename": "collective.z3cform.colorpicker-3.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d86d2f3b263209032657df0e59929037",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 14956,
            "upload_time": "2023-10-26T21:24:28",
            "upload_time_iso_8601": "2023-10-26T21:24:28.596206Z",
            "url": "https://files.pythonhosted.org/packages/d1/aa/b2f88a713536a1067c18d4d8faafc435898929f941c595b36333b3e9dc09/collective.z3cform.colorpicker-3.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0ac5fe365903dffe1db3e3f407aaf4da10851eb868f9a1ddc0fb882542d927d6",
                "md5": "9dfcd8aa86dd79c8477ac27061459d86",
                "sha256": "a3cbcd76b9e1067b8c1b62841fa4744ba63f555430c170b6451f9cbdeaa6c650"
            },
            "downloads": -1,
            "filename": "collective.z3cform.colorpicker-3.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "9dfcd8aa86dd79c8477ac27061459d86",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 16191,
            "upload_time": "2023-10-26T21:24:30",
            "upload_time_iso_8601": "2023-10-26T21:24:30.178332Z",
            "url": "https://files.pythonhosted.org/packages/0a/c5/fe365903dffe1db3e3f407aaf4da10851eb868f9a1ddc0fb882542d927d6/collective.z3cform.colorpicker-3.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-26 21:24:30",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "collective.z3cform.colorpicker"
}
        
Elapsed time: 0.20792s