d1b9bda3803766f417a8568355e47d92707a12a1
[myslice.git] / plugins / tabs / __init__.py
1 from unfold.composite import Composite
2
3 class Tabs (Composite):
4     
5     def requirements (self):
6         return { 'js_files'     : ['js/tabs.js', 'js/bootstrap.js'],
7                  'css_files'    : ['css/bootstrap.css', 'css/tabs.css', ] 
8                  }
9
10     def template_file (self):
11         return "tabs.html"
12
13     # see Composite.py for the details of template_env, that exposes global
14     # 'sons' as a list of sons with each a set of a few attributes
15     def json_settings_list (self):
16         return []
17