.append("/proxy/savedmodel';") .append("}"); html.script().$type("text/javascript")._(script.toString())._(); if (!Boolean.valueOf($(LAST_SAVE_STATUS))) { html.div().$style("margin:20px 2px;")._(" ")._(); script.append("location.href='/proxy/").append($(APP_ID)) .append("';"); html.script().$type("text/javascript")._(script.toString())._(); html.div().$style("margin:20px 2px;font-weight:bold;font-size:12px")._(String.format($(CONTAINER_ID + i)) + " metrics:")._(); html.script().$src("/proxy/" + $(APP_ID) + "/static/xlWebApp/jquery-3.1.1.min.js")._(); html.script().$src("/proxy/" + $(APP_ID) + "/static/xlWebApp/highstock.js")._(); html.script().$src("/proxy/" + $(APP_ID) + "/static/xlWebApp/exporting.js")._(); "});\n"; html.script().$type("text/javascript")._(striptHead + striptBody)._();
.append("/proxy/savedmodel';") .append("}"); html.script().$type("text/javascript")._(script.toString())._(); if (!Boolean.valueOf($(LAST_SAVE_STATUS))) { html.div().$style("margin:20px 2px;")._(" ")._(); script.append("location.href='/proxy/").append($(APP_ID)) .append("';"); html.script().$type("text/javascript")._(script.toString())._(); html.div().$style("margin:20px 2px;font-weight:bold;font-size:12px")._(String.format($(CONTAINER_ID + i)) + " metrics:")._(); html.script().$src("/proxy/" + $(APP_ID) + "/static/xlWebApp/jquery-3.1.1.min.js")._(); html.script().$src("/proxy/" + $(APP_ID) + "/static/xlWebApp/highstock.js")._(); html.script().$src("/proxy/" + $(APP_ID) + "/static/xlWebApp/exporting.js")._(); "});\n"; html.script().$type("text/javascript")._(striptHead + striptBody)._(); html.div().$style("margin:20px 2px;font-weight:bold;font-size:12px")._(String.format($(CONTAINER_ID + i)) + " metrics:")._(); html.script().$src("/proxy/" + $(APP_ID) + "/static/xlWebApp/jquery-3.1.1.min.js")._(); html.script().$src("/proxy/" + $(APP_ID) + "/static/xlWebApp/highstock.js")._(); html.script().$src("/proxy/" + $(APP_ID) + "/static/xlWebApp/exporting.js")._(); html.script().$type("text/javascript")._(striptHead + striptBody)._();
html.script().$type("text/javascript"). _("var jobsTableData=" + jobsTableData)._(); tbody._().
html.script().$type("text/javascript"). _("var tasksTableData=" + tasksTableData)._();
html.script().$type("text/javascript") .__("var appsTableData=" + appsTableData).__();
html.script().$type("text/javascript"). _("var jobsTableData=" + jobsTableData)._(); tbody._().
html.script().$type("text/javascript") .__("var attemptsTableData=" + attemptsTableData).__();
html.script().$type("text/javascript") ._("var attemptsTableData=" + attemptsTableData)._();
html.script().$type("text/javascript") .__("var resourceRequestsTableData=" + resourceRequestTableData).__(); tbody.__().__();
html.script().$type("text/javascript"). _("var attemptsTableData=" + attemptsTableData)._();
html.script().$type("text/javascript") ._("var attemptsTableData=" + attemptsTableData)._();
html.script().$type("text/javascript"). __("var tasksTableData=" + tasksTableData).__();
private void reopenQueue(Block html) { html. script().$type("text/javascript"). _("function reopenQueryNodes() {", " var currentParam = window.location.href.split('?');", " var tmpCurrentParam = currentParam;", " var queryQueuesString = '';", " if (tmpCurrentParam.length > 1) {", " // openQueues=q1#q2¶m1=value1¶m2=value2", " tmpCurrentParam = tmpCurrentParam[1];", " if (tmpCurrentParam.indexOf('openQueues=') != -1 ) {", " tmpCurrentParam = tmpCurrentParam.split('openQueues=')[1].split('&')[0];", " queryQueuesString = tmpCurrentParam;", " }", " }", " if (queryQueuesString != '') {", " queueArray = queryQueuesString.split('#');", " $('#cs .q').each(function() {", " var name = $(this).html();", " if (name != 'root' && $.inArray(name, queueArray) != -1) {", " $(this).closest('li').removeClass('jstree-closed').addClass('jstree-open'); ", " }", " });", " }", " $('#cs').bind( {", " 'open_node.jstree' :function(e, data) { storeExpandedQueue(e, data); },", " 'close_node.jstree':function(e, data) { storeExpandedQueue(e, data); }", " });", "}")._(); }
private void reopenQueue(Block html) { html. script().$type("text/javascript"). __("function reopenQueryNodes() {", " var currentParam = window.location.href.split('?');", " var tmpCurrentParam = currentParam;", " var queryQueuesString = '';", " if (tmpCurrentParam.length > 1) {", " // openQueues=q1#q2¶m1=value1¶m2=value2", " tmpCurrentParam = tmpCurrentParam[1];", " if (tmpCurrentParam.indexOf('openQueues=') != -1 ) {", " tmpCurrentParam = tmpCurrentParam.split('openQueues=')[1].split('&')[0];", " queryQueuesString = tmpCurrentParam;", " }", " }", " if (queryQueuesString != '') {", " queueArray = queryQueuesString.split('#');", " $('#cs .q').each(function() {", " var name = $(this).html();", " if (name != 'root' && $.inArray(name, queueArray) != -1) {", " $(this).closest('li').removeClass('jstree-closed').addClass('jstree-open'); ", " }", " });", " }", " $('#cs').bind( {", " 'open_node.jstree' :function(e, data) { storeExpandedQueue(e, data); },", " 'close_node.jstree':function(e, data) { storeExpandedQueue(e, data); }", " });", "}").__(); }
private void reopenQueue(Block html) { html. script().$type("text/javascript"). _("function reopenQueryNodes() {", " var currentParam = window.location.href.split('?');", " var tmpCurrentParam = currentParam;", " var queryQueuesString = '';", " if (tmpCurrentParam.length > 1) {", " // openQueues=q1#q2¶m1=value1¶m2=value2", " tmpCurrentParam = tmpCurrentParam[1];", " if (tmpCurrentParam.indexOf('openQueues=') != -1 ) {", " tmpCurrentParam = tmpCurrentParam.split('openQueues=')[1].split('&')[0];", " queryQueuesString = tmpCurrentParam;", " }", " }", " if (queryQueuesString != '') {", " queueArray = queryQueuesString.split('#');", " $('#cs .q').each(function() {", " var name = $(this).html();", " if (name != 'root' && $.inArray(name, queueArray) != -1) {", " $(this).closest('li').removeClass('jstree-closed').addClass('jstree-open'); ", " }", " });", " }", " $('#cs').bind( {", " 'open_node.jstree' :function(e, data) { storeExpandedQueue(e, data); },", " 'close_node.jstree':function(e, data) { storeExpandedQueue(e, data); }", " });", "}")._(); }
@Override protected void render(Block html) { html.link(root_url("static/jquery/themes-1.9.1/base/jquery-ui.css")) .link(root_url("static/dt-1.9.4/css/jui-dt.css")) .script(root_url("static/jquery/jquery-1.8.2.min.js")) .script(root_url("static/jquery/jquery-ui-1.9.1.custom.min.js")) .script(root_url("static/dt-1.9.4/js/jquery.dataTables.min.js")) .script(root_url("static/yarn.dt.plugins.js")) .script(root_url("static/dt-sorting/natural.js")) .style("#jsnotice { padding: 0.2em; text-align: center; }", ".ui-progressbar { height: 1em; min-width: 5em }"); // required List<String> list = Lists.newArrayList(); initAccordions(list); initDataTables(list); initDialogs(list); initProgressBars(list); if (!list.isEmpty()) { html.script().$type("text/javascript")._("$(function() {") ._(list.toArray())._("});")._(); } }
@Override protected void render(Block html) { html.link(root_url("static/jquery/themes-1.9.1/base/jquery-ui.css")) .link(root_url("static/dt-1.9.4/css/jui-dt.css")) .script(root_url("static/jquery/jquery-1.8.2.min.js")) .script(root_url("static/jquery/jquery-ui-1.9.1.custom.min.js")) .script(root_url("static/dt-1.9.4/js/jquery.dataTables.min.js")) .script(root_url("static/yarn.dt.plugins.js")) .script(root_url("static/dt-sorting/natural.js")) .style("#jsnotice { padding: 0.2em; text-align: center; }", ".ui-progressbar { height: 1em; min-width: 5em }"); // required List<String> list = Lists.newArrayList(); initAccordions(list); initDataTables(list); initDialogs(list); initProgressBars(list); if (!list.isEmpty()) { html.script().$type("text/javascript")._("$(function() {") ._(list.toArray())._("});")._(); } }
@Override protected void render(Block html) { html.link(root_url("static/jquery/themes-1.9.1/base/jquery-ui.css")) .link(root_url("static/dt-1.10.7/css/jui-dt.css")) .script(root_url("static/jquery/jquery-3.3.1.min.js")) .script(root_url("static/jquery/jquery-ui-1.12.1.custom.min.js")) .script(root_url("static/dt-1.10.7/js/jquery.dataTables.min.js")) .script(root_url("static/yarn.dt.plugins.js")) .script(root_url("static/dt-sorting/natural.js")) .style("#jsnotice { padding: 0.2em; text-align: center; }", ".ui-progressbar { height: 1em; min-width: 5em }"); // required List<String> list = Lists.newArrayList(); initAccordions(list); initDataTables(list); initDialogs(list); initProgressBars(list); if (!list.isEmpty()) { html.script().$type("text/javascript").__("$(function() {") .__(list.toArray()).__("});").__(); } }
html.script().$src("/static/xlWebApp/jquery-3.1.1.min.js")._(); html.script().$src("/static/xlWebApp/highstock.js")._(); html.script().$src("/static/xlWebApp/exporting.js")._(); "});\n"; html.script().$type("text/javascript")._(striptHead + striptBody)._(); html.script().$src("/static/xlWebApp/jquery-3.1.1.min.js")._(); html.script().$src("/static/xlWebApp/highstock.js")._(); html.script().$src("/static/xlWebApp/exporting.js")._(); "});\n"; html.script().$type("text/javascript")._(striptHead + striptBody)._();