Little helpers
Project description
Information
Small helpers for daily usage.
For HTML
Click a link with this class and you will get a confirm message
> class=”confirm-general”
Click a link with this class and you will get a confirm message for deleting a content element
> class=”confirm-delete”
Prevent the default click event. Usefull for dummy anker.
> <a class=”no-click”
A overlay will appear. The link is the target
> <a class=”custom-overlay-ajax”
Roles / Permissions
“Is Site Administrator” a permission wich only belongs to Site Administrator
Bootstrap
If you install this package, there is a complete set of bootstrap 2.3.2 and Font Awesome included. Some css of plone will be disabled.
Some Templates are optimized to show them in bootstrap style
Status message
A simple statusmessage to display an informaton for the user. ‘success’ is the bootstrap style type Alle in bootstrap defined alert types are avaliable.
> $.status_message(‘Hello world’,’success’);
Toolbar
Move toolbar to the top of your template.
<div class="plone-toolbar clearfix" tal:condition="context/@@plone/showEditableBorder"> <tal:block tal:replace="structure provider:plone.contentviews"/> </div>
Copyrights and licenses
Bootstrap
Copyright 2012 Twitter, Inc.
Licensed under the Apache License v2.0.
See DOCS-LICENSE, LICENSE, LICENSE-MIT for bootstrap license
We changed the font path in the css files for a clean plone integration.
Font Awesome is licensed under GPL see http://fontawesome.io/license/ for additional information.
- Font Awesome
Font licensed under the SIL Open Font License.
CSS, LESS, and SASS files licensed under the MIT License.
Pictograms licensed under the CC BY 3.0 License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for tomcom.plone.base-4.3.0.14.2.zip
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b5ababda4a5d98ced801e96861c88371f8ffbe98b5e0c7bc18c1d1c01ede9ca |
|
MD5 | d22ca17ecc812080d6f958cd405d8642 |
|
BLAKE2b-256 | 63f2c95337b9cc5f511f8373749bd86b8733a671ebbc5c328aa26549f6824b8b |