|
@@ -350,7 +350,7 @@ class CapacitySchedulerPage extends RmView {
|
|
|
a(_Q).$style(width(Q_MAX_WIDTH)).
|
|
|
span().$style(join(width(used), ";left:0%;",
|
|
|
used > 1 ? Q_OVER : Q_UNDER))._(".")._().
|
|
|
- span(".q", "root")._().
|
|
|
+ span(".q", "Queue: root")._().
|
|
|
span().$class("qstats").$style(left(Q_STATS_POS)).
|
|
|
_(join(percent(used), " used"))._().
|
|
|
_(QueueBlock.class)._();
|
|
@@ -514,8 +514,8 @@ class CapacitySchedulerPage extends RmView {
|
|
|
" });",
|
|
|
" $('#cs').bind('select_node.jstree', function(e, data) {",
|
|
|
" var q = $('.q', data.rslt.obj).first().text();",
|
|
|
- " if (q == 'root') q = '';",
|
|
|
- " else q = '^' + q.substr(q.lastIndexOf('.') + 1) + '$';",
|
|
|
+ " if (q == 'Queue: root') q = '';",
|
|
|
+ " else q = '^' + q.substr(q.lastIndexOf(':') + 2) + '$';",
|
|
|
" $('#apps').dataTable().fnFilter(q, 4, true);",
|
|
|
" });",
|
|
|
" $('#cs').show();",
|