{ "info": { "author": "JeanMichel aka toutpt", "author_email": "toutpt@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Plone", "Framework :: Plone :: 4.0", "Framework :: Plone :: 4.1", "Framework :: Plone :: 4.2", "Framework :: Plone :: 4.3", "Framework :: Zope2", "License :: OSI Approved :: GNU General Public License (GPL)", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7" ], "description": "Introduction\n============\n\nThis addon provide the following HTML5 widgets:\n\n* color\n* contenteditable (+wysiwyg)\n* datalist\n* date\n* datetime\n* datetime-local\n* email\n* month\n* number\n* password\n* range\n* search\n* tel\n* time\n* url\n* week\n\nStatus: young\n\nTODO\n====\n\n* less copy/paste where it's possible\n* add tests\n* add support of datalist\n* add contenteditable widget for Text and TextLine\n\nHow to install\n==============\n\nThis addon can be installed has any other addons. please follow official\ndocumentation_. It doesn't provide any profile, so you juste have to add it\nto your zope install.\n\nIf you want to support theses widgets on incapable browser you must consider\nusing polyfill.\n\nSome addons which provide polyfills:\n\n* collective.js.webshims\n\nWidgets review & support\n========================\n\ndatalist\n--------\n\n\ncolor\n-----\n\nUse it with zope.schema.ASCIILine field::\n\n from zope import schema\n from zope import interface\n from z3c.form import form, field\n from collective.z3cform.html5widgets.widget_color import ColorFieldWidget\n class ExampleSchema(interface.Interface):\n color = schema.ASCIILine(title=u\"Color\", required=False)\n class ExampleForm(form.Form):\n fields = field.Fields(ExampleSchema)\n fields['color'].widgetFactory = ColorFieldWidget\n\n\n\ncontenteditable\n---------------\n\nbrowsers supports:\n\n* Chrome: 4.0+\n* Safari: 3.1+\n* Safari mobile: 5.0+\n* Firefox: 3.5+\n* Opera: 9.0+\n* Opera mini/mobile: N/A\n* Internet Explore: 5.5 (sic)\n* Android: 3.0+\n\nExample::\n\n from zope import schema\n from zope import interface\n from z3c.form import form, field\n class ExampleSchema(interface.Interface):\n pass\n class ExampleForm(form.Form):\n fields = field.Fields(ExampleSchema)\n\ndate\n----\n\nExample::\n\n from zope import schema\n from zope import interface\n from z3c.form import form, field\n \n class ExampleSchema(interface.Interface):\n date = schema.Date(title=u\"Date (created)\", required=False)\n \n class ExampleForm(form.Form):\n fields = field.Fields(ExampleSchema)\n\ndatetime\n--------\n\nExample::\n\n from zope import schema\n from zope import interface\n from z3c.form import form, field\n class ExampleSchema(interface.Interface):\n datetime = schema.Datetime(title=u\"Date time (modified)\", required=False)\n class ExampleForm(form.Form):\n fields = field.Fields(ExampleSchema)\n\ndatetime-local\n--------------\n\nExample::\n\n from zope import schema\n from zope import interface\n from z3c.form import form, field\n class ExampleSchema(interface.Interface):\n datetime = schema.Datetime(title=u\"Date time (modified)\", required=False)\n class ExampleForm(form.Form):\n fields = field.Fields(ExampleSchema)\n\nemail\n-----\n\nExample::\n\n from zope import schema\n from zope import interface\n from z3c.form import form, field\n from collective.z3cform.html5widgets.widget_email import EmailFieldWidget\n class ExampleSchema(interface.Interface):\n email = schema.ASCIILine(title=u\"Email\", required=False)\n class ExampleForm(form.Form):\n fields = field.Fields(ExampleSchema)\n fields['email'].widgetFactory = EmailFieldWidget\n\nmonth\n-----\n\nExample::\n\n from zope import schema\n from zope import interface\n from z3c.form import form, field\n from collective.z3cform.html5widgets.widget_month import MonthFieldWidget\n class ExampleSchema(interface.Interface):\n month = schema.Date(title=u\"Month\", required=False)\n class ExampleForm(form.Form):\n fields = field.Fields(ExampleSchema)\n fields['month'].widgetFactory = MonthFieldWidget\n\n\nnumber\n------\n\nExample::\n\n from zope import schema\n from zope import interface\n from z3c.form import form, field\n from collective.z3cform.html5widgets.widget_number import NumberFieldWidget\n class ExampleSchema(interface.Interface):\n number = schema.Int(title=u\"Number\", required=False)\n class ExampleForm(form.Form):\n fields = field.Fields(ExampleSchema)\n fields['number'].widgetFactory = NumberFieldWidget\n\npassword\n--------\n\nExample::\n\n from zope import schema\n from zope import interface\n from z3c.form import form, field\n class ExampleSchema(interface.Interface):\n password = schema.Password(title=u\"Password\", required=False)\n class ExampleForm(form.Form):\n fields = field.Fields(ExampleSchema)\n\nrange\n-----\n\nExample::\n\n from zope import schema\n from zope import interface\n from z3c.form import form, field\n from collective.z3cform.html5widgets.widget_range import RangeFieldWidget\n class ExampleSchema(interface.Interface):\n range = schema.Int(title=u\"Range\", required=False)\n class ExampleForm(form.Form):\n fields = field.Fields(ExampleSchema)\n fields['range'].widgetFactory = RangeFieldWidget\n\nsearch\n------\n\nExample::\n\n from zope import schema\n from zope import interface\n from z3c.form import form, field\n from collective.z3cform.html5widgets.widget_search import SearchFieldWidget\n class ExampleSchema(interface.Interface):\n search = schema.TextLine(title=u\"Search\", required=False)\n class ExampleForm(form.Form):\n fields = field.Fields(ExampleSchema)\n fields['search'].widgetFactory = SearchFieldWidget\n\n\ntel\n---\n\nExample::\n\n from zope import schema\n from zope import interface\n from z3c.form import form, field\n from collective.z3cform.html5widgets.widget_tel import TelFieldWidget\n class ExampleSchema(interface.Interface):\n tel = schema.ASCIILine(title=u\"Telephone\", required=False)\n class ExampleForm(form.Form):\n fields = field.Fields(ExampleSchema)\n fields['tel'].widgetFactory = TelFieldWidget\n\ntime\n----\n\nExample::\n\n from zope import schema\n from zope import interface\n from z3c.form import form, field\n class ExampleSchema(interface.Interface):\n time = schema.Time(title=u\"Time\", required=False)\n class ExampleForm(form.Form):\n fields = field.Fields(ExampleSchema)\n\nurl\n---\n\nExample::\n\n from zope import schema\n from zope import interface\n from z3c.form import form, field\n class ExampleSchema(interface.Interface):\n url = schema.URI(title=u\"URL\", required=False)\n class ExampleForm(form.Form):\n fields = field.Fields(ExampleSchema)\n\nweek\n----\n\nExample::\n\n from zope import schema\n from zope import interface\n from z3c.form import form, field\n from collective.z3cform.html5widgets.widget_week import WeekFieldWidget\n class ExampleSchema(interface.Interface):\n week = schema.Date(title=u\"Week\", required=False)\n class ExampleForm(form.Form):\n fields = field.Fields(ExampleSchema)\n fields['week'].widgetFactory = WeekFieldWidget\n\n\nCredits\n=======\n\nCompanies\n---------\n\n* `Planet Makina Corpus `_\n* `Contact Makina Corpus `_\n\nPeople\n------\n\n- JeanMichel FRANCOIS aka toutpt \n\n.. _documentation: http://plone.org/documentation/kb/installing-add-ons-quick-how-to\n\nChangelog\n=========\n\n0.1 (2013-03-21)\n----------------\n\n- Package created using templer\n [JeanMichel aka toutpt]", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/toutpt/collective.z3cform.html5widgets", "keywords": "plone", "license": "gpl", "maintainer": null, "maintainer_email": null, "name": "collective.z3cform.html5widgets", "package_url": "https://pypi.org/project/collective.z3cform.html5widgets/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/collective.z3cform.html5widgets/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/toutpt/collective.z3cform.html5widgets" }, "release_url": "https://pypi.org/project/collective.z3cform.html5widgets/0.1/", "requires_dist": null, "requires_python": null, "summary": "HTML5 widgets for Plone", "version": "0.1" }, "last_serial": 788291, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "58bed3f7858106394e3a23ca4cd5877e", "sha256": "a319ab5eb09092cd28ed1bae3c75c8bb6d594370244e7492ed969316b746f9cb" }, "downloads": -1, "filename": "collective.z3cform.html5widgets-0.1.zip", "has_sig": false, "md5_digest": "58bed3f7858106394e3a23ca4cd5877e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 50583, "upload_time": "2013-03-21T17:29:25", "url": "https://files.pythonhosted.org/packages/b8/4d/f382a5976ebcfe070ed9c0b94a9e5d3d28c814e7d8141dea8194578f94f5/collective.z3cform.html5widgets-0.1.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "58bed3f7858106394e3a23ca4cd5877e", "sha256": "a319ab5eb09092cd28ed1bae3c75c8bb6d594370244e7492ed969316b746f9cb" }, "downloads": -1, "filename": "collective.z3cform.html5widgets-0.1.zip", "has_sig": false, "md5_digest": "58bed3f7858106394e3a23ca4cd5877e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 50583, "upload_time": "2013-03-21T17:29:25", "url": "https://files.pythonhosted.org/packages/b8/4d/f382a5976ebcfe070ed9c0b94a9e5d3d28c814e7d8141dea8194578f94f5/collective.z3cform.html5widgets-0.1.zip" } ] }