This release is a pre-release and may not be stable for production use.
visaplan.zope.inputmacros
Generic METAL macros for input fields
This package uses the TAL / METAL XML-based template language introduced by Zope to provide simple input fields from Python dictionaries, without any connection to schema data whatsoever.
The fields (or, more precisely: field sets) are created with classes for the Bootstrap grid layout system.
Features
Input elements for Horizontal forms
readonly fields
required fields
labels
Examples
This add-on is currently under development and not yet used on public internet sites.
Documentation
After installing, you may try the view
in your Zope instance; the macros are “self-documenting”.
Note: Currently it helps to understand German; this view is not (yet?) internationalized.
The macros, however, are language-agnostic; the don’t provide any texts by themselves but use what you throw at them.
Installation
If you use the macros in your own Plone add-on, add it to the dependencies, e.g. in the setup.py file:
setup(...,
install_requires=[
...,
'visaplan.zope.inputmacros',
],
...)
Or install visaplan.zope.inputmacros by adding it to your buildout:
[buildout]
...
eggs =
visaplan.zope.inputmacros
and then running bin/buildout
Requirements
You’ll need a language interpreter as well; this will be given in default Zope / Plone installations. We don’t specify this here to allow you to choose your own.
Starting with Plone 5, Chameleon with the z3c.pt compatiblily layer is used; this should work as well.
To make use of the classes applied to the HTML elements, you’ll need Bootstrap 3; you may use
collective.js.bootstrap, perhaps via
Bootstrap 4 might work as well, but we didn’t try (yet).
The use of Bootstrap 3 implies the need for jQuery 1.11.2; with Plone 4, you’d probably use plone.app.jquery 1.11.2+.
Contribute
Issue Tracker: https://github.com/visaplan/zope.inputmacros/issues
Source Code: https://github.com/visaplan/zope.inputmacros
Support
If you are having issues, please let us know; please use the issue tracker mentioned above.
License
The project is licensed under the GPLv2.
Contributors
Tobias Herp, tobias.herp@visaplan.com
Changelog
1.3.0 (unreleased)
Bootstrap 3 version [tobiasherp]
1.0.0 (unreleased)
Bootstrap 2 version
When developed in the first place (and not yet released as a distributable package), the macros had been used with Bootstrap 2. Thus, it would be possible to create a Bootstrap-2-based release; but it is not very likely this to be done.
[tobiasherp]
Metadata
Release files for visaplan.zope.inputmacros 1.3.0.dev2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| visaplan.zope.inputmacros-1.3.0.dev2.tar.gz | 26.1 kB | Without provenance | Details for visaplan.zope.inputmacros-1.3.0.dev2.tar.gz |
Release files / visaplan.zope.inputmacros-1.3.0.dev2.tar.gz
| Download URL | visaplan.zope.inputmacros-1.3.0.dev2.tar.gz |
|---|---|
| Size | 26.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
52381c7c1d3e60a3ef94b06ac1fdc502949f2d66c8526e160eb7fbfd1774b89d
|
|
BLAKE2b-256 checksum How to use checksums |
1d1bd9f3c01025031ef4314ea032f39cb71f74e849563dc04ce97853c7089ead
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.4.2 requests/2.19.0 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/2.7.5
|
Security for visaplan.zope.inputmacros 1.3.0.dev2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.