if ((saveModelTotal > 0) && (saveModelSize > 0)) { if (!Boolean.valueOf($(SAVE_MODEL))) { html.div().button().$id("saveModel").$onclick("savedModel()").b("Save Model")._()._(); StringBuilder script = new StringBuilder(); script.append("function savedModel(){") html.div().button().$id("saveModel").$disabled().b("Save Model")._()._(); if (!$(SAVE_MODEL_STATUS).equals($(SAVE_MODEL_TOTAL))) { html.div().$style("margin:20px 2px;")._(String.format("saving the model ... %s/%s", html.div().button().$id("saveModel").$disabled().b("Save Model")._()._(); html.div().$style("margin:20px 2px;")._("don't have the local output dir")._(); } else if (saveModelTotal == 0) { html.div().button().$id("saveModel").$disabled().b("Save Model")._()._();
if ((saveModelTotal > 0) && (saveModelSize > 0)) { if (!Boolean.valueOf($(SAVE_MODEL))) { html.div().button().$id("saveModel").$onclick("savedModel()").b("Save Model")._()._(); StringBuilder script = new StringBuilder(); script.append("function savedModel(){") html.div().button().$id("saveModel").$disabled().b("Save Model")._()._(); if (!$(SAVE_MODEL_STATUS).equals($(SAVE_MODEL_TOTAL))) { html.div().$style("margin:20px 2px;")._(String.format("saving the model ... %s/%s", html.div().button().$id("saveModel").$disabled().b("Save Model")._()._(); html.div().$style("margin:20px 2px;")._("don't have the local output dir")._(); } else if (saveModelTotal == 0) { html.div().button().$id("saveModel").$disabled().b("Save Model")._()._();