1 from unfold.plugin import Plugin
3 class QueryCode (Plugin):
5 def __init__ (self, query, **settings):
6 Plugin.__init__ (self, **settings)
9 def template_file (self):
10 return "querycode.html"
12 def requirements (self):
16 "js/manifold.js", "js/manifold-query.js",
17 "js/spin-presets.js", "js/spin.min.js", "js/jquery.spin.js",
18 "js/shAutoloader.js","js/shCore.js","js/shBrushPython.js","js/shBrushRuby.js",
20 # thierry: see this file for details of why we turn this off for now
23 "css/shCore.css","css/shCoreDefault.css","css/shThemeDefault.css",
27 def json_settings_list (self): return ['plugin_uuid','query_uuid']