Your SlideShare is downloading. ×
0
ftw.tabbedview - Tabbed Views
ftw.tabbedview - Tabbed Views
ftw.tabbedview - Tabbed Views
ftw.tabbedview - Tabbed Views
ftw.tabbedview - Tabbed Views
ftw.tabbedview - Tabbed Views
ftw.tabbedview - Tabbed Views
ftw.tabbedview - Tabbed Views
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

ftw.tabbedview - Tabbed Views

1,587

Published on

Lightning Talk at PloneConf 2012 Arnhem

Lightning Talk at PloneConf 2012 Arnhem

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,587
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
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?

×