equal
deleted
inserted
replaced
306 """Toolbar action viewlet""" |
306 """Toolbar action viewlet""" |
307 |
307 |
308 label = TextLine(title="Button label") |
308 label = TextLine(title="Button label") |
309 |
309 |
310 label_css_class = TextLine(title="Label icon CSS class", |
310 label_css_class = TextLine(title="Label icon CSS class", |
311 default='fa fa-plus') |
311 default='fa fa-fw fa-plus') |
312 |
312 |
313 css_class = TextLine(title="Button CSS class", |
313 css_class = TextLine(title="Button CSS class", |
314 default='btn btn-xs btn-success') |
314 default='btn btn-xs btn-success') |
315 |
315 |
316 click_handler = TextLine(title="Button click handler", |
316 click_handler = TextLine(title="Button click handler", |
328 |
328 |
329 class IToolbarMenu(IToolbarAction): |
329 class IToolbarMenu(IToolbarAction): |
330 """Toolbar actions menu""" |
330 """Toolbar actions menu""" |
331 |
331 |
332 label_css_class = TextLine(title="Label icon CSS class", |
332 label_css_class = TextLine(title="Label icon CSS class", |
333 default='fa fa-plus') |
333 default='fa fa-fw fa-plus') |
334 |
334 |
335 css_class = TextLine(title="Button CSS class", |
335 css_class = TextLine(title="Button CSS class", |
336 default='btn btn-xs btn-primary dropdown-toggle') |
336 default='btn btn-xs btn-primary dropdown-toggle') |
337 |
337 |
338 menu_css_class = TextLine(title="Menu CSS class", |
338 menu_css_class = TextLine(title="Menu CSS class", |