bye bye resources_selected, welcome queryupdater
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Tue, 12 Nov 2013 16:03:41 +0000 (17:03 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Tue, 12 Nov 2013 16:03:41 +0000 (17:03 +0100)
plugins/queryupdater/__init__.py [moved from plugins/resources_selected/__init__.py with 93% similarity]
plugins/queryupdater/static/css/queryupdater.css [moved from plugins/resources_selected/static/css/resources_selected.css with 94% similarity]
plugins/queryupdater/static/js/queryupdater.js [moved from plugins/resources_selected/static/js/resources_selected.js with 99% similarity]
plugins/queryupdater/templates/queryupdater.html [moved from plugins/resources_selected/templates/resources_selected.html with 100% similarity]
portal/sliceview.py
unfold/static/css/onelab_marko.css

similarity index 93%
rename from plugins/resources_selected/__init__.py
rename to plugins/queryupdater/__init__.py
index a5bbac7..9b347d3 100644 (file)
@@ -1,6 +1,6 @@
 from unfold.plugin import Plugin
 
-class ResourcesSelected(Plugin):
+class QueryUpdater(Plugin):
 
     def template_file (self):
         return "resources_selected.html"
@@ -1,5 +1,5 @@
 /* 
-    Document   : ResourcesSelected
+    Document   : QueryUpdater
     Created on : 9 aout 2012, 11:54:41
     Author     : loicbaron
     Description:
@@ -1,5 +1,5 @@
 /**
- * MySlice ResourcesSelected plugin
+ * MySlice QueryUpdater plugin
  * Version: 0.1.0
  * URL: http://www.myslice.info
  * Description: display of selected resources
@@ -23,7 +23,7 @@
     // Record state through the query cycle
 
 
-    var ResourcesSelected = Plugin.extend({
+    var QueryUpdater = Plugin.extend({
 
         init: function(options, element)
         {
 
     });
 
-    $.plugin('ResourcesSelected', ResourcesSelected);
+    $.plugin('QueryUpdater', QueryUpdater);
 
 })(jQuery);
index 4037e75..c1dcdbf 100644 (file)
@@ -12,7 +12,7 @@ from plugins.raw                     import Raw
 from plugins.stack                   import Stack
 from plugins.tabs                    import Tabs
 from plugins.querytable              import QueryTable 
-from plugins.resources_selected      import ResourcesSelected
+from plugins.queryupdater            import QueryUpdater
 from plugins.googlemap               import GoogleMap
 from plugins.senslabmap              import SensLabMap
 from plugins.querycode               import QueryCode
@@ -102,9 +102,9 @@ class SliceView (LoginRequiredAutoLogoutView):
         )
     
         # --------------------------------------------------------------------------
-        # ResourcesSelected (Pending Operations)
+        # QueryUpdater (Pending Operations)
 
-        main_stack.insert(ResourcesSelected(
+        main_stack.insert(QueryUpdater(
             page                = page,
             title               = 'Pending operations',
             query               = main_query,
index 92253f9..c1079f2 100644 (file)
@@ -312,7 +312,7 @@ table.query-editor {
 }
 
 .query-editor-spacer,
-.plugin.ResourcesSelected,
+.plugin.QueryUpdater,
 .plugin.Tabs {
     margin-top: 60px !important;
 }