X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=plugins%2Fquerycode%2Fquerycode.py;h=b29917d271b07058fe2c6397962161408e96833a;hb=00c607ef9000811b027330152e09b4da8c46ad02;hp=fc5c163ffc233b1232e06fbe755266c7cd6fe2b3;hpb=c6cb049fa23065c0c7442f3c021c92dba43c5658;p=unfold.git diff --git a/plugins/querycode/querycode.py b/plugins/querycode/querycode.py index fc5c163f..b29917d2 100644 --- a/plugins/querycode/querycode.py +++ b/plugins/querycode/querycode.py @@ -1,4 +1,4 @@ -from engine.plugin import Plugin +from unfold.plugin import Plugin class QueryCode (Plugin): @@ -13,22 +13,20 @@ class QueryCode (Plugin): def requirements (self): return { - 'js_files' : [ "js/querycode.js", "js/plugin.js", "js/query.js", "js/onavail.js", - "js/manifold-pubsub.js", "js/manifold-async.js", - "js/spin.presets.js", "js/spin.min.js", "js/jquery.spin.js", - -# Plugins::add_js('/QueryCode/beautyofcode/scripts/shCore.js'); -# Plugins::add_js('/QueryCode/beautyofcode/scripts/shBrushPython.js'); -# Plugins::add_js('/QueryCode/beautyofcode/scripts/shBrushRuby.js'); -# Plugins::add_js('/QueryCode/beautyofcode/scripts/shAutoloader.js'); - ] , - 'css_files': [ "css/querycode.css" , -# Plugins::add_css('/QueryCode/beautyofcode/styles/shCore.css'); -# Plugins::add_css('/QueryCode/beautyofcode/styles/shCoreDefault.css'); -# Plugins::add_css('/QueryCode/beautyofcode/styles/shThemeDefault.css'); - ], + 'js_files' : [ + "js/querycode.js", + "js/manifold.js", "js/manifold-query.js", + "js/spin.presets.js", "js/spin.min.js", "js/jquery.spin.js", + "js/shAutoloader.js","js/shCore.js","js/shBrushPython.js","js/shBrushRuby.js", + ] , +# thierry: see this file for details of why we turn this off for now + 'css_files': [ + "css/querycode.css" , + "css/shCore.css","css/shCoreDefault.css","css/shThemeDefault.css", + ], } - def json_settings_list (self): return ['plugin_uuid', 'query','query_uuid'] + def json_settings_list (self): return ['plugin_uuid','query_uuid'] + # because we have a link to a query it looks like we need a spin, let's make this right def start_with_spin (self): return False