1 from unfold.plugin import Plugin
3 class SlaDialog(Plugin):
5 def __init__ (self, query=None, **settings):
6 Plugin.__init__ (self, **settings)
8 self.username = str(settings['username'])
10 def template_file (self):
11 return "sladialog.html"
13 def requirements (self):
24 def json_settings_list (self):
25 # query_uuid will pass self.query results to the javascript
26 # and will be available as "record" in :
27 # on_new_record: function(record)
28 return ['plugin_uuid', 'domid', 'query_uuid', 'username']
30 def export_json_settings (self):