1 from unfold.composite import Composite
2 from unfold.plugin import Plugin
4 class Wizard(Composite):
6 def __init__(self, *args, **kwargs):
7 Composite.__init__(self, *args, **kwargs)
8 self.validate_step_js = []
10 def export_json_settings(self):
11 # We need initialization, even though we are not associated with a query
14 def requirements (self):
15 #return { 'js_files' : ['js/wizard.js', 'js/jquery.smartWizard-2.0.min.js', ],
16 return { 'js_files' : ['js/wizard.js', 'js/jquery.smartWizard-2.0.js', ],
17 'css_files' : ['css/wizard.css', 'css/smart_wizard.css', ]
20 def template_file (self):
23 # the list of things passed to the js plugin
24 def json_settings_list (self): return ['plugin_uuid', 'start_step']