updates for onelab portal demo
[unfold.git] / plugins / tabs / tabs.py
index 0350c26..6da94da 100644 (file)
@@ -3,7 +3,7 @@ from unfold.composite import Composite
 class Tabs (Composite):
     
     def requirements (self):
-        return { 'js_files'     : 'js/bootstrap.js',
+        return { 'js_files'     : ['js/tabs.js', 'js/bootstrap.js'],
                  'css_files'    : ['css/bootstrap.css', 'css/tabs.css', ] 
                  }
 
@@ -12,3 +12,8 @@ class Tabs (Composite):
 
     # see Composite.py for the details of template_env, that exposes global
     # 'sons' as a list of sons with each a set of a few attributes
+    def json_settings_list (self):
+        return []
+
+    def export_json_settings(self):
+        return True