git://git.onelab.eu
/
myslice.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
integrated scheduler in slice page
[myslice.git]
/
plugins
/
scheduler
/
__init__.py
diff --git
a/plugins/scheduler/__init__.py
b/plugins/scheduler/__init__.py
index
b44e28e
..
3a7771f
100644
(file)
--- a/
plugins/scheduler/__init__.py
+++ b/
plugins/scheduler/__init__.py
@@
-9,8
+9,8
@@
class Scheduler(Plugin):
def __init__ (self, query, query_all = None, **settings):
Plugin.__init__ (self, **settings)
self.query=query
def __init__ (self, query, query_all = None, **settings):
Plugin.__init__ (self, **settings)
self.query=query
- self.query_
all = query_all
- self.query_
all_uuid = query_all.query_uuid if query_all
else None
+ self.query_
lease = query_lease
+ self.query_
lease_uuid = query_lease.query_uuid if query_lease
else None
def template_file (self):
return "scheduler.html"
def template_file (self):
return "scheduler.html"
@@
-37,4
+37,4
@@
class Scheduler(Plugin):
# the list of things passed to the js plugin
def json_settings_list (self):
# the list of things passed to the js plugin
def json_settings_list (self):
- return ['plugin_uuid','query_uuid', 'query_
all
_uuid', ]
+ return ['plugin_uuid','query_uuid', 'query_
lease
_uuid', ]