ftw.tabbedview - Tabbed Views
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share

ftw.tabbedview - Tabbed Views

  • 1,738 views
Uploaded on

Lightning Talk at PloneConf 2012 Arnhem

Lightning Talk at PloneConf 2012 Arnhem

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
1,738
On Slideshare
1,738
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
0
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Who am I?Lukas Graf4teamworkBern, Switzerlandhttps://github.com/4teamwork
  • 2. ftw.tabbedviewDisplays sub views in a set of tabs.
  • 3. ftw.tabbedview● http://github.com/4teamwork/ftw.tabbedview● Source on GitHub, Released on PyPiIntegrates:● collective.js.extjs● collective.quickupload● ftw.table
  • 4. Features● Filtering● Sorting● Grouping● Managing columns● Batching● Flexible sources (Catalog/SQLAlchemy/...)● Data transformations (Icon/Author/Dates/...)● Highly configurable
  • 5. Demo
  • 6. Code Example: Tabbed Viewclass WorkspacesView(TabbedView): """Tabbed workspaces overview""" def get_tabs(self): return [{id:workspaces}, {id:documents}, {id:events}, {id:sharing},]
  • 7. class DocumentsTab(Tab): types = [File, ] sort_on = effective sort_reverse = True columns = ( {column: getIcon, sort_index: getContentType, column_title:Type, transform: workspace_helper.icon}, {column: Title, sort_index: sortable_title, transform: helper.link(icon=False, tooltip=True)}, ...
  • 8. Questions?