How to install ztfy.skin
- Download and install ActivePython
- Buy and install the Business Edition license from account.activestate.com
- Open Command Prompt
- Type
pypm install ztfy.skin
Dependencies
- distribute
- fanstatic
- jquery.layer
- z3c.form
- z3c.formjs
- z3c.formui
- z3c.json
- z3c.jsonrpc
- z3c.language.switch
- z3c.layer.pagelet
- z3c.menu.simple
- z3c.table
- z3c.template
- zope.app.renderer
- zope.authentication
- zope.browserpage
- zope.browserresource
- zope.component
- zope.container
- zope.contentprovider
- zope.dublincore
- zope.event
- zope.i18n
- zope.i18nmessageid
- zope.interface
- zope.intid
- zope.lifecycleevent
- zope.publisher
- zope.schema
- zope.security
- zope.traversing
- zope.viewlet
- ztfy.jqueryui>=0.7.0
- ztfy.utils>=0.4.0
- [test] zope.testing
Contents
- What is ztfy.skin ?
- How to use ztfy.skin ?
- Changelog
- 0.5.21
- 0.5.20
- 0.5.19
- 0.5.18
- 0.5.17
- 0.5.16
- 0.5.15
- 0.5.14
- 0.5.13
- 0.5.12
- 0.5.11
- 0.5.10
- 0.5.9
- 0.5.8
- 0.5.7
- 0.5.6
- 0.5.5
- 0.5.4
- 0.5.3
- 0.5.2
- 0.5.1
- 0.5.0
- 0.4.10
- 0.4.9
- 0.4.8
- 0.4.7
- 0.4.6
- 0.4.5
- 0.4.4
- 0.4.3
- 0.4.2
- 0.4.1
- 0.4.0
- 0.3.6
- 0.3.5
- 0.3.4
- 0.3.3
- 0.3.2
- 0.3.1
- 0.3.0
- 0.2.9
- 0.2.8
- 0.2.7
- 0.2.6
- 0.2.5
- 0.2.4
- 0.2.3
- 0.2.2
- 0.2.1
- 0.2
- 0.1.3
- 0.1.2
- 0.1.1
- 0.1
What is ztfy.skin ?
ztfy.skin is a set of base classes used by many ZTFY packages.
- Currently available classes include:
- ZTFY layer and skin
- add and edit forms, including AJAX dialogs
- date and datetime widgets
- viewlet manager
- menu and menu items
- Most of ZTFY.skin base classes are based on z3c.* packages classes, including:
- z3c.form, z3c.formjs and z3c.formui
- z3c.template
- z3c.menu
- z3c.layer.pagelet
How to use ztfy.skin ?
ztfy.skin usage is described via doctests in ztfy/skin/doctests/README.txt
Changelog
0.5.21
- added AJAX start/stop functions callbacks
0.5.20
- added option on TextLineList input widget to disable action of backspace key
0.5.19
- changed help and warning messages colors
0.5.18
- small CSS updates
0.5.17
- added "nochange_output" and "changes_output" on add and edit dialog forms
- added "with_self" argument to "getForms()" method
- updated CSS and javascript code to handle JQuery multiselect widgets position inside dialogs containing an overflow
0.5.16
- added option to use a checkbox as a group switcher instead of only "+" sign
- added "small" buttons style
0.5.15
- include legend height in viewspace height compute
- add form data attribute to disable check of "submitted" flag
0.5.14
- status message style update
- updated AJAX errors display code
0.5.13
- corrected display of TextLineList default value
- changed place of dialog status message
- define relative CSS position for widgets container
- use better generic method to calculate max height of dialogs view space
- add generic class on actions container
- added new FormObjectCreatedEvent to be fired after object creation is finished in add forms
0.5.12
- corrected date and datetime widgets pattern conversion between Python and Javascript
0.5.11
- corrected JQuery-datetime resources download for english language
0.5.10
- add form attribute to display hints on input widgets
- small changes in JQuery multiselect plug-in search arguments management
0.5.9
- add HTTP header cache control directive in dialog views to disable IE cache
- check result format in AJAX forms callbacks to automatically convert string results to JSON (required for IE)
- don't show required fields markers on widgets in display mode
0.5.8
- add check againt missing attribute in callback function used in JQuery-multiselect plug-in
- removed attribute in TextLineList input widget which prevented user to enter several values
- updated locales
0.5.7
- set response status to 401 on login form
- added custom layout for login form
- exclude hidden input fields when creating info tips
- add new IDialogTitle interface so that any editor dialog can define it's own title via an optional adapter
- added base container view class which doesn't force back-office skin
0.5.6
- corrected javascript test in form submit callbacks
- new CSS classes
0.5.5
- small correction in TextLineList widget template
0.5.4
- modified and extended fancybox data API
- updated CSS styles
- added support for submit callbacks on each widget
- removed tests relative to IE browser
- allow HTML code in widgets hints
- added base ISkinnable interface and traverser for contents managing custom skins
- moved several skin-related classes and interfaces from ZTFY.blog package
0.5.3
- re-define package resources
- add new "$.ZTFY.getScript()" function which can use browser cache
- use browser cache when loading translations scripts
- add control for AJAX submit callbacks returning null values without error message
- added checks for missing JQuery plug-ins
0.5.2
- add custom tables batch provider
0.5.1
- allow several plug-ins in a single HTML element, separated by spaces
- correction in getCSSClass() method of InnerContainerBaseView
0.5.0
- initialize new data API
- make all widgets compatible with data API and javascript code movable to page bottom
- move custom widgets from ZTFY.utils package
0.4.10
- add attributes to ISubFormViewlet to make them switchable
- update JQuery selectors for version 1.7+
- update scroll markers position when an Ajax form generates a new status message
- include dialog's help to compute maximum viewspace height
- changes in $.ZTFY.form.initHints() function
- include sub-forms and tab-forms in main form view space
- small style changes on legends
0.4.9
- remove relative position on viewspace to enable JQuery-multiselect plug-in to work correctly inside dialogs
0.4.8
- added indicator to viewspace dialog when a scrollbar is required to show that hidden input fields are available
- move login form from ZTFY.zmi package
- include hints initialization code in javascript function
- small changes in error and status messages style
0.4.7
- small change on batch links style
- changed hints style
0.4.6
- changed style of container batch links
- changed style of forms tabs
0.4.5
- small dialogs overlay CSS update
- correction in ++back++ namespace traverser
0.4.4
- use generic marker interface and ++back++ namespace to identify contents with custom back-office properties
0.4.3
- changed viewlets template layer to make them easily reusable
0.4.2
- added optional 'message' attribute in AJAX edit and add forms output
- added 'status_class' forms attribute to get status message class
- corrected edit form errors handling call
- better handling of custom back-office properties in main layout
- enhanced title viewlet
- make dialogs draggable and adapt their inner size to window height
0.4.1
- corrected small syntax error in containers template
0.4.0
- big CSS and small templates updates to create a new back-office skin
- use viewlets managers to handle forms and widgets prefix and suffix
- added hints on forms fields
0.3.6
- use 'BASE' header if available instead of window.location.href to get AJAX calls target
- add callback argument to "$.ZTFY.dialog.open()" to handle opening errors
0.3.5
- corrected URL replace function with regexp
- added located boolean terms
0.3.4
- add class container.InnerContainerBaseView as base class used to handle tables displayed inside another view
- add interface and viewlet manager to handle custom actions viewlets
- add attribute for empty message and change default legend location
- add sub-form fieldset CSS class support
- add condition on submit buttons to display them only when dialog is in input mode and at least one widget is also in input mode
- added "data" parameter in AJAX add and edit dialog functions
- added high batch size in ordered container
- added "indexOf" method to Array prototype if missing (IE)
- added widgets prefix and suffix support in sub-forms
- added widgets groups support in main forms, which can be used to group widgets with common fieldset and legend
- added custom display widgets for text and textarea fields
- corrected changes management in EditForm subforms handling custom update method
- corrected translation of forms help message
- changed forms templates prefix and suffix management
- initialize support for viewlets-based sub-forms
- small changes in JQuery dialogs management
- small CSS updates
- removed macros-based form template
0.3.3
- add slots for forms prefix and suffix
- define default template and layout for templates based pages
- add interface and viewlet manager to handle custom actions viewlets
- add attribute for empty containers message and change default legend location
0.3.2
- changed package source layout
0.3.1
- upgrade dialog overlay effect to match release 1.2.4 of JQuery-Tools
0.3.0
- large refactoring to include many "generic" functions (forms, dialogs, javascript code...) extracted from ztfy.blog package back-office
- changed display of forms status
- small changes on display forms
- small CSS updates
0.2.9
- changed display forms template
- added fixed width textarea display widget
0.2.8
- added "autocomplete" attribute on forms
- changed template of password widget
0.2.7
- added default favicon
0.2.6
- add missing IDialog and IButtonForm interfaces on DialogDisplayForm class
- add possible prefix and suffix in dialogs views
- modify DialogDisplayForm to handle actions
0.2.5
- reset default form's progress bar update interval to default (1000 ms) ; previous one was setup for testing and debugging...
- switch from $.getJSON() in $.ajax() in progress frame to handle errors correctly
0.2.4
- integration of JQuery's progress bar plug-in in upload forms ; this plug-in is based on Apache2's upload progress module but forms still function without it. More info : https://github.com/drogus/apache-upload-progress-module/
- added check if forms submit code to prevent several posts on double click
- small upgrades on CSS and HTML stylings
0.2.3
- modified #tabforms CSS style
- added small javascript resource
0.2.2
- switch from zc.resourcelibrary to fanstatic
0.2.1
- removed "zope.app" packages dependencies
0.2
- switched to ZTK-1.1.2
- removed tooltips in forms and dialogs
- major changes in sub-forms handling
- remove macros from z3c.template based form template
0.1.3
- added 'ContentProviderBase' base class for template based content providers
0.1.2
- added 'visible' attribute on IBreadcrumbInfo interface
0.1.1
- added MANIFEST.in for source package construction
- override form.addForm method to be able to translate buttons label
0.1
- Initial release