ul. li().$style("margin-bottom: 1em"). span().$style("font-weight: bold").__("Legend:").__(). span().$class("qlegend ui-corner-all").$style(Q_GIVEN). __("Capacity").__(). span().$class("qlegend ui-corner-all").$style(Q_UNDER). __("Used").__(). span().$class("qlegend ui-corner-all").$style(Q_OVER). __("Used (over capacity)").__(). span().$class("qlegend ui-corner-all ui-state-default"). __("Max Capacity").__(). span().$class("qlegend ui-corner-all").$style(ACTIVE_USER). __("Users Requesting Resources").__(). span().$class("qlegend ui-corner-all").$style(Q_AUTO_CREATED). __("Auto Created Queues").__(). __(); used > 1 ? Q_OVER : Q_UNDER)).__(".").__(). span(".q", "Queue: root").__(). span().$class("qstats").$style(left(Q_STATS_POS)). __(join(percent(used), " used")).__(). __(QueueBlock.class).__(); used > 1 ? Q_OVER : Q_UNDER)).__(".").__(). span(".q", partitionUiTag).__(). span().$class("qstats").$style(left(Q_STATS_POS)). __(join(percent(used), " used")).__().__(); used > 1 ? Q_OVER : Q_UNDER)).__(".").__().
__('.').__(). span(".q", "Queue: "+info.getQueuePath().substring(5)).__(). span().$class("qstats").$style(left(Q_STATS_POS)). __(join(percent(used), " used")).__();
span().$style("font-weight: bold").__("Legend:").__(). span().$class("qlegend ui-corner-all").$style(Q_GIVEN). $title("The steady fair shares consider all queues, " + "both active (with running applications) and inactive."). __(STEADY_FAIR_SHARE).__(). span().$class("qlegend ui-corner-all").$style(Q_INSTANTANEOUS_FS). $title("The instantaneous fair shares consider only active " + "queues (with running applications)."). __(INSTANTANEOUS_FAIR_SHARE).__(). span().$class("qlegend ui-corner-all").$style(Q_UNDER). __("Used").__(). span().$class("qlegend ui-corner-all").$style(Q_OVER). __("Used (over fair share)").__(). span().$class("qlegend ui-corner-all ui-state-default"). __("Max Capacity").__(). __(). used > 1 ? Q_OVER : Q_UNDER)).__(".").__(). span(".q", "root").__(). span().$class("qstats").$style(left(Q_STATS_POS)). __(join(percent(used), " used")).__(). __(QueueBlock.class).__();
__('.').__(). span(".q", info.getQueueName()).__(). span().$class("qstats").$style(left(Q_STATS_POS)). __(join(percent(used), " used")).__();
@Override public LI<T> span(String cdata) { return span().__(cdata).__(); }
@Override public LI<T> span(String selector, String cdata) { return setSelector(span(), selector).__(cdata).__(); }