1 from engine.plugin import Plugin
3 class QuickFilter (Plugin) :
5 def __init__ (self, list=[], with_datatables=False, **settings):
6 Plugin.__init__ (self, **settings)
8 self.with_datatables = with_datatables
9 self.page.expose_js_metadata()
11 def title (self) : return "Title for Quick "
13 def template_file (self): return "quickfilter.html"
15 def requirements (self):
16 reqs = { 'js_files' : [ "js/quickfilter.js" ],
17 'css_files': [ "css/quickfilter.css" ],
21 def exclude_from_json (self):