Changes between Version 7 and Version 8 of S3/S3HierarchyWidget


Ignore:
Timestamp:
08/22/14 10:49:56 (7 years ago)
Author:
Dominic König
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • S3/S3HierarchyWidget

    v7 v8  
    2525
    2626'''s3.hierarchicalopts''' (in static/scripts/S3/s3.jquery.ui.hierarchicalopts.js) is a JQuery UI widget that implements the drop-down button, the folder-tree style appearance of the menu and all interactions with the hierarchical selector.
    27 == CSS Classes ==
     27== Styling ==
    2828
    29   - ''tbw''
     29The hierarchy widget consists of two parts: the button and the hierarchical menu.
     30
     31The style of the button is controlled by the global jQuery UI theme (ui-widget and related CSS classes).
     32
     33The hierarchical menu has its own CSS theme, the default theme is located in static/styles/jstree/default. Custom themes can be derived from this, and then configured via a deployment setting:
     34
     35{{{#!python
     36# Set a theme relative to the static/styles/jstree folder
     37settings.ui.hierarchy_theme = "default"
     38}}}
     39
     40To hold the hierarchy theme e.g. in a template, specify a pathname relative to the application folder instead:
     41
     42{{{#!python
     43# Set a theme relative to the application folder
     44settings.ui.hierarchy_theme = "private/templates/TEMPLATE/theme/hierarchy"
     45}}}
    3046
    3147== See Also ==