Skip to main content

ZTFY skin utility package, including views, forms and viewlets base classes

Project description

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.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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ztfy.skin-0.4.5.tar.gz (85.3 kB view hashes)

Uploaded Source

Built Distribution

ztfy.skin-0.4.5-py2.7.egg (153.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page