You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
aggregation-platform/templates.js

78 lines
209 KiB

angular.module("hawtio-kubernetes-templates", []).run(["$templateCache", function($templateCache) {$templateCache.put("plugins/configs/html/configMenuItem.html","<ul ng-controller=\"Configs.MenuItemController\" class=\"nav nav-pills\" role=\"tablist\">\r\n <li ng-repeat=\"item in menuItem\" role=\"presentation\">\r\n <a href=\"{{item.href}}\"><span class=\"{{item.icon}}\"></span> {{item.label}}</a>\r\n </li>\r\n</ul>\r\n");
$templateCache.put("plugins/configs/html/glusterfsSetting.html","<div ng-controller=\"Configs.GfsController\">\r\n <div class=\"row\">\r\n <div hawtio-breadcrumbs></div>\r\n </div>\r\n <div class=\"row\">\r\n <div hawtio-tabs></div>\r\n </div>\r\n \r\n <div class=\"container-content sj_content\" ng-model=\"volumes\">\r\n <div class=\"row\">\r\n <div class=\"mb10\">\r\n <button class=\"btn sj_btn_green\" style=\"color:#fff;\r\n \" ng-click=\"createGfs()\">\r\n <span class=\"glyphicon glyphicon-plus \"></span> 添加\r\n </button>\r\n </div>\r\n </div>\r\n <div class=\"row\" ng-repeat=\"volume in volumes\">\r\n <table class=\"table sj_content_table sj_table_border\">\r\n <thead class=\"no-scope\">\r\n <tr>\r\n <th ng-show=\"volume.status\" class=\"sj_c_green table-header sj_table_td00\">已启用</th>\r\n <th ng-hide=\"volume.status\" class=\"sj_c_green table-header sj_table_td00\">已停止</th>\r\n <th class=\"no-fade table-header sj_table_td06\">\r\n <span class=\"\">{{volume.name}}</span>\r\n </th>\r\n <th class=\"no-fade table-header sj_table_td02\">\r\n <span class=\"\">云路径:{{volume.path}}</span>\r\n </th>\r\n <th class=\"no-fade table-header sj_table_td02\">\r\n <span class=\"\"></span>\r\n </th>\r\n <th class=\"no-fade table-header\">\r\n <span class=\"\">已用&nbsp;{{volume.formatUsedSize}}&nbsp;&nbsp;/&nbsp;&nbsp;共&nbsp;{{volume.formatTotalSize}}</span>\r\n </th>\r\n <th class=\"no-fade table-header sj_table_td01\">\r\n <button class=\"btn sj_btn\" ng-click=\"editRow(volume)\">\r\n <span class=\"glyphicon glyphicon-pencil\"></span>&nbsp;&nbsp;编辑\r\n </button>\r\n <button class=\"btn sj_btn\" ng-click=\"showDeleteVolume.open(volume)\">\r\n <span class=\"glyphicon glyphicon-trash\"></span>&nbsp;&nbsp;刪除\r\n </button>\r\n </th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n <tr ng-repeat=\"row in volume.brick track by $index\" class=\"row.class\">\r\n <td>\r\n <span ng-show=\"row.status\" class=\"glyphicon glyphicon-ok sj_c_green \"></span>\r\n <span ng-hide=\"row.status\" class=\"glyphicon glyphicon-remove sj_c_green \"></span>\r\n </td>\r\n <td>\r\n <span class=\"\">服务器{{$index+1}}</span>\r\n </td>\r\n <td>\r\n <span class=\"sj_table_td02\">{{row.ip}}</span>\r\n </td>\r\n <td>\r\n <span class=\"sj_table_td02\">存储路径:{{row.path}}</span>\r\n </td>\r\n <td>\r\n <span class=\"\">已用&nbsp;{{row.formatUsedSize}}&nbsp;&nbsp;/&nbsp;&nbsp;共&nbsp;{{row.formatAllSize}}</span>\r\n </td>\r\n <td></td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </div>\r\n </div>\r\n <div hawtio-confirm-dialog=\"showDeleteVolume.show\" title=\"是否删除任务?\" ok-button-text=\"确认\" cancel-button-text=\"取消\" on-cancel=\"showDeleteVolume.onCancelled()\" on-ok=\"showDeleteVolume.onOk()\">\r\n <div class=\"dialog-body\">\r\n <p>\r\n 是否删除:{{showDeleteVolume.item.name}} 云盘?\r\n </p>\r\n </div>\r\n </div>\r\n</div>\r\n");
$templateCache.put("plugins/configs/html/kubeClusterSetting.html","<div ng-controller=\"Configs.KubeController\">\r\n <div class=\"row\">\r\n <div hawtio-breadcrumbs></div>\r\n </div>\r\n <div class=\"row\">\r\n <div hawtio-tabs></div>\r\n </div>\r\n \r\n <div class=\"container-content\">\r\n <div class=\"row align-center mb10\" ng-hide=\"model.oracleParam.length\">\r\n <p class=\"alert alert-info\">当前没有配置汇总库信息,请配置,否则汇总操作将不可用!</p>\r\n </div>\r\n <div class=\"row mb10\" ng-show=\"model.oracleParam.length\">\r\n <table class=\"table table-bordered table-striped sj_content_table\" hawtio-simple-table=\"tableConfig\" />\r\n </div>\r\n <div class=\"row\">\r\n <div>\r\n <button class=\"btn sj_btn_green mb10\" style=\"color:#fff;\" ng-click=\"create()\">\r\n <span class=\"glyphicon glyphicon-plus\"></span> 添加\r\n </button>\r\n </div>\r\n </div>\r\n <hr>\r\n <div class=\"row \" style=\"padding-top:10px;\" ng-show=\"tableForm && (edit || add)\">\r\n <h3 class=\"mb10\" ng-show=\"edit\">编辑汇总库连接信息:</h3>\r\n <h3 class=\"mb10\" ng-show=\"add\">添加汇总库信息:</h3>\r\n <div class=\"col-md-6 col-md-offset-1 \">\r\n <form class=\"form-horizontal\" novalidate=\"novalidate\" name=\"validForm\" ng-submit=\"onSubmit(tableForm)\">\r\n <div class=\"form-group\">\r\n <label class=\"col-sm-2 control-label\">名称</label>\r\n <div class=\"col-sm-10 sj_form_input\">\r\n <input class=\"form-control \" type=\"text\" ng-model=\"tableForm.name\" name=\"orcName\" ng-minlength=\"2\" ng-maxlength=\"20\" required=\"required\"/>\r\n <div class=\"form-error\" ng-show=\"validForm.orcName.$invalid && submitted\">\r\n <span class=\"alert alert-danger\" role=\"alert\" ng-show=\"validForm.orcName.$error.required\">名称不能为空</span> <span class=\"alert alert-danger\" role=\"alert\" ng-show=\"!validForm.orcName.$error.required && validForm.orcName.$invalid\">请输入输入2-20个字符的数据名称</span> \r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"form-group\">\r\n <label class=\"col-sm-2 control-label\">IP</label>\r\n <div class=\"col-sm-10 sj_form_input\">\r\n <input class=\"form-control\" type=\"text\" ng-model=\"tableForm.ip\" name=\"orcIP\" ng-pattern=\"/((?:(?:25[0-5]|2[0-4]\\d|((1\\d{2})|([1-9]?\\d)))\\.){3}(?:25[0-5]|2[0-4]\\d|((1\\d{2})|([1-9]?\\d))))/\" required=\"required\"/>\r\n <div class=\"form-error\" ng-show=\"validForm.orcIP.$invalid && submitted\">\r\n <span class=\"alert alert-danger\" role=\"alert\" ng-show=\"validForm.orcIP.$error.required\">IP不能为空</span>\r\n <span class=\"alert alert-danger\" role=\"alert\" ng-show=\"validForm.orcIP.$error.pattern\">请输入正确的IP地址</span>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"form-group\">\r\n <label class=\"col-sm-2 control-label\">端口号</label>\r\n <div class=\"col-sm-10 sj_form_input\">\r\n <input class=\"form-control\" type=\"text\" ng-model=\"tableForm.port\" name=\"orcPort\" ng-pattern=\"/^([0-9]|[1-9]\\d|[1-9]\\d{2}|[1-9]\\d{3}|[1-5]\\d{4}|6[0-4]\\d{3}|65[0-4]\\d{2}|655[0-2]\\d|6553[0-5])$/\" required=\"required\"/>\r\n <div class=\"form-error\" ng-show=\"validForm.orcPort.$invalid && submitted\">\r\n <span class=\"alert alert-danger\" role=\"alert\" ng-show=\"validForm.orcPort.$error.required\">端口号不能为空</span>\r\n <span class=\"alert alert-danger\" role=\"alert\" ng-show=\"validForm.orcPort.$error.pattern\">端口号必须为1~65535的数字</span>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"form-group\">\r\n <label class=\"col-sm-2 control-label\">用戶名</label>\r\n <div class=\"col-sm-10 sj_form_input\">\r\n <input class=\"form-control\" type=\"text\" ng-model=\"tableForm.user\" name=\"orcUser\" ng-pattern=\"/^\\w{2,15}$/\" required=\"required\"/>\r\n <div class=\"form-error\" ng-show=\"validForm.orcUser.$invalid && submitted\">\r\n <span class=\"alert alert-danger\" role=\"alert\" ng-show=\"validForm.orcUser.$error.required\">用户名不能为空</span>\r\n <span class=\"alert alert-danger\" role=\"alert\" ng-show=\"validForm.orcUser.$error.pattern\">用户名必须为2-15个字母、数字或下划线</span>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"form-group\">\r\n <label class=\"col-sm-2 control-label\">密码</label>\r\n <div class=\"col-sm-10 sj_form_input\">\r\n <input class=\"form-control\" type=\"text\" ng-model=\"tableForm.password\" name=\"orcPassword\" ng-pattern=\"/^\\w{2,15}$/\" required=\"required\"/>\r\n <div class=\"form-error\" ng-show=\"validForm.orcPassword.$invalid && submitted\">\r\n <span class=\"alert alert-danger\" role=\"alert\" ng-show=\"validForm.orcPassword.$error.required\">密码不能为空</span>\r\n <span class=\"alert alert-danger\" role=\"alert\" ng-show=\"validForm.orcPassword.$error.pattern\">密码必须为2-15个字母、数字或下划线</span>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"form-group\">\r\n <label class=\"col-sm-2 control-label\">服务名</label>\r\n <div class=\"col-sm-10 sj_form_input\">\r\n <input class=\"form-control\" type=\"text\" ng-model=\"tableForm.databaseName\" name=\"orcService\" ng-pattern=\"/^[a-zA-Z]{1,10}$/\" required=\"required\"/>\r\n <div class=\"form-error\" ng-show=\"validForm.orcService.$invalid && submitted\">\r\n <span class=\"alert alert-danger\" role=\"alert\" ng-show=\"validForm.orcService.$error.required\">服务名不能为空</span>\r\n <span class=\"alert alert-danger\" role=\"alert\" ng-show=\"validForm.orcService.$error.pattern\">服务名必须为1-10个字母</span>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"form-group\">\r\n <label class=\"col-sm-2 control-label\">表空间名</label>\r\n <div class=\"col-sm-10 sj_form_input\">\r\n <input class=\"form-control\" type=\"text\" ng-model=\"tableForm.tableName\" name=\"orcTable\" ng-pattern=\"/^\\w{1,15}$/\" required=\"required\"/>\r\n <div class=\"form-error\" ng-show=\"validForm.orcTable.$invalid && submitted\">\r\n <span class=\"alert alert-danger\" role=\"alert\" ng-show=\"validForm.orcTable.$error.required\">表空间名不能为空</span>\r\n <span class=\"alert alert-danger\" role=\"alert\" ng-show=\"validForm.orcTable.$error.pattern\">表空间名必须为1-15个字母、数字或下划线</span>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"form-group\">\r\n <label class=\"col-sm-2 control-label\">表后缀名</label>\r\n <div class=\"col-sm-10 sj_form_input\">\r\n <input class=\"form-control\" type=\"text\" ng-model=\"tableForm.suffix\" name=\"orcSuffix\" ng-pattern=\"/^\\w{1,10}$/\" required=\"required\"/>\r\n <div class=\"form-error\" ng-show=\"validForm.orcSuffix.$invalid && submitted\">\r\n <span class=\"alert alert-danger\" role=\"alert\" ng-show=\"validForm.orcSuffix.$error.required\">表后缀名不能为空</span>\r\n <span class=\"alert alert-danger\" role=\"alert\" ng-show=\"validForm.orcSuffix.$error.pattern\">表后缀名必须为1-10个字母、数字或下划线</span>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"form-group\" style=\"margin-left:140px;\">\r\n <button class=\"btn sj_btn_blue\" type=\'submit\' style=\"color:#fff;\" >\r\n <span class=\"glyphicon glyphicon-save \"></span> 保存\r\n </button>\r\n <button class=\"btn sj_btn_grey\" ng-click=\'cancel()\'>\r\n <span class=\"glyphicon glyphicon-remove \"></span> 取消\r\n </button>\r\n </div>\r\n </form>\r\n </div>\r\n </div>\r\n <hr>\r\n </div>\r\n</div>\r\n");
$templateCache.put("plugins/configs/html/regionalismCodeSearch.html","<div ng-controller=\"Configs.RegionalismCodeController\">\r\n <div hawtio-breadcrumbs></div>\r\n <div hawtio-tabs></div>\r\n <div class=\"container-content \">\r\n <div class=\"container-fluid sj_fluid\"> \r\n <div ng-hide=\"model.regionalismInfo.length\" class=\"align-center\">\r\n <p class=\"alert alert-info\">当前没有可以查看的数据.</p>\r\n </div>\r\n <div ng-show=\"model.regionalismInfo.length\">\r\n <table ng-table=\"tableParams\" class=\"table table-condensed table-bordered table-striped\" show-filter=\"true\">\r\n <tr ng-repeat=\"row in $data\">\r\n <td title=\"\'行政区划代码\'\" filter=\"{ code: \'text\'}\" sortable=\"\'code\'\">\r\n {{row.code}}</td>\r\n <td title=\"\'市\'\" filter=\"{ cityName: \'text\'}\" sortable=\"\'cityName\'\">\r\n {{row.cityName}}</td>\r\n <td title=\"\'区县\'\" filter=\"{ districtName: \'text\'}\" sortable=\"\'districtName\'\">\r\n {{row.districtName}}</td>\r\n </tr>\r\n </table>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n");
$templateCache.put("plugins/configs/html/shareLayout.html","<script type=\"text/ng-template\" id=\"tableEdit.html\">\r\n <div class=\"ngCellText\" ng-init=\"entity=row.entity\" ng-controller=\"Configs.TableEdit\">\r\n <button class=\"btn sj_btn\" ng-click=\"editRow(entity)\">\r\n <span class=\"glyphicon glyphicon-pencil\"></span>&nbsp;&nbsp;编辑\r\n </button>\r\n <span class=\"pull-right\">&nbsp;</span>\r\n <button class=\"btn sj_btn\" ng-click=\"deleteRowOne.open(entity)\">\r\n <span class=\"glyphicon glyphicon-trash\"></span>&nbsp;&nbsp;删除\r\n </button>\r\n <div hawtio-confirm-dialog=\"deleteRowOne.show\" title=\"是否删除任务?\" ok-button-text=\"确认\" cancel-button-text=\"取消\" on-cancel=\"deleteRowOne.onCancelled()\" on-ok=\"deleteRowOne.onOk()\">\r\n <div class=\"dialog-body\">\r\n <p>\r\n 是否删除:{{deleteRowOne.item.name}} 服务?\r\n </p>\r\n </div>\r\n </div>\r\n </div>\r\n</script>\r\n\r\n<script type=\"text/ng-template\" id=\"connectStatus.html\">\r\n <div class=\"ngCellText\" ng-init=\"entity=row.entity\">\r\n <div ng-show=\"true\" title=\"汇总库的连接状态\">\r\n <span ng-show=\"entity.status== 0\" class=\"glyphicon glyphicon-minus\">&nbsp;未连接</span>\r\n <span ng-show=\"entity.status== 1\" class=\"glyphicon glyphicon-ok\">&nbsp;连接成功</span>\r\n <span ng-show=\"entity.status== 2\" class=\"glyphicon glyphicon-import\">&nbsp;使用中</span>\r\n <span ng-show=\"entity.status== 3\" class=\"glyphicon glyphicon-remove\">&nbsp;连接失败</span>\r\n </div>\r\n </div>\r\n</script>\r\n\r\n<script type=\"text/ng-template\" id=\"newDialog.html\">\r\n <div class=\"sj_new_box\">\r\n <form name=\"volumeForm\" class=\" mb10\" novalidate=\"novalidate\">\r\n <table class=\"sj_new_table clear\">\r\n <tbody>\r\n <tr>\r\n <th class=\"new_left\">云盘名</th>\r\n <th colspan=\"10\">\r\n <input type=\"text\" class=\"sj_txt_box03 mr10\" name=\"volumeName\" ng-model=\"ngDialogData.name \" ng-disabled=\"!{{ngDialogData.editable}}\" ng-pattern=\"/^\\w{2,15}$/\" required=\"required\" />\r\n </th>\r\n <th>云目录:</th>\r\n <th>\r\n <input type=\"text\" class=\"sj_txt_box02 mr5\" name=\"volumePath\" ng-model=\"ngDialogData.path\" ng-disabled=\"!{{ngDialogData.editable}}\" ng-pattern=\"/^(\\/[a-z0-9A-Z _\\-.%]+)+$/\" required=\"required\" />\r\n </th>\r\n <!--<th>\r\n <button ng-show=\"ngDialogData.status\" class=\"sj_btn_red fl\" ng-click=\"stopVolume(ngDialogData)\">停止</button>\r\n <button ng-hide=\"ngDialogData.status\" class=\"sj_btn_blue fl\" ng-click=\"startVolume(ngDialogData)\">启动</button>\r\n </th> -->\r\n </tr>\r\n <tr ng-repeat=\"row in ngDialogData.brick\">\r\n <th class=\"new_left\">\r\n <span ng-show=\"row.status\" class=\"sj_icon_ok\"></span>\r\n <span ng-hide=\"row.status\" class=\"sj_icon_warning\"></span>\r\n </th>\r\n <th colspan=\"3\">\r\n <input type=\"text\" class=\"sj_txt_box04 mr5\" value=\"服务器 {{$index + 1}} \" ng-disabled=\"true\" />\r\n </th>\r\n <th>\r\n <input type=\"text\" class=\"sj_txt_box05\" ng-model=\"row.ip[0]\" name=\"brickIp0\" ng-disabled=\"!{{row.editable}}\" ng-pattern=\"/^(([0-9]|([1-9]\\d)|(1\\d\\d)|(2([0-4]\\d|5[0-5]))))$/\" required=\"required\" />\r\n </th>\r\n <th>.</th>\r\n <th>\r\n <input type=\"text\" class=\"sj_txt_box05\" ng-model=\"row.ip[1]\" name=\"brickIp1\" ng-disabled=\"!{{row.editable}}\" ng-pattern=\"/^(([0-9]|([1-9]\\d)|(1\\d\\d)|(2([0-4]\\d|5[0-5]))))$/\" required=\"required\" />\r\n </th>\r\n <th>.</th>\r\n <th>\r\n <input type=\"text\" class=\"sj_txt_box05\" ng-model=\"row.ip[2]\" name=\"brickIp2\" ng-disabled=\"!{{row.editable}}\" ng-pattern=\"/^(([0-9]|([1-9]\\d)|(1\\d\\d)|(2([0-4]\\d|5[0-5]))))$/\" required=\"required\" />\r\n </th>\r\n <th>.</th>\r\n <th>\r\n <input type=\"text\" class=\"sj_txt_box05 mr10\" ng-model=\"row.ip[3]\" name=\"brickIp3\" ng-disabled=\"!{{row.editable}}\" ng-pattern=\"/^(([0-9]|([1-9]\\d)|(1\\d\\d)|(2([0-4]\\d|5[0-5]))))$/\" required=\"required\" />\r\n </th>\r\n <th>存储块:</th>\r\n <th>\r\n <input type=\"text\" class=\"sj_txt_box02 mr5\" ng-model=\"row.path\" name=\"brickPath\" ng-disabled=\"!{{row.editable}}\" ng-pattern=\"/^(\\/[a-z0-9A-Z \\-_.%]+)+$/\" required=\"required\" />\r\n </th>\r\n <th>\r\n <!--<button class=\"sj_btn_grey fl\">连接</button>-->\r\n <a href=\"#\" class=\"sj_icon_del ml5 fl\" ng-show=\"ngDialogData.brick.length>1\" ng-click=\"deleteBrock(ngDialogData, row)\"></a>\r\n <a href=\"#\" ng-hide=\"$index < ngDialogData.brick.length-1\" class=\"sj_icon_add ml5 fl\" ng-click=\"addBrock(ngDialogData)\"></a>\r\n </th>\r\n </tr>\r\n <tr>\r\n <th>&nbsp;</th>\r\n <th>\r\n <button class=\"sj_btn_blue mr5\" ng-click=\"onSubmit(ngDialogData)\">保存</button>\r\n </th>\r\n <th>\r\n <button class=\"sj_btn_grey mr5\" ng-click=\"cancel()\">取消</button>\r\n </th>\r\n <!--<th>\r\n <button class=\"sj_btn_grey mr5\" ng-click=\"cancel()\">取消</button>\r\n </th> \r\n <!--<th colspan=\"5\">&nbsp;{{message}}</th>-->\r\n </tr>\r\n </tbody>\r\n </table>\r\n <div class=\"alert alert-warning\" role=\"alert\" ng-show=\"showMessage\">\"删除存储块失败:集群中至少包含一个存储块!\"</div>\r\n <div class=\"alert alert-warning\" role=\"alert\" ng-show=\"volumeForm.$invalid && submitted\">云盘的名称、路径或IP输入不正确</div>\r\n </form>\r\n </div>\r\n</script>\r\n\r\n<div ng-controller=\"Kubernetes.TopLevel\">\r\n <div class=\"wiki-icon-view\" ng-controller=\"Kubernetes.FileDropController\" nv-file-drop nv-file-over uploader=\"uploader\" over-class=\"ready-drop\">\r\n <div class=\"row kubernetes-view\" ng-view></div>\r\n </div>\r\n</div>\r\n");
$templateCache.put("plugins/configs/html/systemCodeSearch.html","<div ng-controller=\"System.SystemCodeController\">\r\n <div hawtio-breadcrumbs></div>\r\n <div hawtio-tabs></div>\r\n <div class=\"container-content \">\r\n <div class=\"container-fluid sj_fluid\"> \r\n <div ng-hide=\"model.systemInfo.length\" class=\"align-center\">\r\n <p class=\"alert alert-info\">当前没有可以查看的数据.</p>\r\n </div>\r\n <div ng-show=\"model.systemInfo.length\">\r\n <table ng-table=\"tableParams\" class=\"table table-condensed table-bordered table-striped\" show-filter=\"true\">\r\n <tr ng-repeat=\"row in $data\">\r\n <td title=\"\'系统编码\'\" filter=\"{ code: \'text\'}\" sortable=\"\'code\'\">\r\n {{row.code}}</td>\r\n <td title=\"\'系统名称\'\" filter=\"{ systemName: \'text\'}\" sortable=\"\'systemName\'\">\r\n {{row.systemName}}</td> \r\n </tr>\r\n </table>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n");
$templateCache.put("plugins/developer/html/addDataFile.html","<div class=\"data_container\" ng-controller=\"Developer.DataOverView\">\r\n <header class=\"data_heaer\">\r\n <h2 >江苏省审计厅数据汇总平台</h2>\r\n </header>\r\n <div class=\"data_content\">\r\n <div class=\"data_leftside fl\">\r\n <h3 class=\"data_h3\">本地文件列表</h3>\r\n <ul class=\"fl data_leftside_files\">\r\n <li class=\" data_title\">文件名</li>\r\n <li><label class=\"fl date_label\">列表项1列表项1</label><input type=\"checkbox\" class=\"fr\"/></li>\r\n <li><label class=\"fl date_label\">列表项1列表项1列表项1列表项11列表项11列表项1</label><input type=\"checkbox\" class=\"fr\"/></li>\r\n <li><label class=\"fl date_label\">列表项1列表项1</label><input type=\"checkbox\" class=\"fr\"/></li>\r\n <li><label class=\"fl date_label\">列表项1列表项1列表项1列表项11列表项11列表项1</label><input type=\"checkbox\" class=\"fr\"/></li>\r\n <li><label class=\"fl date_label\">列表项1列表项1</label><input type=\"checkbox\" class=\"fr\"/></li>\r\n <li><label class=\"fl date_label\">列表项1列表项1列表项1列表项11列表项11列表项1</label><input type=\"checkbox\" class=\"fr\"/></li>\r\n </ul>\r\n <ul class=\"fl data_leftside_files data_leftside_shu\">\r\n <li class=\" data_title\">文件属性</li>\r\n <li><label class=\"fl date_label\">列表项1列表项1</label><input type=\"checkbox\" class=\"fr\"/></li>\r\n <li><label class=\"fl date_label\">列表项1列表项1列表项1列表项11列表项11列表项1</label><input type=\"checkbox\" class=\"fr\"/></li>\r\n </ul>\r\n <div class=\"cl\"></div>\r\n </div><!--data_leftside end-->\r\n <div class=\"data_conbar fl\">\r\n <div class=\"date_btns\">\r\n <a href=\"#\" class=\"data_file_btn\" >选择本地xml<input type=\"file\" /></a>\r\n <a href=\"#\" class=\"data_file_btn\" style=\"font-size:12px;\" >选择服务器端xml<input type=\"file\" /></a>\r\n </div>\r\n <div class=\"date_btns\">\r\n <a href=\"#\" class=\"data_file_btn\" >导入到服务器<input type=\"file\" /></a>\r\n <a href=\"#\" class=\"data_file_btn\" >导出到硬盘<input type=\"file\" /></a>\r\n </div>\r\n </div><!--data_conbar end-->\r\n <div class=\"data_rightside fr\">\r\n <h3 class=\"data_h3\">服务器文件列表</h3>\r\n <div class=\"data_rightside_tree fl\">\r\n <div treecontrol class=\"tree-classic\"\r\n tree-model=\"dataForTheTree\"\r\n options=\"treeOptions\"\r\n on-selection=\"showSelected(node)\"\r\n selected-node=\"node1\">\r\n employee: {{node.name}} age {{node.age}}\r\n </div>\r\n <!-- <div class=\"tree well\">\r\n <ul>\r\n <li >\r\n <p class=\"icon-plus-sign\" style=\"padding-left:20px;\"> 数据类型1</p>\r\n <ul>\r\n <li>\r\n <p> 数据批次1</p>\r\n <ul>\r\n <li>\r\n <p> 行政区划1</p>\r\n <ul>\r\n <li>\r\n <p>数据版本1</p>\r\n </li>\r\n <li>\r\n <p>数据版本1</p>\r\n </li>\r\n </ul>\r\n </li>\r\n </ul>\r\n </li>\r\n\r\n </ul>\r\n </li>\r\n </ul>\r\n </div>\r\n <div class=\"tree well\">\r\n <ul>\r\n <li >\r\n <p class=\"icon-plus-sign\" style=\"padding-left:20px;\"> 数据类型1</p>\r\n <ul>\r\n <li>\r\n <p> 数据批次1</p>\r\n <ul>\r\n <li>\r\n <p> 行政区划1</p>\r\n <ul>\r\n <li>\r\n <p>数据版本1</p>\r\n </li>\r\n <li>\r\n <p>数据版本1</p>\r\n </li>\r\n </ul>\r\n </li>\r\n </ul>\r\n </li>\r\n\r\n </ul>\r\n </li>\r\n </ul>\r\n </div>\r\n <div class=\"tree well\">\r\n <ul>\r\n <li >\r\n <p class=\"icon-plus-sign\" style=\"padding-left:20px;\"> 数据类型1</p>\r\n <ul>\r\n <li>\r\n <p> 数据批次1</p>\r\n <ul>\r\n <li>\r\n <p> 行政区划1</p>\r\n <ul>\r\n <li>\r\n <p>数据版本1</p>\r\n </li>\r\n <li>\r\n <p>数据版本1</p>\r\n </li>\r\n </ul>\r\n </li>\r\n </ul>\r\n </li>\r\n\r\n </ul>\r\n </li>\r\n </ul>\r\n </div> -->\r\n </div><!--data_rightside_tree end-->\r\n <div class=\"data_leftside fl data_rightside_w\">\r\n <ul class=\"fl data_leftside_files\">\r\n <li class=\" data_title data_title_w\">文件名</li>\r\n <li><label class=\"fl date_label date_label_w\">列表项1列表项1</label><input type=\"checkbox\" class=\"fr\"/></li>\r\n <li><label class=\"fl date_label date_label_w\">列表项1列表项1列表项1列表项11列表项11列表项1</label><input type=\"checkbox\" class=\"fr\"/></li>\r\n <li><label class=\"fl date_label date_label_w\">列表项1列表项1</label><input type=\"checkbox\" class=\"fr\"/></li>\r\n <li><label class=\"fl date_label date_label_w\">列表项1列表项1列表项1列表项11列表项11列表项1</label><input type=\"checkbox\" class=\"fr\"/></li>\r\n <li><label class=\"fl date_label date_label_w\">列表项1列表项1</label><input type=\"checkbox\" class=\"fr\"/></li>\r\n <li><label class=\"fl date_label date_label_w\">列表项1列表项1列表项1列表项11列表项11列表项1</label><input type=\"checkbox\" class=\"fr\"/></li>\r\n </ul>\r\n <ul class=\"fl data_leftside_files data_leftside_shu\">\r\n <li class=\" data_title data_title_w\">文件属性</li>\r\n </ul>\r\n <div class=\"cl\"></div>\r\n </div><!--data_leftside end-->\r\n </div>\r\n <div class=\"cl\"></div>\r\n\r\n </div>\r\n\r\n\r\n\r\n</div>");
$templateCache.put("plugins/developer/html/code.html","<div ng-controller=\"Kubernetes.BuildConfigController\">\r\n <div class=\"row\">\r\n <div hawtio-breadcrumbs></div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div hawtio-tabs></div>\r\n </div>\r\n\r\n <div class=\"row filter-header\">\r\n <div class=\"col-md-12\" ng-show=\"model.tools.length\">\r\n <span ng-show=\"!id\">\r\n <hawtio-filter ng-model=\"tableConfig.filterOptions.filterText\"\r\n css-class=\"input-xxlarge\"\r\n placeholder=\"Filter tools...\"></hawtio-filter>\r\n </span>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <div ng-hide=\"model.fetched\">\r\n <div class=\"align-center\">\r\n <i class=\"fa fa-spinner fa-spin\"></i>\r\n </div>\r\n </div>\r\n <div ng-show=\"model.fetched\">\r\n <div ng-hide=\"entity.tools.length\" class=\"align-center\">\r\n <p class=\"alert alert-info\">There are no tools currently available.</p>\r\n </div>\r\n <div ng-show=\"entity.tools.length\">\r\n <div ng-hide=\"entity.tools.length\" class=\"align-center\">\r\n <p class=\"alert alert-info\">There are no tools currently available.</p>\r\n </div>\r\n <div ng-repeat=\"env in entity.tools | filter:filterTemplates | orderBy:\'label\' track by $index\">\r\n <div class=\"row\"\r\n title=\"{{env.description}}\">\r\n <div class=\"col-md-9\">\r\n <a href=\"{{env.url}}\">\r\n <h3>\r\n <i class=\"{{env.iconClass}}\"></i>\r\n {{env.label}}\r\n </h3>\r\n </a>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n");
$templateCache.put("plugins/developer/html/environment.html","environment!!!!");
$templateCache.put("plugins/developer/html/environmentPanel.html","<div class=\"inline-block environment-row\" ng-controller=\"Developer.EnvironmentPanelController\">\r\n <div class=\"panel-group\">\r\n <div class=\"panel panel-default\">\r\n <div class=\"panel-heading\">\r\n <h2 class=\"panel-title inline-block\">\r\n <a href=\"{{env.url}}\" title=\"namespace: {{env.namespace}}\">\r\n <!-- <i class=\"{{env.iconClass}}\"></i>&nbsp; -->\r\n {{env.label}}\r\n </a>\r\n </h2>\r\n </div>\r\n\r\n <div class=\"panel-body\">\r\n <div class=\"environment-deploy-block\"\r\n ng-repeat=\"(project, versions) in envVersions[env.namespace] | orderBy:\'project\' track by $index\">\r\n <div ng-repeat=\"(version, versionInfo) in versions.versions | orderBy:\'version\' track by $index\">\r\n <div ng-repeat=\"(rcname, rc) in versionInfo.replicationControllers\">\r\n <div class=\"environment-deploy-version-and-pods\">\r\n <a href=\"{{rc.$viewLink}}\" ng-show=\"rc.$viewLink\"\r\n title=\"View the Replication Controller from project {{project}} of version {{version}}\">\r\n <i class=\"fa fa-cubes\"></i>\r\n {{rc.$name}}\r\n : {{version}}\r\n </a>\r\n <span ng-hide=\"rc.$viewLink\"\r\n title=\"View the Replication Controller from project {{project}} of version {{version}}\">\r\n <i class=\"fa fa-cubes\"></i>\r\n {{rc.$name}}\r\n : {{version}}\r\n </span>\r\n <span class=\"pull-right\" ng-show=\"rc.$serviceLink.href\">\r\n &nbsp;\r\n &nbsp;\r\n &nbsp;\r\n <a target=\"test-service\" href=\"{{rc.$serviceLink.href}}\" title=\"Open this service in a new tab\">\r\n <i class=\"fa fa-external-link\"></i>\r\n </a>\r\n </span>\r\n &nbsp;\r\n &nbsp;\r\n &nbsp;\r\n <span class=\"pull-right\">\r\n <a ng-show=\"rc.$podCounters.podsLink\" href=\"{{rc.$podCounters.podsLink}}\" title=\"View pods\">\r\n <span ng-show=\"rc.$podCounters.ready\"\r\n class=\"badge badge-success\">{{rc.$podCounters.ready}}</span>\r\n <span ng-show=\"rc.$podCounters.valid\"\r\n class=\"badge badge-info\">{{rc.$podCounters.valid}}</span>\r\n <span ng-show=\"rc.$podCounters.waiting\" class=\"badge\">{{rc.$podCounters.waiting}}</span>\r\n <span ng-show=\"rc.$podCounters.error\"\r\n class=\"badge badge-warning\">{{rc.$podCounters.error}}</span>\r\n </a>\r\n </span>\r\n </div>\r\n <div class=\"environment-deploy-build-info\">\r\n <a href=\"{{rc.$buildUrl}}\" target=\"builds\" ng-show=\"rc.$buildUrl && rc.$buildId\" class=\"=\"\r\n title=\"View the build which created this Replication Controller\">\r\n <i class=\"fa fa-tasks\"></i>\r\n Build #{{rc.$buildId}}\r\n </a>\r\n &nbsp;\r\n &nbsp;\r\n &nbsp;\r\n <a href=\"{{rc.$gitUrl}}\" target=\"git\" ng-show=\"rc.$gitUrl\" class=\"pull-right\"\r\n title=\"{{rc.$gitCommit}}\r\n {{rc.$gitCommitAuthor}}\r\n {{rc.$gitCommitDate}}\r\n {{rc.$gitCommitMessage}}\">\r\n <i class=\"fa fa-code-fork\"></i>\r\n Commit {{rc.$gitCommit | limitTo:7}}\r\n </a>\r\n <span ng-hide=\"rc.$gitUrl || !rc.$gitCommit\" class=\"pull-right\"\r\n title=\"{{rc.$gitCommit}}\r\n {{rc.$gitCommitAuthor}}\r\n {{rc.$gitCommitDate}}\r\n {{rc.$gitCommitMessage}}\">\r\n <i class=\"fa fa-code-fork\"></i>\r\n Commit {{rc.$gitCommit | limitTo:7}}\r\n </span>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n\r\n </div>\r\n\r\n </div>\r\n </div>\r\n");
$templateCache.put("plugins/developer/html/environments.html","<div class=\"project-dashboard\" ng-controller=\"Developer.ProjectController\" hawtio-card-bg>\r\n\r\n <div hawtio-breadcrumbs></div>\r\n <div hawtio-tabs></div>\r\n\r\n <!--\r\n <div class=\"row filter-header\">\r\n <div class=\"col-md-12\" ng-show=\"model.environments.length\">\r\n <span ng-show=\"!id\">\r\n <hawtio-filter ng-model=\"tableConfig.filterOptions.filterText\"\r\n css-class=\"input-xxlarge\"\r\n placeholder=\"Filter environments...\"></hawtio-filter>\r\n </span>\r\n </div>\r\n </div>\r\n -->\r\n\r\n <div ng-hide=\"model.fetched\">\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <div class=\"align-center\">\r\n <div class=\"spinner spinner-lg\"></div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div ng-show=\"model.fetched\" style=\"float: none; position: static;\">\r\n<!--\r\n <div class=\"row page-header-row\">\r\n <div class=\"col-md-12\">\r\n <h1 class=\"inline-block\">{{id}}</h1>\r\n </div>\r\n </div>\r\n-->\r\n\r\n <!--\r\n <div class=\"pull-right\">\r\n <a href=\"{{entity.$build.url}}\" class=\"btn btn-default\" target=\"browse\">\r\n <i class=\"{{entity.$build.iconClass}}\"></i>\r\n {{entity.$build.label}}\r\n </a>\r\n </div>\r\n -->\r\n\r\n <div class=\"row row-cards-pf\" title=\"{{env.description}}\">\r\n <div class=\"col-md-12 environment-rows\">\r\n <div class=\"card-pf\">\r\n <div class=\"card-pf-heading\">\r\n <h2 class=\"card-pf-title inline-block\">Environments Overview</h2>\r\n </div>\r\n <div class=\"card-pf-body\">\r\n <div ng-hide=\"entity.environments.length\">\r\n <div class=\"row\">\r\n <div class=\"col-md-12 align-center\">\r\n <h2>No Environment Available</h2>\r\n <p>Environment is a logical place where deployments happen which maps to a kubernetes / openshift namespace. You will see environments here after you add a build.</p>\r\n <a class=\"btn btn-primary\" ng-href=\"{{settingsLink}}\"><i class=\"fa fa-plus\"></i> New Build</a>\r\n </div>\r\n </div>\r\n </div>\r\n <div ng-show=\"entity.environments.length\">\r\n <div ng-repeat=\"env in entity.environments | filter:filterTemplates track by $index\"\r\n class=\"inline-block environment-block\" ng-include=\"\'plugins/developer/html/environmentPanel.html\'\">\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div class=\"row row-cards-pf\">\r\n <div class=\"col-md-12\">\r\n <div class=\"card-pf pipeline\">\r\n <div class=\"card-pf-heading no-border\">\r\n <h2 class=\"card-pf-title inline-block\">Active Pipelines</h4>\r\n <a ng-href=\"{{$projectLink}}/jenkinsJob/{{jobId}}/pipelines\">View All Pipelines >></a>\r\n </div>\r\n <div class=\"card-pf-body no-top-margin\">\r\n <div class=\"full-card-width\" ng-controller=\"Developer.PipelinesController\" ng-include=\"\'plugins/kubernetes/html/pendingPipelines.html\'\"></div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div class=\"row row-cards-pf\">\r\n <div class=\"col-md-12\">\r\n <div class=\"card-pf\">\r\n <div class=\"card-pf-heading\">\r\n <h2 class=\"card-pf-title inline-block\">Commits</h2>\r\n <a ng-href=\"{{$projectLink}}/wiki/history//\">View All Commits >></a>\r\n </div>\r\n <div class=\"card-pf-body\">\r\n <div ng-include=\"\'plugins/wiki/html/projectCommitsPanel.html\'\"></div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n</div>\r\n");
$templateCache.put("plugins/developer/html/fileMigrationTask.html","<div ng-controller=\"Developer.KubeTaskController\">\r\n <div class=\"row\">\r\n <div hawtio-breadcrumbs></div>\r\n </div>\r\n <div class=\"row\">\r\n <div hawtio-tabs></div>\r\n </div>\r\n <div class=\"container-content \">\r\n <div class=\"row align-center mb10\" ng-hide=\"model.transferTasks.length\">\r\n <p class=\"alert alert-info\">当前没有可以查看的任务列表!</p>\r\n </div>\r\n <div class=\"row mb10\" ng-show=\"model.transferTasks.length\">\r\n <table class=\"table table-bordered table-striped sj_content_table\" hawtio-simple-table=\"tableConfig\" />\r\n </div>\r\n </div>\r\n</div>\r\n");
$templateCache.put("plugins/developer/html/home.html","<div ng-controller=\"Developer.HomeController\">\r\n <div class=\"jumbotron\">\r\n <h1>Perspectives</h1>\r\n\r\n <p>\r\n Please choose the perspective you would like to use:\r\n </p>\r\n </div>\r\n <div class=\"row\">\r\n\r\n <div class=\"col-md-6\">\r\n <p class=\"text-center\">\r\n <a class=\"btn btn-lg btn-primary\" href=\"/workspaces\" role=\"button\"\r\n title=\"Create or work on Projects\">\r\n <i class=\"fa fa-tasks\"></i>\r\n &nbspDevelop »\r\n </a>\r\n </p>\r\n\r\n <p class=\"text-center\">\r\n Work on projects and source code\r\n </p>\r\n </div>\r\n <div class=\"col-md-6\">\r\n <p class=\"text-center\">\r\n <a class=\"btn btn-lg btn-primary\" href=\"/namespaces\" role=\"button\"\r\n title=\"Look around the various Namespaces at running Pods and Services\">\r\n <i class=\"fa fa-cubes\"></i>\r\n &nbsp;Operate »\r\n </a>\r\n </p>\r\n\r\n <p class=\"text-center\">\r\n Manage and run Pods and Services\r\n </p>\r\n </div>\r\n </div>\r\n</div>");
$templateCache.put("plugins/developer/html/jenkinsApproveModal.html","<div class=\"modal-header\">\r\n <h3 class=\"modal-title\">{{operation}}?</h3>\r\n</div>\r\n<div class=\"modal-body\">\r\n Are you sure you wish to {{operation}}?\r\n</div>\r\n<div class=\"modal-footer\">\r\n <button class=\"btn btn-primary\" ng-click=\"ok()\">{{operation}}</button>\r\n <button class=\"btn btn-warning\" ng-click=\"cancel()\">Cancel</button>\r\n</div>\r\n");
$templateCache.put("plugins/developer/html/jenkinsJob.html","<div class=\"row\" ng-controller=\"Developer.JenkinsJobController\">\r\n <script type=\"text/ng-template\" id=\"jenkinsBuildIdTemplate.html\">\r\n <div class=\"ngCellText\" title=\"{{row.entity.fullDisplayName}} {{row.entity.result}}\">\r\n <a href=\"{{row.entity.$logsLink}}\" title=\"View the build logs\">\r\n <i class=\"{{row.entity.$iconClass}}\"></i>&nbsp;&nbsp;{{row.entity.displayName}}\r\n </a>\r\n </div>\r\n </script>\r\n <script type=\"text/ng-template\" id=\"jenkinsBuildButtonsTemplate.html\">\r\n <div class=\"ngCellText\">\r\n <a class=\"btn btn-default\" href=\"{{row.entity.$pipelineLink}}\" ng-show=\"row.entity.$pipelineLink\" target=\"View the pipeline for this build\">\r\n <i class=\"fa fa-tasks\"></i> Pipeline\r\n </a>\r\n &nbsp;&nbsp;\r\n <a class=\"btn btn-default\" href=\"{{row.entity.$logsLink}}\" ng-show=\"row.entity.$logsLink\" title=\"View the build logs\">\r\n <i class=\"fa fa-tasks\"></i> Logs\r\n </a>\r\n </div>\r\n </script>\r\n <script type=\"text/ng-template\" id=\"jenkinsBuildTimestampTemplate.html\">\r\n <div class=\"ngCellText\" title=\"Build started at: {{row.entity.$timestamp}}\">\r\n {{row.entity.$timestamp.relative()}}\r\n </div>\r\n </script>\r\n <script type=\"text/ng-template\" id=\"jenkinsBuildDurationTemplate.html\">\r\n <div class=\"ngCellText\" title=\"Build took {{row.entity.$duration}} milliseconds\">\r\n {{row.entity.$duration.duration()}}\r\n </div>\r\n </script>\r\n\r\n\r\n <div class=\"row\">\r\n <div hawtio-breadcrumbs></div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div hawtio-tabs></div>\r\n </div>\r\n\r\n <div class=\"row filter-header\">\r\n <div class=\"col-md-12\">\r\n <span>\r\n <hawtio-filter ng-show=\"job.builds.length\"\r\n ng-model=\"tableConfig.filterOptions.filterText\"\r\n css-class=\"input-xxlarge\"\r\n placeholder=\"Filter builds...\"></hawtio-filter>\r\n </span>\r\n <button ng-show=\"fetched\"\r\n title=\"Delete this build history\"\r\n class=\"btn btn-danger pull-right\"\r\n ng-disabled=\"tableConfig.selectedItems.length == 0\"\r\n ng-click=\"deletePrompt(tableConfig.selectedItems)\">\r\n <i class=\"fa fa-remove\"></i> Delete\r\n </button>\r\n\r\n <a class=\"btn btn-primary pull-right\" ng-click=\"triggerBuild()\"\r\n title=\"Trigger this build\">\r\n <i class=\"fa fa-play-circle-o\"></i> Trigger</a>\r\n </a>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <div ng-hide=\"model.fetched\">\r\n <div class=\"align-center\">\r\n <i class=\"fa fa-spinner fa-spin\"></i>\r\n </div>\r\n </div>\r\n <div ng-show=\"model.fetched\">\r\n <div ng-hide=\"job.builds.length\" class=\"align-center\">\r\n <p class=\"alert alert-info\">There are no builds in this job.</p>\r\n </div>\r\n <div ng-show=\"job.builds.length\">\r\n <table class=\"table table-bordered table-striped\" hawtio-simple-table=\"tableConfig\"></table>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n");
$templateCache.put("plugins/developer/html/jenkinsJobs.html","<div class=\"row\" ng-controller=\"Developer.JenkinsJobsController\">\r\n <script type=\"text/ng-template\" id=\"jenkinsJobNameTemplate.html\">\r\n <div class=\"ngCellText\" title=\"{{row.entity.fullDisplayName}} {{row.entity.result}}\">\r\n <a href=\"{{row.entity.$buildsLink}}\">\r\n <i class=\"{{row.entity.$iconClass}}\"></i>&nbsp;&nbsp;{{row.entity.displayName}}\r\n </a>\r\n </div>\r\n </script>\r\n <script type=\"text/ng-template\" id=\"jenkinsJobButtonsTemplate.html\">\r\n <div class=\"ngCellText\">\r\n <a class=\"btn btn-default\" href=\"{{row.entity.$pipelinesLink}}\" ng-show=\"row.entity.$pipelinesLink\" title=\"View the pipelines for this build\">\r\n <i class=\"fa fa-tasks\"></i> Pipelines\r\n </a>\r\n </div>\r\n </script>\r\n <script type=\"text/ng-template\" id=\"jenkinsBuildTimestampTemplate.html\">\r\n <div class=\"ngCellText\" title=\"Build started at: {{row.entity.$timestamp}}\">\r\n {{row.entity.$timestamp.relative()}}\r\n </div>\r\n </script>\r\n <script type=\"text/ng-template\" id=\"jenkinsBuildDurationTemplate.html\">\r\n <div class=\"ngCellText\" title=\"Build took {{row.entity.$duration}} milliseconds\">\r\n {{row.entity.$duration.duration()}}\r\n </div>\r\n </script>\r\n <script type=\"text/ng-template\" id=\"jenkinsLastSuccessTemplate.html\">\r\n <div class=\"ngCellText\" ng-init=\"success=row.entity.lastSuccessfulBuild\">\r\n <span title=\"Build took {{success.$duration.duration()}} milliseconds\">\r\n <span ng-show=\"success\">\r\n {{success.$timestamp.relative()}}\r\n </span>\r\n <span ng-show=\"success.$buildLink\">\r\n -\r\n <a href=\"{{success.$buildLink}}\" target=\"build\" title=\"View the builds\">\r\n {{success.displayName}}\r\n </a>\r\n </span>\r\n </span>\r\n </div>\r\n </script>\r\n <script type=\"text/ng-template\" id=\"jenkinsLastFailureTemplate.html\">\r\n <div class=\"ngCellText\" ng-init=\"fail=row.entity.lastFailedBuild\">\r\n <span title=\"Build took {{fail.$duration.duration()}} milliseconds\">\r\n <span ng-show=\"fail\">\r\n {{fail.$timestamp.relative()}}\r\n </span>\r\n <span ng-show=\"fail.$buildLink\">\r\n -\r\n <a href=\"{{fail.$buildLink}}\" target=\"build\" title=\"View the builds\">\r\n {{fail.displayName}}\r\n </a>\r\n </span>\r\n </span>\r\n </div>\r\n </script>\r\n\r\n\r\n <div class=\"row\">\r\n <div hawtio-breadcrumbs></div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div hawtio-tabs></div>\r\n </div>\r\n\r\n <div class=\"row filter-header\">\r\n <div class=\"col-md-12\">\r\n <span>\r\n <hawtio-filter ng-show=\"jenkins.jobs.length\"\r\n ng-model=\"tableConfig.filterOptions.filterText\"\r\n css-class=\"input-xxlarge\"\r\n placeholder=\"Filter jobs...\"></hawtio-filter>\r\n </span>\r\n <a class=\"btn btn-primary pull-right\" ng-click=\"triggerBuild()\"\r\n title=\"Trigger this build\">\r\n <i class=\"fa fa-play-circle-o\"></i> Trigger</a>\r\n </a>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <div ng-hide=\"model.fetched\">\r\n <div class=\"align-center\">\r\n <i class=\"fa fa-spinner fa-spin\"></i>\r\n </div>\r\n </div>\r\n <div ng-show=\"model.fetched\">\r\n <div ng-hide=\"jenkins.jobs.length\" class=\"align-center\">\r\n <p class=\"alert alert-info\">There are no jobs in this jenkins.</p>\r\n </div>\r\n <div ng-show=\"jenkins.jobs.length\">\r\n <table class=\"table table-bordered table-striped\" hawtio-simple-table=\"tableConfig\"></table>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n");
$templateCache.put("plugins/developer/html/jenkinsLog.html","<div class=\"row\" ng-controller=\"Developer.JenkinsLogController\">\r\n <div class=\"row\">\r\n <div hawtio-breadcrumbs></div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div hawtio-tabs></div>\r\n </div>\r\n\r\n <div class=\"row filter-header\">\r\n <div class=\"col-md-12\">\r\n <span>\r\n <hawtio-filter ng-model=\"log.filterText\"\r\n css-class=\"input-xxlarge\"\r\n placeholder=\"Filter logs...\"></hawtio-filter>\r\n </span>\r\n <a class=\"btn btn-default pull-right\" target=\"jenkins\" href=\"{{$viewJenkinsLogLink}}\" ng-show=\"$viewJenkinsLogLink\"\r\n title=\"View this log inside Jenkins\">\r\n <i class=\"fa fa-external-link\"></i> Log in Jenkins</a>\r\n </a>\r\n <span class=\"pull-right\">&nbsp;</span>\r\n <a class=\"btn btn-default pull-right\" target=\"jenkins\" href=\"{{$viewJenkinsBuildLink}}\" ng-show=\"$viewJenkinsBuildLink\"\r\n title=\"View this build inside Jenkins\">\r\n <i class=\"fa fa-external-link\"></i> Build in Jenkins</a>\r\n </a>\r\n </div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <div class=\"log-window\" viewport-height scroll-glue>\r\n <div class=\"log-window-inner\" >\r\n <p ng-repeat=\"log in log.logs | filter:log.filterText track by $index\" ng-bind-html=\"log | asTrustedHtml\"></p>\r\n </div>\r\n </div>\r\n\r\n </div>\r\n </div>\r\n</div>\r\n");
$templateCache.put("plugins/developer/html/jenkinsMetrics.html","<div class=\"row\" ng-controller=\"Developer.JenkinsMetricsController\">\r\n <div class=\"row\">\r\n <div hawtio-breadcrumbs></div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div hawtio-tabs></div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <div ng-hide=\"model.fetched\">\r\n <div class=\"align-center\">\r\n <i class=\"fa fa-spinner fa-spin\"></i>\r\n </div>\r\n </div>\r\n <div ng-show=\"model.fetched\">\r\n <div ng-hide=\"metrics.builds.length\" class=\"align-center\">\r\n <p class=\"alert alert-info\">There are no completed builds in this job.</p>\r\n </div>\r\n <div ng-show=\"metrics.builds.length\">\r\n <nvd3 options=\"options\" data=\"data\" api=\"api\"></nvd3>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n");
$templateCache.put("plugins/developer/html/logPanel.html","<div class=\"log-panel\" ng-controller=\"Developer.JenkinsLogController\" scroll-glue>\r\n <div class=\"log-panel-inner\" style=\"height: 25px;\">\r\n <p ng-repeat=\"log in log.logs track by $index\" ng-bind-html=\"log | asTrustedHtml\"></p>\r\n </div>\r\n</div>\r\n\r\n\r\n");
$templateCache.put("plugins/developer/html/overview.html","");
$templateCache.put("plugins/developer/html/pipeline.html","<div class=\"row\" ng-controller=\"Developer.PipelineController\">\r\n <div class=\"row\">\r\n <div hawtio-breadcrumbs></div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div hawtio-tabs></div>\r\n </div>\r\n\r\n <div class=\"row filter-header\">\r\n <div class=\"col-md-12\">\r\n <span>\r\n <hawtio-filter ng-show=\"model.stages.length\"\r\n ng-model=\"model.filterText\"\r\n css-class=\"input-xxlarge\"\r\n placeholder=\"Filter pipeline...\"></hawtio-filter>\r\n </span>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <div ng-hide=\"model.fetched\">\r\n <div class=\"align-center\">\r\n <i class=\"fa fa-spinner fa-spin\"></i>\r\n </div>\r\n </div>\r\n <div ng-show=\"model.fetched\">\r\n <div ng-hide=\"model.stages.length\" class=\"align-center\">\r\n <p class=\"alert alert-info\">There are no pipeline stages in this build.</p>\r\n </div>\r\n <div ng-show=\"model.stages.length\">\r\n\r\n <h2>Pipeline for {{jobId}}</h2>\r\n\r\n <div pipeline-view></div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n");
$templateCache.put("plugins/developer/html/pipelineView.html","<div class=\"panel-group\">\r\n <div class=\"panel panel-default\">\r\n <div class=\"panel-heading\">\r\n <h2 class=\"panel-title\">\r\n <a data-toggle=\"collapse\" data-parent=\".panel-group\" href=\"#build-{{build.id}}\">\r\n Build {{build.displayName}}\r\n </a>\r\n <span class=\"pull-right\" title=\"This build started at {{build.$timestamp}}\">\r\n started {{build.$timestamp.relative()}}\r\n </span>\r\n </h2>\r\n </div>\r\n\r\n <div id=\"build-{{build.id}}\" class=\"panel-collapse collapse in\">\r\n <div class=\"panel-body\">\r\n\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <!--\r\n <div class=\"pipeline-build inline-block\"\r\n title=\"{{build.description || \'Pipeline build number \' + build.displayName}}\">\r\n <div class=\"buildName\">\r\n <a href=\"{{build.$viewLink}}\" title=\"View the build details\">\r\n {{build.displayName}}\r\n </a>\r\n <span class=\"buildParameters pull-right\" ng-show=\"$parameterText\">\r\n <i class=\"fa fa-ellipsis-v\" title=\"build parameters: {{build.$parameterText}}\"></i>\r\n </span>\r\n </div>\r\n\r\n <div class=\"buildDuration text-center\">\r\n <a href=\"{{build.$logLink}}\" title=\"This build started at {{build.$timestamp}}\">\r\n started {{build.$timestamp.relative()}}\r\n </a>\r\n </div>\r\n </div>\r\n -->\r\n\r\n <div ng-repeat=\"stage in build.stages | filter:model.filterText track by $index\" class=\"inline-block\">\r\n <div class=\"pipeline-arrow inline-block\" ng-show=\"$index\">\r\n <i class=\"fa fa-angle-double-right\"></i>\r\n </div>\r\n <div class=\"pipeline-deploy {{stage.$backgroundClass}} inline-block\">\r\n <div class=\"text-center stageName\" title=\"{{stage.status}}\"><i class=\"{{stage.$iconClass}}\"></i>\r\n <a href=\"{{stage.$viewLink}}\" title=\"This stage started at {{stage.$startTime}}\" target=\"jenkins\">\r\n {{stage.stageName}}\r\n </a>\r\n </div>\r\n <div class=\"text-center stageStartTime\" title=\"Stage started at {{stage.$startTime}}\">\r\n <a href=\"{{stage.$logLink}}\" title=\"View the logs of this stage\">\r\n {{stage.duration.duration()}}\r\n </a>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n </div>\r\n </div>\r\n <div class=\"row\" ng-show=\"hideLogs && !build.building\">\r\n <div class=\"col-md-12\">\r\n <a href=\"{{build.$logLink}}\" class=\"pull-right\">View Full Log</a>\r\n </div>\r\n </div>\r\n <div class=\"row\" ng-hide=\"hideLogs && !build.building\">\r\n <div class=\"col-md-12\">\r\n <h4 class=\"inline-block\">Logs</h4>\r\n <a href=\"{{build.$logLink}}\" class=\"pull-right\">View Full Log</a>\r\n <div style=\"height: 250px;\" ng-include=\"\'plugins/developer/html/logPanel.html\'\"></div>\r\n </div>\r\n </div>\r\n\r\n </div>\r\n </div>\r\n\r\n\r\n </div>\r\n</div>\r\n");
$templateCache.put("plugins/developer/html/pipelines.html","<div class=\"row\" ng-controller=\"Developer.PipelinesController\">\r\n <div hawtio-breadcrumbs></div>\r\n <div hawtio-tabs></div>\r\n\r\n <div class=\"row filter-header\">\r\n <div class=\"col-md-4\">\r\n <span>\r\n <hawtio-filter ng-show=\"model.job.builds.length\"\r\n ng-model=\"model.filterText\"\r\n css-class=\"input-xxlarge\"\r\n placeholder=\"Filter pipelines...\"></hawtio-filter>\r\n </span>\r\n </div>\r\n <div class=\"col-md-4\">\r\n <form class=\"form-inline\">\r\n <div class=\"checkbox\" title=\"Only show build pipelines which are pending\">\r\n <label>\r\n <input type=\"checkbox\" ng-model=\"model.pendingOnly\"> &nbsp;Only pending builds\r\n </label>\r\n </div>\r\n </form>\r\n\r\n </div>\r\n </div>\r\n <div class=\"row\" ng-init=\"hideLogs = true\">\r\n <div class=\"col-md-12\">\r\n <div ng-hide=\"model.fetched\">\r\n <div class=\"align-center\">\r\n <i class=\"fa fa-spinner fa-spin\"></i>\r\n </div>\r\n </div>\r\n <div ng-show=\"model.fetched\">\r\n <div ng-hide=\"model.job.builds.length\" class=\"align-center\">\r\n <p class=\"alert alert-info\">There are no pipelines for this job.</p>\r\n </div>\r\n <div ng-show=\"model.job.builds.length\">\r\n <div ng-repeat=\"build in model.job.builds | filter:model.filterText track by $index\">\r\n <div pipeline-view></div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n");
$templateCache.put("plugins/developer/html/projectDetail.html","<div ng-controller=\"Kubernetes.BuildConfigController\">\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <span class=\"pull-right\">&nbsp;</span>\r\n <a class=\"btn btn-default pull-right\"\r\n href=\"{{baseUri}}/kubernetes/buildConfigs\"><i class=\"fa fa-list\"></i></a>\r\n <div class=\"pull-right\" ng-repeat=\"view in entity.$fabric8Views | orderBy:\'label\'\">\r\n <a title=\"{{view.description}}\" ng-show=\"view.url\" ng-href=\"{{view.url}}\" class=\"btn btn-default\">\r\n <i class=\"{{view.iconClass}}\" ng-show=\"view.iconClass\"></i>\r\n {{view.label}}\r\n </a>\r\n <span class=\"pull-right\" ng-show=\"view.url\" >&nbsp;</span>\r\n </div>\r\n <span class=\"pull-right\">&nbsp;</span>\r\n <button class=\"btn btn-primary pull-right\"\r\n title=\"Trigger this build\"\r\n ng-disabled=\"!entity.$triggerUrl\"\r\n ng-click=\"triggerBuild(entity)\"><i class=\"fa fa-play-circle-o\"></i> Trigger</button>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div hawtio-breadcrumbs></div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <div ng-hide=\"model.fetched\">\r\n <div class=\"align-center\">\r\n <i class=\"fa fa-spinner fa-spin\"></i>\r\n </div>\r\n </div>\r\n <div ng-show=\"model.fetched\">\r\n <div hawtio-object=\"entity\" config=\"config\"></div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n");
$templateCache.put("plugins/developer/html/projectSelector.html","<ul class=\"project-selector\" ng-controller=\"Developer.ProjectSelector\" ng-show=\'projectId\'>\r\n <li class=\"dropdown\">\r\n <a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\">\r\n <strong ng-bind=\"projectId\"></strong>\r\n <b class=\"caret\"></b>\r\n </a>\r\n <ul class=\"dropdown-menu\">\r\n <li ng-repeat=\'project in projects\'>\r\n <a ng-href=\"{{project.$viewLink}}\">{{project.$name}}</a>\r\n </li>\r\n </ul>\r\n </li>\r\n</ul>\r\n");
$templateCache.put("plugins/developer/html/projects.html","<div class=\"row\" ng-controller=\"Developer.ProjectsController\">\r\n <script type=\"text/ng-template\" id=\"buildConfigLinkTemplate.html\">\r\n <div class=\"ngCellText\">\r\n <a title=\"View details for this build configuration\"\r\n href=\"{{baseUri}}/kubernetes/buildConfigs/{{row.entity.metadata.name}}\">\r\n<!--\r\n <img class=\"app-icon-small\" ng-src=\"{{row.entity.$iconUrl}}\">\r\n-->\r\n {{row.entity.metadata.name}}</a>\r\n </div>\r\n </script>\r\n <script type=\"text/ng-template\" id=\"buildConfigViewsTemplate.html\">\r\n <div class=\"ngCellText\">\r\n <span ng-repeat=\"view in row.entity.$fabric8Views track by $index\">\r\n <a title=\"{{view.description}}\" ng-show=\"view.url\" ng-href=\"{{view.url}}\" class=\"btn btn-default\">\r\n <i class=\"{{view.iconClass}}\" ng-show=\"view.iconClass\"></i>\r\n {{view.label}}\r\n </a>\r\n </span>\r\n </div>\r\n </script>\r\n <script type=\"text/ng-template\" id=\"buildConfigCodeViewsTemplate.html\">\r\n <div class=\"ngCellText\">\r\n <span ng-repeat=\"view in row.entity.$fabric8CodeViews track by $index\">\r\n <a title=\"{{view.description}}\" ng-show=\"view.url\" ng-href=\"{{view.url}}\" class=\"btn btn-default\">\r\n <i class=\"{{view.iconClass}}\" ng-show=\"view.iconClass\"></i>\r\n {{view.label}}\r\n </a>\r\n </span>\r\n </div>\r\n </script>\r\n <script type=\"text/ng-template\" id=\"buildConfigBuildViewsTemplate.html\">\r\n <div class=\"ngCellText\">\r\n <span ng-repeat=\"view in row.entity.$fabric8BuildViews track by $index\">\r\n <a title=\"{{view.description}}\" ng-show=\"view.url\" ng-href=\"{{view.url}}\" class=\"btn btn-default\">\r\n <i class=\"{{view.iconClass}}\" ng-show=\"view.iconClass\"></i>\r\n {{view.label}}\r\n </a>\r\n </span>\r\n </div>\r\n </script>\r\n <script type=\"text/ng-template\" id=\"buildConfigEnvironmentViewsTemplate.html\">\r\n <div class=\"ngCellText\">\r\n <span ng-repeat=\"view in row.entity.$fabric8EnvironmentViews track by $index\">\r\n <a title=\"{{view.description}}\" ng-show=\"view.url\" ng-href=\"{{view.url}}\" class=\"btn btn-default\">\r\n <i class=\"{{view.iconClass}}\" ng-show=\"view.iconClass\"></i>\r\n {{view.label}}\r\n </a>\r\n </span>\r\n </div>\r\n </script>\r\n <script type=\"text/ng-template\" id=\"buildConfigTeamViewsTemplate.html\">\r\n <div class=\"ngCellText\">\r\n <span ng-repeat=\"view in row.entity.$fabric8TeamViews track by $index\">\r\n <a title=\"{{view.description}}\" ng-show=\"view.url\" ng-href=\"{{view.url}}\" class=\"btn btn-default\">\r\n <i class=\"{{view.iconClass}}\" ng-show=\"view.iconClass\"></i>\r\n {{view.label}}\r\n </a>\r\n </span>\r\n </div>\r\n </script>\r\n\r\n <div class=\"row\">\r\n <div hawtio-tabs></div>\r\n </div>\r\n\r\n <div class=\"row filter-header\">\r\n <div class=\"col-md-12\">\r\n <span>\r\n <hawtio-filter ng-show=\"model.buildconfigs.length\"\r\n ng-model=\"tableConfig.filterOptions.filterText\"\r\n css-class=\"input-xxlarge\"\r\n placeholder=\"Filter apps...\"></hawtio-filter>\r\n </span>\r\n <span class=\"pull-right\">&nbsp;</span>\r\n <button ng-show=\"fetched\"\r\n title=\"Delete the selected build configuration\"\r\n class=\"btn btn-danger pull-right\"\r\n ng-disabled=\"tableConfig.selectedItems.length == 0\"\r\n ng-click=\"deletePrompt(tableConfig.selectedItems)\">\r\n <i class=\"fa fa-remove\"></i> Delete\r\n </button>\r\n\r\n <button ng-show=\"model.fetched\"\r\n class=\"btn btn-danger pull-right\"\r\n ng-disabled=\"!id && tableConfig.selectedItems.length == 0\"\r\n ng-click=\"deletePrompt(id || tableConfig.selectedItems)\"\r\n title=\"Delete the selected apps\">\r\n <i class=\"fa fa-remove\"></i> Delete\r\n </button>\r\n\r\n <span class=\"pull-right\">&nbsp;</span>\r\n\r\n <a class=\"btn btn-primary pull-right\" href=\"{{baseUri}}/workspaces/{{namespace}}/forge/createProject\"\r\n title=\"Create a new app in this project\">\r\n <i class=\"fa fa-plus\"></i> Create App</a>\r\n </a>\r\n\r\n<!--\r\n <span class=\"pull-right\">&nbsp;</span>\r\n\r\n <button class=\"btn btn-default pull-right\"\r\n title=\"Trigger the given build\"\r\n ng-disabled=\"tableConfig.selectedItems.length != 1 || !tableConfig.selectedItems[0].$triggerUrl\"\r\n ng-click=\"triggerBuild(tableConfig.selectedItems[0])\"><i class=\"fa fa-play-circle-o\"></i> Trigger</button>\r\n-->\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <div ng-hide=\"model.fetched\">\r\n <div class=\"align-center\">\r\n <i class=\"fa fa-spinner fa-spin\"></i>\r\n </div>\r\n </div>\r\n <div ng-show=\"model.fetched\">\r\n <div ng-hide=\"model.buildconfigs.length\" class=\"align-center\">\r\n <p class=\"alert alert-info\">There are no projects in this workspace.</p>\r\n </div>\r\n <div ng-show=\"model.buildconfigs.length\">\r\n <table class=\"table table-bordered table-striped\" hawtio-simple-table=\"tableConfig\"></table>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n");
$templateCache.put("plugins/developer/html/tools.html","<div ng-controller=\"Kubernetes.BuildConfigController\">\r\n <div class=\"row\">\r\n <div hawtio-breadcrumbs></div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div hawtio-tabs></div>\r\n </div>\r\n\r\n <div class=\"row filter-header\">\r\n <div class=\"col-md-12\" ng-show=\"model.tools.length\">\r\n <span ng-show=\"!id\">\r\n <hawtio-filter ng-model=\"tableConfig.filterOptions.filterText\"\r\n css-class=\"input-xxlarge\"\r\n placeholder=\"Filter tools...\"></hawtio-filter>\r\n </span>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <div ng-hide=\"model.fetched\">\r\n <div class=\"align-center\">\r\n <i class=\"fa fa-spinner fa-spin\"></i>\r\n </div>\r\n </div>\r\n <div ng-show=\"model.fetched\">\r\n <div ng-hide=\"entity.tools.length\" class=\"align-center\">\r\n <p class=\"alert alert-info\">There are no tools currently available.</p>\r\n </div>\r\n <div ng-show=\"entity.tools.length\">\r\n <div ng-hide=\"entity.tools.length\" class=\"align-center\">\r\n <p class=\"alert alert-info\">There are no tools currently available.</p>\r\n </div>\r\n <div ng-repeat=\"env in entity.tools | filter:filterTemplates | orderBy:\'label\' track by $index\">\r\n <div class=\"row\"\r\n title=\"{{env.description}}\">\r\n <div class=\"col-md-9\">\r\n <a href=\"{{env.url}}\">\r\n <h3>\r\n <i class=\"{{env.iconClass}}\"></i>\r\n {{env.label}}\r\n </h3>\r\n </a>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n");
$templateCache.put("plugins/developer/html/workspace.html","<div ng-controller=\"Developer.WorkspaceController\">\r\n <div class=\"row\">\r\n <div hawtio-breadcrumbs></div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div hawtio-tabs></div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <a class=\"btn btn-default pull-right\"\r\n href=\"{{baseUri}}/kubernetes/workspaces\"><i class=\"fa fa-list\"></i></a>\r\n <span class=\"pull-right\">&nbsp;</span>\r\n <a class=\"btn btn-default pull-right\" ng-show=\"entity.$configLink\"\r\n title=\"View the workspace configuration\"\r\n href=\"{{entity.$configLink}}\">\r\n Configuration\r\n </a>\r\n <span class=\"pull-right\">&nbsp;</span>\r\n <a class=\"btn btn-default pull-right\" ng-show=\"entity.$podLink\"\r\n title=\"View the workspace pod\"\r\n href=\"{{entity.$podLink}}\">\r\n Pod\r\n </a>\r\n <span class=\"pull-right\">&nbsp;</span>\r\n <a class=\"btn btn-primary pull-right\" ng-show=\"entity.$logsLink\"\r\n title=\"View the workspace logs\"\r\n href=\"{{entity.$logsLink}}\">\r\n View Log\r\n </a>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <div ng-hide=\"model.fetched\">\r\n <div class=\"align-center\">\r\n <i class=\"fa fa-spinner fa-spin\"></i>\r\n </div>\r\n </div>\r\n <div ng-show=\"model.fetched\">\r\n <div hawtio-object=\"entity\" config=\"config\"></div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n");
$templateCache.put("plugins/developer/html/workspaces.html","<div ng-controller=\"Developer.WorkspacesController\" hawtio-card-bg>\r\n <div hawtio-breadcrumbs></div>\r\n <div hawtio-tabs></div>\r\n <div class=\"container-content \">\r\n <div class=\"container-fluid sj_fluid\">\r\n <div class=\"row nav-content mb10 clear \">\r\n <ul class=\"nav nav-tabs sj_nav_taps fl\" ng-show=\"navbarItems.length\">\r\n <li role=\"presentation\" ng-repeat=\"item in navbarItems\" class=\"{{item.class}}\"><a href=\"#\" ng-click=\"selectBatchItem(item)\">{{item.label}}</a></li>\r\n </ul>\r\n <div class=\"fr sj_searchbox\">\r\n <input type=\"text\" class=\"sj_search_input\" ng-model=\"keyQuery\" placeholder=\"请选择或输入关键字,多关键字请用空格隔开\" onkeydown=\"if(event.keyCode==13){searchButton.click()}\"/>\r\n <a href=\"#\" class=\"sj_search_btn\" id=\"searchButton\" ng-click=\"search()\"></a>\r\n </div>\r\n </div>\r\n <div ng-hide=\"model.data.length\" class=\"align-center\">\r\n <p class=\"alert alert-info\">当前没有可以查看的数据.</p>\r\n </div>\r\n <div ng-show=\"model.data.length\">\r\n <table class=\"table table-striped table-bordered sj_content_table\" hawtio-simple-table=\"tableConfig\" id=\"tableConfig\"></table>\r\n <div class=\"row clear\">\r\n <div class=\" fl\">\r\n <!--<input type=\"checkbox\" class=\"fl mr5 \" style=\"margin-top: 8px;\" />\r\n <label class=\"fl mr5 \" style=\"margin-top: 5px; font-style:nomal;\">全选</label>-->\r\n <span class=\"pull-right\">&nbsp;</span>\r\n <button class=\"btn pull-right sj_btn_grey \" ng-disabled=\"!id && tableConfig.selectedItems.length == 0\" ng-click=\"deletePrompt(id || tableConfig.selectedItems)\">\r\n <i class=\"glyphicon glyphicon-trash\"></i> 删除\r\n </button>\r\n <span class=\"pull-right\">&nbsp;</span>\r\n <button class=\"btn pull-right sj_btn_grey \" ng-disabled=\"!id && tableConfig.selectedItems.length == 0\" ng-click=\"migrationClick.open(id || tableConfig.selectedItems)\">\r\n <i class=\"glyphicon glyphicon-export\"></i> 迁移\r\n </button>\r\n <span class=\"pull-right\">&nbsp;</span>\r\n <button class=\"btn pull-right sj_btn_grey \" ng-disabled=\"!id && tableConfig.selectedItems.length == 0\" ng-click=\"createOracleService(id || tableConfig.selectedItems)\">\r\n <i class=\"glyphicon glyphicon-play-circle\"></i> 启动\r\n </button>\r\n </div>\r\n <ul class=\"fr sj_table_bottom\">\r\n <li class=\"mr5 \">当前显示1~{{model.data.length}}行,共{{model.data.length}}行。</li>\r\n <li class=\"mr5 \">每页显示\r\n <select ng-options=\"value for value in pageSizeChoses\" ng-change=\"selectAction()\" ng-model=\"options.currentTableSize\"></select>行\r\n </li>\r\n <li class=\"mr5 \">当前页码</li>\r\n <li>\r\n <div class=\"hawtio-pager clearfix\">\r\n <label>{{options.currentPageNum}} / {{options.getPageSizeNum()}}</label>\r\n <div class=btn-group>\r\n <button class=\"btn sj_btn_grey\" ng-disabled=\"isEmptyOrFirst()\" ng-click=\"first()\"><i class=\"fa fa-fast-backward\"></i></button>\r\n <button class=\"btn sj_btn_grey\" ng-disabled=\"isEmptyOrFirst()\" ng-click=\"previous()\"><i class=\"fa fa-step-backward\"></i></button>\r\n <button class=\"btn sj_btn_grey \" ng-disabled=\"isEmptyOrLast()\" ng-click=\"next()\"><i class=\"fa fa-step-forward\"></i></button>\r\n <button class=\"btn sj_btn_grey\" ng-disabled=\"isEmptyOrLast()\" ng-click=\"last()\"><i class=\"fa fa-fast-forward\"></i></button>\r\n </div>\r\n </div>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div modal=\"migrationClick.dialog.show \">\r\n <form name=\"selectFolder \" class=\" \" ng-submit=\"migrationClick.onOk() \">\r\n <div class=\"modal-header sj_modal-header\">\r\n <h4>数据迁移</h4></div>\r\n <div class=\"modal-body sj_modal_body\">\r\n <div class=\"row sj_model_row\">\r\n <label class=\"col-sm-3 control-label sj_contro_label\" for=\"selectedItem \">\r\n 请选择迁移集群\r\n </label>\r\n <select ng-model=\"migrationClick.selectedItem \" class=\"col-sm-3 sj_modal_select\" title=\"name of the new namespace \" id=\"selectedItem \" ng-options=\"x.name for x in volumes \" />\r\n </div>\r\n <div class=\"form-group\">\r\n <div class=\"col-sm-12 alert alert-warning\" ng-show=\"!volumes || volumes.length == 0\">\r\n <span class=\"help-block\">\r\n\r\n 当前没有可以迁移的集群,请在数据集群配置页面进行配置!\r\n </span>\r\n </div>\r\n </div>\r\n <div ng-hide=\"!volumes || volumes.length == 0\">\r\n <treecontrol class=\"tree-classic\" tree-model=\"migrationClick.selectedItem.folder\" options=\"treeOptions\" on-selection=\"showSelected(node)\" selected-node=\"selectNode\">\r\n {{node.name}}\r\n </treecontrol>\r\n </div>\r\n </div>\r\n <div class=\"modal-footer \">\r\n <input class=\"btn btn-primary sj_btn_blue\" type=\"submit\" ng-disabled=\"!selectNode || selectNode.children.length <= 0\" value=\"确定\">\r\n <button class=\"btn btn-warning cancel sj_btn_grey\" type=\"button\" ng-click=\"migrationClick.close()\">取消</button>\r\n </div>\r\n </form>\r\n </div>\r\n <div class=\"prettify \"></div>\r\n</div>\r\n");
$templateCache.put("plugins/kubernetes/html/appDeployedTemplate.html","<div class=\"ngCellText\" title=\"deployed at: {{row.entity.$creationDate | date:\'yyyy-MMM-dd HH:mm:ss Z\'}}\">\r\n {{row.entity.$creationDate ? (row.entity.$creationDate | relativeTime) : \'\'}}\r\n</div>\r\n");
$templateCache.put("plugins/kubernetes/html/appDetailTemplate.html","<div class=\"service-view-rectangle\" ng-repeat=\"view in item.$serviceViews\" ng-hide=\"view.appName === \'kubernetes\'\">\r\n <div class=\"service-view-header row\">\r\n <div class=\"col-md-4\">\r\n <span class=\"service-view-icon\">\r\n <a ng-href=\"{{view.service | kubernetesPageLink}}\" title=\"View the service detail page\">\r\n <img ng-show=\"item.$iconUrl\" ng-src=\"{{item.$iconUrl}}\">\r\n </a>\r\n </span>\r\n <span class=\"service-view-name\" title=\"{{view.name}}\">\r\n <a ng-href=\"{{view.service | kubernetesPageLink}}\" title=\"View the service detail page\">\r\n {{view.appName}}\r\n </a>\r\n </span>\r\n </div>\r\n <div class=\"col-md-6\">\r\n <span class=\"service-view-address\" title=\"The service address\">\r\n <a ng-show=\"view.service.$connectUrl\" target=\"_blank\" href=\"{{view.service.$connectUrl}}\" title=\"Connect to the service\">\r\n {{view.service.$host}}\r\n </a>\r\n <span ng-hide=\"view.service.$connectUrl\">{{view.service.$host}}</span>\r\n </span>\r\n </div>\r\n <div class=\"col-md-2 align-right\">\r\n <a class=\"service-view-header-delete\" href=\"\" ng-click=\"deleteSingleApp(item)\" title=\"Delete this app\"><i\r\n class=\"fa fa-remove red\"></i></a>\r\n </div>\r\n </div>\r\n\r\n <div class=\"service-view-detail-rectangle\">\r\n <div class=\"service-view-detail-header row\">\r\n <div class=\"col-md-3\">\r\n <div class=\"service-view-detail-deployed\" ng-show=\"view.createdDate\"\r\n title=\"deployed at: {{view.createdDate | date:\'yyyy-MMM-dd HH:mm:ss Z\'}}\">\r\n deployed:\r\n <span class=\"value\">{{view.createdDate | relativeTime}}</span>\r\n </div>\r\n <div class=\"service-view-detail-deployed\" ng-hide=\"view.createdDate\">\r\n not deployed\r\n </div>\r\n </div>\r\n <div class=\"col-md-6\">\r\n <div class=\"service-view-detail-pod-template\" ng-show=\"view.controllerId\">\r\n pod template:\r\n <span class=\"value\" title=\"Go to the replication controller detail page\"><a\r\n ng-href=\"{{view.replicationController | kubernetesPageLink}}\">{{view.controllerId}}</a></span>\r\n </div>\r\n <div class=\"service-view-detail-pod-template\" ng-hide=\"view.controllerId\">\r\n no pod template\r\n </div>\r\n </div>\r\n <div class=\"col-md-3 service-view-detail-pod-counts align-right\">\r\n <span>\r\n pods:\r\n <a href=\"\" ng-show=\"view.replicationController\" class=\"badge badge-success\"\r\n ng-click=\"resizeDialog.open(view.replicationController)\"\r\n title=\"Resize the number of pods\">\r\n {{view.podCount}}\r\n </a>\r\n <span ng-hide=\"view.replicationController\" class=\"badge badge-info\">\r\n {{view.podCount}}\r\n </span>\r\n </span>\r\n </div>\r\n </div>\r\n\r\n <div class=\"service-view-detail-pod-box row\">\r\n <div class=\"col-md-12\">\r\n <div class=\"inline-block\" ng-repeat=\"pod in item.pods track by $index\">\r\n <div ng-show=\"podExpanded(pod)\" class=\"service-view-detail-pod-summary-expand\">\r\n <table>\r\n <tr>\r\n <td class=\"service-view-detail-pod-status\">\r\n <i ng-class=\"pod.statusClass\"></i>\r\n </td>\r\n <td class=\"service-view-detail-pod-connect\" ng-show=\"pod.$jolokiaUrl\"\r\n ng-controller=\"Kubernetes.ConnectController\">\r\n <a class=\"clickable\"\r\n ng-click=\"doConnect(pod)\"\r\n title=\"Open a new window and connect to this container\">\r\n <i class=\"fa fa-sign-in\"></i>\r\n </a>\r\n </td>\r\n <td>\r\n <div class=\"service-view-detail-pod-id\" title=\"{{pod.id}}\">\r\n <span class=\"value\">Pod <a title=\"Go to the pod detail page\" ng-href=\"{{pod | kubernetesPageLink}}\">{{pod.idAbbrev}}</a></span>\r\n </div>\r\n <div class=\"service-view-detail-pod-ip\">\r\n IP:\r\n <span class=\"value\">{{pod.status.podIP}}</span>\r\n </div>\r\n </td>\r\n <td>\r\n <div class=\"service-view-detail-pod-ports\">\r\n ports: <span class=\"value\">{{pod.$containerPorts.join(\", \")}}</span>\r\n </div>\r\n <div class=\"service-view-detail-pod-minion\">\r\n minion:\r\n <span class=\"value\">\r\n <a ng-show=\"pod.$host\" ng-href=\"{{baseUri}}/kubernetes/hosts/{{pod.$host}}\">{{pod.$host}}</a>\r\n </span>\r\n </div>\r\n </td>\r\n <td class=\"service-view-detail-pod-expand\" ng-click=\"collapsePod(pod)\">\r\n <i class=\"fa fa-chevron-left\"></i>\r\n </td>\r\n </tr>\r\n </table>\r\n <!--\r\n <div class=\"service-view-detail-pod-status\">\r\n status:\r\n <span class=\"value\">{{pod.status}}</span>\r\n </div>\r\n -->\r\n </div>\r\n\r\n <div ng-hide=\"podExpanded(pod)\" class=\"service-view-detail-pod-summary\">\r\n <table>\r\n <tr>\r\n <td class=\"service-view-detail-pod-status\">\r\n <i ng-class=\"pod.statusClass\"></i>\r\n </td>\r\n <td class=\"service-view-detail-pod-connect\" ng-show=\"pod.$jolokiaUrl\"\r\n ng-controller=\"Kubernetes.ConnectController\">\r\n <a class=\"clickable\"\r\n ng-click=\"doConnect(pod)\"\r\n title=\"Open a new window and connect to this container\">\r\n <i class=\"fa fa-sign-in\"></i>\r\n </a>\r\n </td>\r\n <td>\r\n <div class=\"service-view-detail-pod-id\" title=\"{{pod.id}}\">\r\n <span class=\"value\">Pod <a title=\"Go to the pod detail page\" ng-href=\"{{pod | kubernetesPageLink}}\">{{pod.idAbbrev}}</a></span>\r\n </div>\r\n <div class=\"service-view-detail-pod-ip\">\r\n IP:\r\n <span class=\"value\">{{pod.status.podIP}}</span>\r\n </div>\r\n </td>\r\n <td class=\"service-view-detail-pod-expand\" ng-click=\"expandPod(pod)\">\r\n <i class=\"fa fa-chevron-right\"></i>\r\n </td>\r\n </tr>\r\n </table>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n");
$templateCache.put("plugins/kubernetes/html/appIconTemplate.html","<div class=\"ngCellText\" title=\"{{row.entity.$info.description}}\">\r\n <a ng-href=\"row.entity.$appUrl\">\r\n <img ng-show=\"row.entity.$iconUrl\" class=\"app-icon-small\" ng-src=\"{{row.entity.$iconUrl}}\">\r\n </a>\r\n <span class=\"app-name\">\r\n <a ng-click=\"row.entity.$select()\">\r\n {{row.entity.$info.name}}\r\n </a>\r\n </span>\r\n</div>\r\n");
$templateCache.put("plugins/kubernetes/html/appPodCountsAndLinkTemplate.html","<div class=\"ngCellText\" title=\"Number of running pods for this controller\">\r\n <div ng-repeat=\"podCounters in row.entity.$podCounters track by $index\">\r\n <a ng-show=\"podCounters.podsLink\" href=\"{{podCounters.podsLink}}\" title=\"{{podCounters.labelText}}\">\r\n <span ng-show=\"podCounters.valid\" class=\"badge badge-success\">{{podCounters.valid}}</span>\r\n <span ng-show=\"podCounters.waiting\" class=\"badge\">{{podCounters.waiting}}</span>\r\n <span ng-show=\"podCounters.error\" class=\"badge badge-warning\">{{podCounters.error}}</span>\r\n </a>\r\n </div>\r\n</div>\r\n");
$templateCache.put("plugins/kubernetes/html/appReplicationControllerTemplate.html","<div class=\"ngCellText\">\r\n <span ng-repeat=\"controller in row.entity.replicationControllers\">\r\n <a ng-href=\"{{controller | kubernetesPageLink}}\"\r\n title=\"View controller details\">\r\n <span>{{controller.metadata.name || controller.id}}</span>\r\n </a>\r\n &nbsp;\r\n <span class=\"pull-right\">\r\n <a class=\"badge badge-info\" href=\"\" ng-click=\"$emit(\'do-resize\', controller)\"\r\n title=\"Resize the number of replicas of this controller\">\r\n {{controller.spec.replicas || 0}}</a>\r\n </span>\r\n </span>\r\n</div>\r\n");
$templateCache.put("plugins/kubernetes/html/appServicesTemplate.html","<div class=\"ngCellText\">\r\n <span ng-repeat=\"service in row.entity.services\">\r\n <a ng-href=\"{{service | kubernetesPageLink}}\"\r\n title=\"View service details\">\r\n <span>{{service.metadata.name ||service.name || service.id}}</span>\r\n </a>\r\n </span>\r\n</div>\r\n");
$templateCache.put("plugins/kubernetes/html/apps.html","<div ng-controller=\"Kubernetes.Apps\">\r\n\r\n <div class=\"row\">\r\n <div hawtio-breadcrumbs></div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div hawtio-tabs></div>\r\n </div>\r\n\r\n <div ng-hide=\"appSelectorShow\">\r\n <div class=\"row filter-header\">\r\n <div class=\"col-md-12\">\r\n <span ng-show=\"model.apps.length && !id\">\r\n <hawtio-filter ng-model=\"tableConfig.filterOptions.filterText\"\r\n css-class=\"input-xxlarge\"\r\n placeholder=\"Filter apps...\"></hawtio-filter>\r\n </span>\r\n <span ng-hide=\"id\" class=\"pull-right\">\r\n <div class=\"btn-group\">\r\n <a class=\"btn btn-default\" ng-disabled=\"mode == \'list\'\" href=\"\" ng-click=\"mode = \'list\'\">\r\n <i class=\"fa fa-list\"></i></a>\r\n <a class=\"btn btn-default\" ng-disabled=\"mode == \'detail\'\" href=\"\" ng-click=\"mode = \'detail\'\">\r\n <i class=\"fa fa-table\"></i></a>\r\n </div>\r\n </span>\r\n <span class=\"pull-right\">&nbsp;</span>\r\n <button ng-show=\"model.apps.length && mode == \'list\'\"\r\n class=\"btn btn-danger pull-right\"\r\n ng-disabled=\"!id && tableConfig.selectedItems.length == 0\"\r\n ng-click=\"deletePrompt(id || tableConfig.selectedItems)\">\r\n <i class=\"fa fa-remove\"></i> Delete\r\n </button>\r\n <span class=\"pull-right\">&nbsp;</span>\r\n<!--\r\n <button ng-show=\"model.showRunButton\"\r\n class=\"btn btn-success pull-right\"\r\n ng-click=\"appSelectorShow = true\"\r\n title=\"Run an application\">\r\n <i class=\"fa fa-play-circle\"></i> Run ...\r\n </button>\r\n-->\r\n <span class=\"pull-right\">&nbsp;</span>\r\n <span ng-include=\"\'runButton.html\'\"></span>\r\n <span class=\"pull-right\">&nbsp;</span>\r\n <button ng-show=\"id\"\r\n class=\"btn btn-primary pull-right\"\r\n ng-click=\"id = undefined\"><i class=\"fa fa-list\"></i></button>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <div ng-hide=\"model.fetched\">\r\n <div class=\"align-center\">\r\n <i class=\"fa fa-spinner fa-spin\"></i>\r\n </div>\r\n </div>\r\n <div ng-show=\"model.fetched && !id\">\r\n <div ng-hide=\"model.apps.length\" class=\"align-center\">\r\n <p class=\"alert alert-info\">There are no apps currently available.</p>\r\n </div>\r\n <div ng-show=\"model.apps.length\">\r\n <div ng-show=\"mode == \'list\'\">\r\n <table class=\"table table-bordered table-striped\" hawtio-simple-table=\"tableConfig\"></table>\r\n </div>\r\n <div ng-show=\"mode == \'detail\'\">\r\n <div class=\"app-detail\" ng-repeat=\"item in model.apps | filter:tableConfig.filterOptions.filterText | orderBy:\'$name\' track by $index\">\r\n <ng-include src=\"\'plugins/kubernetes/html/appDetailTemplate.html\'\"/>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div ng-show=\"model.fetched && id\">\r\n <div class=\"app-detail\">\r\n <ng-include src=\"\'plugins/kubernetes/html/appDetailTemplate.html\'\"/>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n </div>\r\n <div ng-show=\"appSelectorShow\">\r\n <div class=\"col-md-7\">\r\n <div class=\"row\">\r\n <hawtio-filter ng-model=\"appSelector.filterText\"\r\n css-class=\"input-xxlarge\"\r\n placeholder=\"Filter apps...\"></hawtio-filter>\r\n </div>\r\n <div class=\"row\">\r\n <ul>\r\n <li class=\"no-list profile-selector-folder\" ng-repeat=\"folder in model.appFolders\"\r\n ng-show=\"appSelector.showFolder(folder)\">\r\n <div class=\"expandable\" ng-class=\"appSelector.isOpen(folder)\">\r\n <div title=\"{{folder.path}}\" class=\"title\">\r\n <i class=\"expandable-indicator folder\"></i> <span class=\"folder-title\" ng-show=\"folder.path\">{{folder.path.capitalize(true)}}</span><span\r\n class=\"folder-title\" ng-hide=\"folder.path\">Uncategorized</span>\r\n </div>\r\n <div class=\"expandable-body\">\r\n <ul>\r\n <li class=\"no-list profile\" ng-repeat=\"profile in folder.apps\" ng-show=\"appSelector.showApp(profile)\">\r\n <div class=\"profile-selector-item\">\r\n <div class=\"inline-block profile-selector-checkbox\">\r\n <input type=\"checkbox\" ng-model=\"profile.selected\"\r\n ng-change=\"appSelector.updateSelected()\">\r\n </div>\r\n <div class=\"inline-block profile-selector-name\" ng-class=\"appSelector.getSelectedClass(profile)\">\r\n <span class=\"contained c-max\">\r\n <a href=\"\" ng-click=\"appSelector.select(profile, !profile.selected)\"\r\n title=\"Details for {{profile.id}}\">\r\n <img ng-show=\"profile.$iconUrl\" class=\"icon-small-app\" ng-src=\"{{profile.$iconUrl}}\">\r\n <span class=\"app-name\">{{profile.name}}</span>\r\n </a>\r\n </span>\r\n </div>\r\n </div>\r\n\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n <div class=\"col-md-5\">\r\n <div class=\"row\">\r\n <button class=\"btn btn-primary pull-right\"\r\n ng-click=\"appSelectorShow = undefined\"><i class=\"fa fa-circle-arrow-left\"></i> Back\r\n </button>\r\n <span class=\"pull-right\">&nbsp;</span>\r\n <button class=\"btn pull-right\"\r\n ng-disabled=\"!appSelector.selectedApps.length\"\r\n title=\"Clears the selected Apps\"\r\n ng-click=\"appSelector.clearSelected()\"><i class=\"fa fa-check-empty\"></i> Clear\r\n </button>\r\n <span class=\"pull-right\">&nbsp;</span>\r\n <button class=\"btn btn-success pull-right\"\r\n ng-disabled=\"!appSelector.selectedApps.length\"\r\n ng-click=\"appSelector.runSelectedApps()\"\r\n title=\"Run the selected apps\">\r\n <i class=\"fa fa-play-circle\"></i>\r\n <ng-pluralize count=\"appSelector.selectedApps.length\"\r\n when=\"{\'0\': \'No App Selected\',\r\n \'1\': \'Run App\',\r\n \'other\': \'Run {} Apps\'}\"></ng-pluralize>\r\n\r\n </button>\r\n </div>\r\n <div class=\"row\">\r\n <!--\r\n <div ng-hide=\"appSelector.selectedApps.length\">\r\n <p class=\"alert pull-right\">\r\n Please select an App\r\n </p>\r\n </div>\r\n -->\r\n\r\n <div ng-show=\"appSelector.selectedApps.length\">\r\n\r\n <ul class=\"zebra-list pull-right\">\r\n <li ng-repeat=\"app in appSelector.selectedApps\">\r\n <img ng-show=\"app.$iconUrl\" class=\"icon-selected-app\" ng-src=\"{{app.$iconUrl}}\">\r\n <strong class=\"green selected-app-name\">{{app.name}}</strong>\r\n &nbsp;\r\n <i class=\"red clickable fa fa-remove\"\r\n title=\"Remove appp\"\r\n ng-click=\"appSelector.select(app, false)\"></i>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <ng-include src=\"\'resizeDialog.html\'\"/>\r\n</div>\r\n");
$templateCache.put("plugins/kubernetes/html/breadcrumbs.html","<div ng-show=\"breadcrumbConfig\" ng-init=\"breadcrumbConfig = $parent.breadcrumbConfig\"\r\n ng-controller=\"Developer.NavBarController\">\r\n <ol class=\"breadcrumb\">\r\n <li ng-repeat=\"breadcrumb in breadcrumbConfig\" ng-show=\"isValid(breadcrumb)\"\r\n class=\"{{breadcrumb.active ? \'active\' : \'\'}}\"\r\n title=\"{{breadcrumb.title}}\">\r\n <a ng-show=\"breadcrumb.href && !breadcrumb.active\" href=\"{{breadcrumb.href}}\">{{breadcrumb.label}}</a>\r\n <span ng-hide=\"breadcrumb.href && !breadcrumb.active\">{{breadcrumb.label}}</span>\r\n </ol>\r\n</div>\r\n");
$templateCache.put("plugins/kubernetes/html/build.html","<div ng-controller=\"Kubernetes.BuildController\">\r\n <div class=\"row\">\r\n <div hawtio-breadcrumbs></div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div hawtio-tabs></div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <a class=\"btn btn-default pull-right\"\r\n href=\"{{baseUri}}/kubernetes/builds\"><i class=\"fa fa-list\"></i></a>\r\n <span class=\"pull-right\">&nbsp;</span>\r\n <a class=\"btn btn-default pull-right\" ng-show=\"entity.$configLink\"\r\n title=\"View the build configuration\"\r\n href=\"{{entity.$configLink}}\">\r\n Configuration\r\n </a>\r\n <span class=\"pull-right\">&nbsp;</span>\r\n <a class=\"btn btn-default pull-right\" ng-show=\"entity.$podLink\"\r\n title=\"View the build pod\"\r\n href=\"{{entity.$podLink}}\">\r\n Pod\r\n </a>\r\n <span class=\"pull-right\">&nbsp;</span>\r\n <a class=\"btn btn-primary pull-right\" ng-show=\"entity.$logsLink\"\r\n title=\"View the build logs\"\r\n href=\"{{entity.$logsLink}}\">\r\n View Log\r\n </a>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <div ng-hide=\"fetched\">\r\n <div class=\"align-center\">\r\n <i class=\"fa fa-spinner fa-spin\"></i>\r\n </div>\r\n </div>\r\n <div ng-show=\"fetched\">\r\n <div hawtio-object=\"entity\" config=\"config\"></div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n");
$templateCache.put("plugins/kubernetes/html/buildConfig.html","<div ng-controller=\"Kubernetes.BuildConfigController\">\r\n <div class=\"row\">\r\n <div hawtio-breadcrumbs></div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div hawtio-tabs></div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <span class=\"pull-right\">&nbsp;</span>\r\n <a class=\"btn btn-default pull-right\" ng-show=\"entity.$editLink\" href=\"{{entity.$editLink}}\">\r\n <i class=\"fa fa-pencil-square-o\"></i> Edit\r\n </a>\r\n <div class=\"pull-right\" ng-repeat=\"view in entity.$fabric8Views | orderBy:\'label\'\">\r\n <a title=\"{{view.description}}\" ng-show=\"view.url\" ng-href=\"{{view.url}}\" class=\"btn btn-default\">\r\n <i class=\"{{view.iconClass}}\" ng-show=\"view.iconClass\"></i>\r\n {{view.label}}\r\n </a>\r\n <span class=\"pull-right\" ng-show=\"view.url\" >&nbsp;</span>\r\n </div>\r\n <span class=\"pull-right\">&nbsp;</span>\r\n <button class=\"btn btn-primary pull-right\"\r\n title=\"Trigger this build\"\r\n ng-disabled=\"!entity.$triggerUrl\"\r\n ng-click=\"triggerBuild(entity)\"><i class=\"fa fa-play-circle-o\"></i> Trigger</button>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <div ng-hide=\"fetched\">\r\n <div class=\"align-center\">\r\n <i class=\"fa fa-spinner fa-spin\"></i>\r\n </div>\r\n </div>\r\n <div ng-show=\"fetched\">\r\n <div hawtio-object=\"entity\" config=\"config\"></div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n");
$templateCache.put("plugins/kubernetes/html/buildConfigEdit.html","<div ng-init=\"mode=\'edit\'\">\r\n <div ng-controller=\"Kubernetes.BuildConfigEditController\">\r\n <div class=\"row\">\r\n <div hawtio-breadcrumbs></div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div hawtio-tabs></div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div ng-init=\"subTabConfig = tabs\" ng-include=\"\'plugins/kubernetes/html/tabs.html\'\"></div>\r\n <div>\r\n\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <button class=\"btn btn-primary pull-right\"\r\n title=\"Saves changes to this project configuration\"\r\n ng-disabled=\"!entity.metadata.name\"\r\n ng-click=\"save()\">\r\n Save Changes\r\n </button>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <div ng-hide=\"fetched\">\r\n <div class=\"align-center\">\r\n <i class=\"fa fa-spinner fa-spin\"></i>\r\n </div>\r\n </div>\r\n <div ng-show=\"fetched\">\r\n\r\n <form name=\"nameForm\" ng-disabled=\"config.mode == 0\" class=\"form-horizontal\">\r\n <fieldset>\r\n <legend ng-show=\"config.label || config.description\" ng-hide=\"config.hideLegend\"\r\n class=\"ng-binding\"></legend>\r\n <div class=\"row\">\r\n <div class=\"clearfix col-md-12\">\r\n <div class=\"form-group\">\r\n <label class=\"control-label\">Name</label>\r\n <input type=\"text\" class=\"form-control\" placeholder=\"project name\" pattern=\"[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*\" ng-model=\"entity.metadata.name\" required>\r\n\r\n <p class=\"form-warning bg-danger\" ng-show=\"nameForm.$error.pattern\">\r\n Project name must be a lower case DNS name with letters, numbers and dots or dashes such as `example.com`\r\n </p>\r\n </div>\r\n </div>\r\n </div>\r\n </fieldset>\r\n </form>\r\n\r\n\r\n <!--\r\n <div hawtio-form-2=\"config\" entity=\"entity\"></div>\r\n -->\r\n <div hawtio-form-2=\"specConfig\" entity=\"spec\"></div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n");
$templateCache.put("plugins/kubernetes/html/buildConfigs.html","<div class=\"row\" ng-controller=\"Kubernetes.BuildConfigsController\">\r\n <script type=\"text/ng-template\" id=\"buildConfigLinkTemplate.html\">\r\n <div class=\"ngCellText\">\r\n <a title=\"View details for this build configuration\"\r\n href=\"{{baseUri}}/kubernetes/buildConfigs/{{row.entity.metadata.name}}\">\r\n<!--\r\n <img class=\"app-icon-small\" ng-src=\"{{row.entity.$iconUrl}}\">\r\n-->\r\n {{row.entity.metadata.name}}</a>\r\n </div>\r\n </script>\r\n <script type=\"text/ng-template\" id=\"buildConfigViewsTemplate.html\">\r\n <div class=\"ngCellText\">\r\n <span ng-repeat=\"view in row.entity.$fabric8Views track by $index\">\r\n <a title=\"{{view.description}}\" ng-show=\"view.url\" ng-href=\"{{view.url}}\" class=\"btn btn-default\">\r\n <i class=\"{{view.iconClass}}\" ng-show=\"view.iconClass\"></i>\r\n {{view.label}}\r\n </a>\r\n </span>\r\n </div>\r\n </script>\r\n <script type=\"text/ng-template\" id=\"buildConfigCodeViewsTemplate.html\">\r\n <div class=\"ngCellText\">\r\n <span ng-repeat=\"view in row.entity.$fabric8CodeViews track by $index\">\r\n <a title=\"{{view.description}}\" ng-show=\"view.url\" ng-href=\"{{view.url}}\" class=\"btn btn-default\">\r\n <i class=\"{{view.iconClass}}\" ng-show=\"view.iconClass\"></i>\r\n {{view.label}}\r\n </a>\r\n </span>\r\n </div>\r\n </script>\r\n <script type=\"text/ng-template\" id=\"buildConfigBuildViewsTemplate.html\">\r\n <div class=\"ngCellText\">\r\n <span ng-repeat=\"view in row.entity.$fabric8BuildViews track by $index\">\r\n <a title=\"{{view.description}}\" ng-show=\"view.url\" ng-href=\"{{view.url}}\" class=\"btn btn-default\">\r\n <i class=\"{{view.iconClass}}\" ng-show=\"view.iconClass\"></i>\r\n {{view.label}}\r\n </a>\r\n </span>\r\n </div>\r\n </script>\r\n <script type=\"text/ng-template\" id=\"buildConfigEnvironmentViewsTemplate.html\">\r\n <div class=\"ngCellText\">\r\n <span ng-repeat=\"view in row.entity.$fabric8EnvironmentViews track by $index\">\r\n <a title=\"{{view.description}}\" ng-show=\"view.url\" ng-href=\"{{view.url}}\" class=\"btn btn-default\">\r\n <i class=\"{{view.iconClass}}\" ng-show=\"view.iconClass\"></i>\r\n {{view.label}}\r\n </a>\r\n </span>\r\n </div>\r\n </script>\r\n <script type=\"text/ng-template\" id=\"buildConfigTeamViewsTemplate.html\">\r\n <div class=\"ngCellText\">\r\n <span ng-repeat=\"view in row.entity.$fabric8TeamViews track by $index\">\r\n <a title=\"{{view.description}}\" ng-show=\"view.url\" ng-href=\"{{view.url}}\" class=\"btn btn-default\">\r\n <i class=\"{{view.iconClass}}\" ng-show=\"view.iconClass\"></i>\r\n {{view.label}}\r\n </a>\r\n </span>\r\n </div>\r\n </script>\r\n <div class=\"row filter-header\">\r\n <div class=\"col-md-12\">\r\n <span>\r\n <hawtio-filter ng-show=\"buildConfigs.length\"\r\n ng-model=\"tableConfig.filterOptions.filterText\"\r\n css-class=\"input-xxlarge\"\r\n placeholder=\"Filter build configurations...\"></hawtio-filter>\r\n </span>\r\n <button ng-show=\"fetched\"\r\n title=\"Delete the selected build configuration\"\r\n class=\"btn btn-danger pull-right\"\r\n ng-disabled=\"tableConfig.selectedItems.length == 0\"\r\n ng-click=\"deletePrompt(tableConfig.selectedItems)\">\r\n <i class=\"fa fa-remove\"></i> Delete\r\n </button>\r\n <span class=\"pull-right\">&nbsp;</span>\r\n <a class=\"btn btn-default pull-right\"\r\n title=\"Add a build configuration for an existing project\"\r\n href=\"{{baseUri}}/kubernetes/buildConfigCreate\"><i class=\"fa fa-wrench\"></i> Add Build</a>\r\n <span class=\"pull-right\">&nbsp;</span>\r\n\r\n <a class=\"btn btn-primary pull-right\" href=\"/workspaces/{{namespace}}/forge/createProject\"\r\n ng-show=\"isLoggedIntoGogs()\"\r\n title=\"Create a new app and repository\">\r\n <i class=\"fa fa-plus\"></i> Create Project</a>\r\n </a>\r\n <span class=\"pull-right\" ng-show=\"isLoggedIntoGogs()\">&nbsp;</span>\r\n\r\n <a class=\"btn btn-primary pull-right\" href=\"/workspaces/{{namespace}}/forge/repos\"\r\n ng-hide=\"isLoggedIntoGogs()\"\r\n title=\"Sign in to gogs so that you can create a new app\">\r\n <i class=\"fa fa-sign-in\"></i> Sign In</a>\r\n </a>\r\n <span class=\"pull-right\" ng-hide=\"isLoggedIntoGogs()\">&nbsp;</span>\r\n\r\n <button class=\"btn btn-default pull-right\"\r\n title=\"Trigger the given build\"\r\n ng-disabled=\"tableConfig.selectedItems.length != 1 || !tableConfig.selectedItems[0].$triggerUrl\"\r\n ng-click=\"triggerBuild(tableConfig.selectedItems[0])\"><i class=\"fa fa-play-circle-o\"></i> Trigger</button>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <div ng-hide=\"model.fetched\">\r\n <div class=\"align-center\">\r\n <i class=\"fa fa-spinner fa-spin\"></i>\r\n </div>\r\n </div>\r\n <div ng-show=\"model.fetched\">\r\n <div ng-hide=\"model.buildconfigs.length\" class=\"align-center\">\r\n <p class=\"alert alert-info\">There are no build configurations available.</p>\r\n <a class=\"btn btn-primary\" href=\"{{baseUri}}/kubernetes/buildConfigCreate\"><i class=\"fa fa-wrench\"></i> Add Build Configuration</a>\r\n </div>\r\n <div ng-show=\"model.buildconfigs.length\">\r\n <table class=\"table table-bordered table-striped\" ui-if=\"kubernetes.selectedNamespace\"\r\n hawtio-simple-table=\"tableConfig\"></table>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n");
$templateCache.put("plugins/kubernetes/html/buildLogs.html","<div ng-controller=\"Kubernetes.BuildLogsController\">\r\n <div class=\"row\">\r\n <div hawtio-breadcrumbs></div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div hawtio-tabs></div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <span class=\"pull-right\">&nbsp;</span>\r\n <a class=\"btn btn-default pull-right\" ng-show=\"entity.$viewLink\"\r\n title=\"View the build detail\"\r\n href=\"{{entity.$viewLink}}\">\r\n Build\r\n </a>\r\n <a class=\"btn btn-primary pull-right\" ng-show=\"entity.$configLink\"\r\n title=\"View the build configuration\"\r\n href=\"{{entity.$configLink}}\">\r\n Configuration\r\n </a>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <div ng-hide=\"fetched\">\r\n <div class=\"align-center\">\r\n <i class=\"fa fa-spinner fa-spin\"></i>\r\n </div>\r\n </div>\r\n <div ng-show=\"fetched\">\r\n <h3>logs for {{entity.$configId}}</h3>\r\n\r\n <p>\r\n <pre>\r\n <code>\r\n {{logsText}}\r\n </code>\r\n </pre>\r\n </p>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n");
$templateCache.put("plugins/kubernetes/html/builds.html","<div class=\"row\" ng-controller=\"Kubernetes.BuildsController\">\r\n <script type=\"text/ng-template\" id=\"buildLinkTemplate.html\">\r\n <div class=\"ngCellText\">\r\n <a title=\"View details for this build: {{row.entity.$name}}\"\r\n href=\"{{row.entity.$viewLink}}\">\r\n <!--\r\n <img class=\"app-icon-small\" ng-src=\"{{row.entity.$iconUrl}}\">\r\n -->\r\n {{row.entity.$shortName}}\r\n </a>\r\n </div>\r\n </script>\r\n <script type=\"text/ng-template\" id=\"buildPodTemplate.html\">\r\n <div class=\"ngCellText\">\r\n <a title=\"View the pod for this build: {{row.entity.podName}}\" ng-show=\"row.entity.$podLink\"\r\n href=\"{{row.entity.$podLink}}\">\r\n {{row.entity.$podShortName}}</a>\r\n </div>\r\n </script>\r\n <script type=\"text/ng-template\" id=\"buildLogsTemplate.html\">\r\n <div class=\"ngCellText\">\r\n <a title=\"View the log for this build\" ng-show=\"row.entity.$logsLink\"\r\n href=\"{{row.entity.$logsLink}}\">\r\n <i class=\"fa fa-file-text-o\"></i> Logs\r\n </a>\r\n </div>\r\n </script>\r\n <script type=\"text/ng-template\" id=\"buildRepositoryTemplate.html\">\r\n <div class=\"ngCellText\">\r\n <a ng-show=\"row.entity.spec.source.git.uri\" target=\"gitRepository\"\r\n title=\"View the git based source repository\"\r\n href=\"{{row.entity.spec.source.git.uri}}\">\r\n {{row.entity.spec.source.git.uri}}\r\n </a>\r\n <span ng-hide=\"row.entity.spec.source.git.uri\">\r\n {{row.entity.spec.source.git.uri}}\r\n </span>\r\n </div>\r\n </script>\r\n <script type=\"text/ng-template\" id=\"buildStatusTemplate.html\">\r\n <div class=\"ngCellText\" ng-switch=\"row.entity.status.phase\">\r\n <span ng-switch-when=\"New\" class=\"text-primary\">\r\n <i class=\"fa fa-spin fa-spinner\"></i> New\r\n </span>\r\n <span ng-switch-when=\"Pending\" class=\"text-primary\">\r\n <i class=\"fa fa-spin fa-spinner\"></i> Pending\r\n </span>\r\n <span ng-switch-when=\"Running\" class=\"text-primary\">\r\n <i class=\"fa fa-spin fa-spinner\"></i> Running\r\n </span>\r\n <span ng-switch-when=\"Complete\" class=\"text-success\">\r\n <i class=\"fa fa-check-circle\"></i> Complete\r\n </span>\r\n <span ng-switch-when=\"Failed\" class=\"text-danger\">\r\n <i class=\"fa fa-exclamation-circle\"></i> Failed\r\n </span>\r\n <span ng-switch-default class=\"text-warning\">\r\n <i class=\"fa fa-exclamation-triangle\"></i> {{row.entity.status}}\r\n </span>\r\n </div>\r\n </script>\r\n <script type=\"text/ng-template\" id=\"buildTimeTemplate.html\">\r\n <div class=\"ngCellText\" title=\"built at: {{row.entity.$creationDate | date : \'h:mm:ss a, EEE MMM yyyy\'}}\">\r\n {{row.entity.$creationDate.relative()}}\r\n </div>\r\n </script>\r\n\r\n\r\n <div class=\"row\">\r\n <div hawtio-breadcrumbs></div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div hawtio-tabs></div>\r\n </div>\r\n\r\n <div class=\"row filter-header\">\r\n <div class=\"col-md-12\" >\r\n <span ng-show=\"!id\">\r\n <hawtio-filter ng-show=\"model.builds.length\"\r\n ng-model=\"tableConfig.filterOptions.filterText\"\r\n css-class=\"input-xxlarge\"\r\n placeholder=\"Filter builds...\"></hawtio-filter>\r\n </span>\r\n <div class=\"pull-right\" ng-repeat=\"view in buildConfig.$fabric8BuildViews | orderBy:\'label\'\">\r\n <a title=\"{{view.description}}\" ng-show=\"view.url\" ng-href=\"{{view.url}}\" class=\"btn btn-default\">\r\n <i class=\"{{view.iconClass}}\" ng-show=\"view.iconClass\"></i>\r\n {{view.label}}\r\n </a>\r\n <span class=\"pull-right\" ng-show=\"view.url\" >&nbsp;</span>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <div ng-hide=\"fetched\">\r\n <div class=\"align-center\">\r\n <i class=\"fa fa-spinner fa-spin\"></i>\r\n </div>\r\n </div>\r\n <div ng-show=\"fetched\">\r\n <div ng-hide=\"model.builds.length\" class=\"align-center\">\r\n <p class=\"alert alert-info\">There are no builds currently running.</p>\r\n </div>\r\n <div ng-show=\"model.builds.length\">\r\n <table class=\"table table-bordered table-striped\" hawtio-simple-table=\"tableConfig\"></table>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n");
$templateCache.put("plugins/kubernetes/html/deploymentConfig.html","<div ng-controller=\"Kubernetes.DeploymentConfigController\">\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <span class=\"pull-right\">&nbsp;</span>\r\n <a class=\"btn btn-default pull-right\"\r\n href=\"{{baseUri}}/kubernetes/deploymentConfigs\"><i class=\"fa fa-list\"></i></a>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <div ng-hide=\"fetched\">\r\n <div class=\"align-center\">\r\n <i class=\"fa fa-spinner fa-spin\"></i>\r\n </div>\r\n </div>\r\n <div ng-show=\"fetched\">\r\n <div hawtio-object=\"entity\" config=\"config\"></div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n");
$templateCache.put("plugins/kubernetes/html/deploymentConfigs.html","<div class=\"row\" ng-controller=\"Kubernetes.DeploymentConfigsController\">\r\n <script type=\"text/ng-template\" id=\"deploymentConfigLinkTemplate.html\">\r\n <div class=\"ngCellText\">\r\n <a title=\"View details for this build configuration\"\r\n href=\"{{baseUri}}/kubernetes/deploymentConfigs/{{row.entity.metadata.name}}\">\r\n<!--\r\n <img class=\"app-icon-small\" ng-src=\"{{row.entity.$iconUrl}}\">\r\n-->\r\n {{row.entity.metadata.name}}</a>\r\n </div>\r\n </script>\r\n <script type=\"text/ng-template\" id=\"deploymentConfigLabelTemplate.html\">\r\n <div class=\"ngCellText\">\r\n <span ng-repeat=\"(key, label) in row.entity.template.controllerTemplate.template.metadata.labels track by $index\"\r\n class=\"pod-label badge\"\r\n ng-class=\"labelClass(key)\"\r\n ng-click=\"clickTag(entity, key, label)\"\r\n title=\"{{key}}\">{{label}}</span>\r\n </div>\r\n </script>\r\n <div class=\"row filter-header\">\r\n <div class=\"col-md-12\">\r\n <span>\r\n <hawtio-filter ng-show=\"deploymentConfigs.length\"\r\n ng-model=\"tableConfig.filterOptions.filterText\"\r\n css-class=\"input-xxlarge\"\r\n placeholder=\"Filter deployment configurations...\"></hawtio-filter>\r\n </span>\r\n <button ng-show=\"fetched && deploymentConfigs.length\"\r\n title=\"Delete the selected build configuration\"\r\n class=\"btn btn-danger pull-right\"\r\n ng-disabled=\"tableConfig.selectedItems.length == 0\"\r\n ng-click=\"deletePrompt(tableConfig.selectedItems)\">\r\n <i class=\"fa fa-remove\"></i> Delete\r\n </button>\r\n <span class=\"pull-right\">&nbsp;</span>\r\n <a class=\"btn btn-default pull-right\"\r\n title=\"Create a new build configuration\"\r\n href=\"{{baseUri}}/kubernetes/buildConfigCreate\"><i class=\"fa fa-plus\"></i> Create</a>\r\n <span class=\"pull-right\">&nbsp;</span>\r\n <button class=\"btn btn-primary pull-right\"\r\n ng-show=\"fetched && deploymentConfigs.length\"\r\n title=\"Trigger the given build\"\r\n ng-disabled=\"tableConfig.selectedItems.length != 1 || !tableConfig.selectedItems[0].$triggerUrl\"\r\n ng-click=\"triggerBuild(tableConfig.selectedItems[0])\"><i class=\"fa fa-play-circle-o\"></i> Trigger</button>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <div ng-hide=\"fetched\">\r\n <div class=\"align-center\">\r\n <i class=\"fa fa-spinner fa-spin\"></i>\r\n </div>\r\n </div>\r\n <div ng-show=\"fetched\">\r\n <div ng-hide=\"deploymentConfigs.length\" class=\"align-center\">\r\n <p class=\"alert alert-info\">There are no deployment configurations available.</p>\r\n <a class=\"btn btn-primary\" href=\"{{baseUri}}/kubernetes/deploymentConfigCreate\"><i class=\"fa fa-plus\"></i> Create Deployment Configuration</a>\r\n </div>\r\n <div ng-show=\"deploymentConfigs.length\">\r\n <table class=\"table table-bordered table-striped\" ui-if=\"kubernetes.selectedNamespace\"\r\n hawtio-simple-table=\"tableConfig\"></table>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n");
$templateCache.put("plugins/kubernetes/html/events.html","<div ng-controller=\"Kubernetes.EventsController\">\r\n\r\n <div class=\"row\">\r\n <div hawtio-breadcrumbs></div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div hawtio-tabs></div>\r\n </div>\r\n\r\n <div class=\"row filter-header\">\r\n <div class=\"col-md-12\" ng-show=\"model.events.length\">\r\n <span ng-show=\"!id\">\r\n <hawtio-filter ng-model=\"tableConfig.filterOptions.filterText\"\r\n css-class=\"input-xxlarge\"\r\n placeholder=\"筛选日志信息...\"></hawtio-filter>\r\n </span>\r\n <span class=\"pull-right\">&nbsp;</span>\r\n <button ng-show=\"id\"\r\n class=\"btn btn-primary pull-right\"\r\n ng-click=\"id = undefined\"><i class=\"fa fa-list\"></i></button>\r\n <span ng-include=\"\'runButton.html\'\"></span>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <div ng-hide=\"model.fetched\">\r\n <div class=\"align-center\">\r\n <i class=\"fa fa-spinner fa-spin\"></i>\r\n </div>\r\n </div>\r\n <div ng-show=\"model.fetched\">\r\n <div ng-hide=\"model.events.length\" class=\"align-center\">\r\n <p class=\"alert alert-info\">There are no events currently available.</p>\r\n </div>\r\n <div ng-show=\"model.events.length\">\r\n <div ng-show=\"mode == \'list\'\">\r\n <table class=\"table table-bordered table-striped\" ui-if=\"kubernetes.selectedNamespace\"\r\n hawtio-simple-table=\"tableConfig\"></table>\r\n </div>\r\n\r\n <div ng-hide=\"mode == \'list\'\">\r\n <div class=\"column-box\"\r\n ng-repeat=\"service in model.serviceApps | filter:filterTemplates | orderBy:\'metadata.name\' track by $index\">\r\n <div class=\"row\">\r\n <div class=\"col-md-2\">\r\n <a href=\"{{service.$serviceUrl}}\"\r\n target=\"_blank\"\r\n title=\"Click to open this app\">\r\n <img style=\"width: 64px; height: 64px;\" ng-src=\"{{service.$iconUrl}}\">\r\n </a>\r\n </div>\r\n <div class=\"col-md-9\">\r\n <a href=\"{{service.$serviceUrl}}\"\r\n target=\"_blank\"\r\n title=\"Click to open this app\">\r\n <h3 ng-bind=\"service.metadata.name\"></h3>\r\n </a>\r\n </div>\r\n<!--\r\n <div class=\"col-md-1\">\r\n <a href=\"\" ng-click=\"deleteService(service)\"><i class=\"fa fa-remove red\"></i></a>\r\n </div>\r\n-->\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n");
$templateCache.put("plugins/kubernetes/html/host.html","<div ng-controller=\"Kubernetes.HostController\">\r\n <div class=\"row\">\r\n <div hawtio-breadcrumbs></div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div hawtio-tabs></div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <span class=\"pull-right\">&nbsp;</span>\r\n <a class=\"btn btn-default pull-right\"\r\n href=\"{{baseUri}}/kubernetes/hosts\"><i class=\"fa fa-list\"></i></a>\r\n <a class=\"btn btn-default pull-right\"\r\n ng-click=\"flipRaw()\"\r\n title=\"{{rawMode ? \'Raw mode\' : \'Form mode\'}}\">{{rawMode ? \'Form\' : \'Raw\'}}</a>\r\n <a class=\"btn btn-default pull-right\" ng-show=\"rawMode\" ng-click=\"readOnly = !readOnly\" ng-class=\"!readOnly ? \'btn-primary\' : \'\'\">Edit</a>\r\n <span class=\"pull-right\">&nbsp;</span>\r\n\r\n <a class=\"btn btn-success pull-right\" ng-show=\"dirty\" ng-click=\"save(rawModel)\">Save</a>\r\n <span class=\"pull-right\">&nbsp;</span>\r\n\r\n <span class=\"pull-right\">&nbsp;</span>\r\n <a class=\"btn btn-primary pull-right\"\r\n title=\"View all the pods on this host\"\r\n href=\"{{baseUri}}/kubernetes/pods/?q=host={{item.id}}\">\r\n Pods\r\n </a>\r\n </div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <div ng-hide=\"model.fetched\">\r\n <div class=\"align-center\">\r\n <i class=\"fa fa-spinner fa-spin\"></i>\r\n </div>\r\n </div>\r\n <div ng-show=\"model.fetched && !rawMode\">\r\n <div hawtio-object=\"item\" config=\"itemConfig\"></div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div class=\"span12\">\r\n <div ng-hide=\"model.fetched\">\r\n <div class=\"align-center\">\r\n <i class=\"fa fa-spinner fa-spin\"></i>\r\n </div>\r\n </div>\r\n <div ng-show=\"model.fetched && rawMode\">\r\n <div class=\"row-fluid wiki-fixed form-horizontal\">\r\n <div class=\"control-group editor-autoresize\">\r\n <div hawtio-editor=\"rawModel\" mode=\"mode\" read-only=\"readOnly\"></div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n</div>\r\n");
$templateCache.put("plugins/kubernetes/html/hosts.html","<div class=\"row\" ng-controller=\"Kubernetes.HostsController\">\r\n <script type=\"text/ng-template\" id=\"hostLinkTemplate.html\">\r\n <div class=\"ngCellText\">\r\n </div>\r\n </script>\r\n\r\n <div class=\"row\">\r\n <div hawtio-breadcrumbs></div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div hawtio-tabs></div>\r\n </div>\r\n\r\n <div class=\"row filter-header\">\r\n <div class=\"col-md-12\">\r\n <span ng-show=\"!id\">\r\n <hawtio-filter ng-show=\"model.hosts.length\"\r\n ng-model=\"tableConfig.filterOptions.filterText\"\r\n css-class=\"input-xxlarge\"\r\n placeholder=\"Filter hosts...\"></hawtio-filter>\r\n </span>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <div ng-hide=\"model.fetched\">\r\n <div class=\"align-center\">\r\n <i class=\"fa fa-spinner fa-spin\"></i>\r\n </div>\r\n </div>\r\n <div ng-show=\"model.fetched\">\r\n <div ng-hide=\"model.hosts.length\" class=\"align-center\">\r\n <p class=\"alert alert-info\">There are no hosts currently running.</p>\r\n </div>\r\n <div ng-show=\"model.hosts.length\">\r\n <table class=\"table table-bordered table-striped\" ui-if=\"kubernetes.selectedNamespace\"\r\n hawtio-simple-table=\"tableConfig\"></table>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n");
$templateCache.put("plugins/kubernetes/html/imageRepositories.html","<div class=\"row\" ng-controller=\"Kubernetes.ImageRepositoriesController\">\r\n <script type=\"text/ng-template\" id=\"imageRegistryLabelTemplate.html\">\r\n <div class=\"ngCellText\">\r\n <span ng-repeat=\"(key, label) in row.entity.tags track by $index\"\r\n class=\"pod-label badge\"\r\n ng-class=\"labelClass(key)\"\r\n ng-click=\"clickTag(entity, key, label)\"\r\n title=\"{{key}}\">{{label}}</span>\r\n </div>\r\n </script>\r\n <div class=\"row filter-header\">\r\n <div class=\"col-md-12\">\r\n <span>\r\n <hawtio-filter ng-show=\"imageRepositories.length\"\r\n ng-model=\"tableConfig.filterOptions.filterText\"\r\n css-class=\"input-xxlarge\"\r\n placeholder=\"Filter image repositories...\"></hawtio-filter>\r\n </span>\r\n <button ng-show=\"fetched && imageRepositories.length\"\r\n title=\"Delete the selected build configuration\"\r\n class=\"btn btn-danger pull-right\"\r\n ng-disabled=\"tableConfig.selectedItems.length == 0\"\r\n ng-click=\"deletePrompt(tableConfig.selectedItems)\">\r\n <i class=\"fa fa-remove\"></i> Delete\r\n </button>\r\n <span class=\"pull-right\">&nbsp;</span>\r\n <a class=\"btn btn-default pull-right\"\r\n title=\"Create a new image repository\"\r\n href=\"{{baseUri}}/kubernetes/imageRepositoryCreate\"><i class=\"fa fa-plus\"></i> Create</a>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <div ng-hide=\"fetched\">\r\n <div class=\"align-center\">\r\n <i class=\"fa fa-spinner fa-spin\"></i>\r\n </div>\r\n </div>\r\n <div ng-show=\"fetched\">\r\n <div ng-hide=\"imageRepositories.length\" class=\"align-center\">\r\n <p class=\"alert alert-info\">There are no image repositories available.</p>\r\n <a class=\"btn btn-primary\" href=\"{{baseUri}}/kubernetes/imageRepositoryCreate\"><i class=\"fa fa-plus\"></i> Create Image Repository</a>\r\n </div>\r\n <div ng-show=\"imageRepositories.length\">\r\n <table class=\"table table-bordered table-striped\" ui-if=\"kubernetes.selectedNamespace\"\r\n hawtio-simple-table=\"tableConfig\"></table>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n");
$templateCache.put("plugins/kubernetes/html/importProject.html","<div ng-init=\"mode=\'create\'\">\r\n <div ng-controller=\"Kubernetes.BuildConfigEditController\">\r\n <div class=\"row\">\r\n <div hawtio-breadcrumbs></div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div hawtio-tabs></div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <button class=\"btn btn-primary pull-right\"\r\n title=\"Saves changes to this project configuration\"\r\n ng-disabled=\"!entity.metadata.name\"\r\n ng-click=\"save()\">\r\n Save Changes\r\n </button>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <div ng-hide=\"fetched\">\r\n <div class=\"align-center\">\r\n <i class=\"fa fa-spinner fa-spin\"></i>\r\n </div>\r\n </div>\r\n <div ng-show=\"fetched\">\r\n\r\n <p class=\"hero-unit\">\r\n Create a project by entering or copy/pasting the Git URL for a repository, and give the project a name. By default the name will be based on the repository name.\r\n </p>\r\n\r\n <div hawtio-form-2=\"specConfig\" entity=\"spec\"></div>\r\n\r\n <form name=\"nameForm\" ng-disabled=\"config.mode == 0\" class=\"form-horizontal\">\r\n <fieldset>\r\n <div class=\"row\">\r\n <div class=\"clearfix col-md-12\">\r\n <div class=\"form-group\">\r\n <label class=\"control-label\">Name</label>\r\n <input type=\"text\" class=\"form-control\" pattern=\"[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*\" ng-model=\"entity.metadata.name\" required>\r\n\r\n <p class=\"form-warning bg-danger\" ng-show=\"nameForm.$error.pattern\">\r\n Project name must be a lower case DNS name with letters, numbers and dots or dashes such as `example.com`\r\n </p>\r\n <p class=\"help-block\">Name of this project</p>\r\n </div>\r\n </div>\r\n </div>\r\n </fieldset>\r\n </form>\r\n\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n");
$templateCache.put("plugins/kubernetes/html/kubernetesJsonDirective.html","<div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <div class=\"fabric-page-header row\">\r\n\r\n <div class=\"pull-left\" ng-show=\"iconURL\">\r\n <div class=\"app-logo\">\r\n <img ng-src=\"{{iconURL}}\">&nbsp;\r\n </div>\r\n </div>\r\n <div class=\"pull-left\">\r\n <h2 class=\"list-inline\"><span class=\"contained c-wide3\">&nbsp;{{displayName || appTitle}}</span></h2>\r\n </div>\r\n <div class=\"pull-right\">\r\n <button class=\"btn btn-success pull-right\"\r\n title=\"Run this application\"\r\n ng-disabled=\"!config || config.error\"\r\n ng-click=\"apply()\">\r\n <i class=\"fa fa-play-circle\"></i> Run\r\n </button>\r\n </div>\r\n <div class=\"pull-left col-md-10 profile-summary-wide\">\r\n <div\r\n ng-show=\"summaryHtml\"\r\n ng-bind-html-unsafe=\"summaryHtml\"></div>\r\n </div>\r\n </div>\r\n\r\n </div>\r\n </div>\r\n\r\n</div>\r\n");
$templateCache.put("plugins/kubernetes/html/layoutKubernetes.html","<script type=\"text/ng-template\" id=\"runButton.html\">\r\n <button ng-show=\"model.showRunButton\" class=\"btn btn-success pull-right\" ng-click=\"viewTemplates()\" title=\"Run an application from a template\">\r\n <i class=\"fa fa-play-circle\"></i> Run ...\r\n </button>\r\n</script>\r\n<script type=\"text/ng-template\" id=\"idTemplate.html\">\r\n <div class=\"ngCellText nowrap\">\r\n <a href=\"\" title=\"View details for {{row.entity.metadata.name || row.entity.name}}\">\r\n <!--<img class=\"app-icon-small\" ng-src=\"{{row.entity.$iconUrl}}\" ng-show=\"row.entity.$iconUrl\">-->\r\n <strong>{{row.entity.$oracleName || row.entity.name}}</strong></a>\r\n </div>\r\n</script>\r\n<script type=\"text/ng-template\" id=\"selectorTemplate.html\">\r\n <div class=\"ngCellText\">\r\n <span ng-repeat=\"(name, value) in row.entity.spec.selector track by $index\">\r\n <strong>{{name}}</strong>: {{value}}\r\n </span>\r\n </div>\r\n</script>\r\n<script type=\"text/ng-template\" id=\"podCountsAndLinkTemplate.html\">\r\n <div class=\"ngCellText\" ng-init=\"entity=row.entity\" ng-controller=\"Kubernetes.Status\">\r\n <a ng-show=\"row.entity.$podCounters.podsLink\" title=\"pods status\">\r\n <span ng-show=\"row.entity.$podCounters.ready && (row.entity.$oracleStatus===2)\" class=\"badge badge-success\"> 启动</span>\r\n <span ng-show=\"row.entity.$podCounters.ready && (row.entity.$oracleStatus===0)\" class=\"badge badge-info\"> 等待</span>\r\n <span ng-show=\"row.entity.$podCounters.ready && (row.entity.$oracleStatus===1)\" class=\"badge badge-important \"> 失败</span>\r\n <span ng-show=\"row.entity.$podCounters.valid || row.entity.$podCounters.waiting\" class=\"badge badge-info\"> 等待</span>\r\n <span ng-show=\"!(row.entity.$podCounters.waiting || row.entity.$podCounters.ready || row.entity.$podCounters.valid || row.entity.$podCounters.error)\" class=\"badge\"> 停止</span>\r\n <span ng-show=\"row.entity.$podCounters.error\" class=\"badge badge-important\"> 失败</span>\r\n </a>\r\n </div>\r\n</script>\r\n<script type=\"text/ng-template\" id=\"dataSummaryTemplate.html\">\r\n <div class=\"ngCellText\" ng-init=\"entity=row.entity\">\r\n <a ng-show=\"row.entity.$podCounters.podsLink\" title=\"pods status\">\r\n <span ng-show=\"row.entity.$extractStatus === 0\" class=\"badge badge-info\"> 待汇总</span>\r\n <div ng-show=\"row.entity.$extractStatus === 1\">\r\n <span class=\"badge badge-success\" > 汇总中</span>\r\n <span ng-include=\"\'oracleLogTemplate.html\'\"></span>\r\n </div>\r\n <div ng-show=\"row.entity.$extractStatus === 2\">\r\n <span class=\"badge\" > 已完成</span>\r\n <span ng-include=\"\'oracleLogTemplate.html\'\"></span>\r\n </div> \r\n </a>\r\n </div>\r\n</script>\r\n<script type=\"text/ng-template\" id=\"labelTemplate.html\">\r\n <div class=\"ngCellText\" ng-init=\"entity=row.entity\" ng-controller=\"Kubernetes.Labels\">\r\n <p ng-show=\"data\"><strong>Labels</strong></p>\r\n <span ng-repeat=\"label in labels track by $index\" class=\"pod-label badge\" ng-class=\"labelClass(label.key)\" ng-click=\"handleClick(entity, label.key, label)\" title=\"{{label.key}}\"><span class=\"glyphicon glyphicon-tag\"/> {{label.title}}</span>\r\n </div>\r\n</script>\r\n<script type=\"text/ng-template\" id=\"eventSourceTemplate.html\">\r\n <div class=\"ngCellText\" ng-init=\"labels=row.entity.source\">\r\n <p ng-show=\"data\"><strong>Labels</strong></p>\r\n <span ng-repeat=\"(key, value) in labels track by $index\" class=\"pod-label badge\" class=\"background-light-grey mouse-pointer\" title=\"{{key}}\" ng-click=\"$emit(\'labelFilterUpdate\', key + \'=\' + value)\">{{value}}</span>\r\n </div>\r\n</script>\r\n<script type=\"text/ng-template\" id=\"dataLabelsTemplate.html\">\r\n <div class=\"ngCellText\" ng-init=\"labels=row.entity.labels\" ng-controller=\"Kubernetes.DataLabels\">\r\n <p ng-show=\"data\"><strong>Labels</strong></p>\r\n <span ng-repeat=\"(key, value) in labels track by $index\" class=\"pod-label badge\" ng-class=\"labelClass(key)\" ng-click=\"labelClick(entity, key, value)\" title=\"{{key}}\"><span class=\"glyphicon glyphicon-tag\"/> {{value}}</span>\r\n </div>\r\n</script>\r\n<script type=\"text/ng-template\" id=\"hostTemplate.html\">\r\n <div class=\"ngCellText\" ng-init=\"host=row.entity.$host\">\r\n <span class=\"pod-label badge background-light-grey mouse-pointer\" ng-click=\"$emit(\'labelFilterUpdate\', \'host=\' + host)\">{{host}}</span>\r\n </div>\r\n</script>\r\n<script type=\"text/ng-template\" id=\"portalAddress.html\">\r\n <div class=\"ngCellText\">\r\n <div ng-repeat=\"port in row.entity.$ports track by $index\">\r\n <a target=\"_blank\" href=\"{{row.entity.$connectUrl}}\" ng-show=\"row.entity.$connectUrl && row.entity.$podCounters.ready\" title=\"Protocol {{row.entity.spec.protocol}}\">\r\n {{row.entity.$host}}\r\n </a>\r\n <span ng-hide=\"row.entity.$connectUrl && row.entity.$podCounters.ready\">{{row.entity.spec.portalIP || row.entity.spec.clusterIP}}:{{port}}</span>\r\n </div>\r\n </div>\r\n</script>\r\n<script type=\"text/ng-template\" id=\"iconCellTemplate.html\">\r\n <div class=\"ngCellText\">\r\n <img class=\"app-icon-small\" ng-src=\"{{row.entity.$iconUrl}}\">\r\n </div>\r\n</script>\r\n<script type=\"text/ng-template\" id=\"ageTemplate.html\">\r\n <div class=\"ngCellText \" ng-model=\"row.entity.$pods[0].$age\">\r\n {{row.entity.$pods[0].$age}}\r\n </div>\r\n</script>\r\n<script type=\"text/ng-template\" id=\"firstTimestampTemplate.html\">\r\n <div class=\"ngCellText\" title=\"{{row.entity.$firstTimestamp}}\">\r\n {{row.entity.$firstTimestamp | relativeTime}}\r\n </div>\r\n</script>\r\n<script type=\"text/ng-template\" id=\"lastTimestampTemplate.html\">\r\n <div class=\"ngCellText\" title=\"{{row.entity.$lastTimestamp}}\">\r\n {{row.entity.$lastTimestamp | relativeTime}}\r\n </div>\r\n</script>\r\n<script type=\"text/ng-template\" id=\"eventKindTemplate.html\">\r\n <div class=\"ngCellText\" ng-init=\"kind=row.entity.involvedObject.kind\">\r\n <span class=\"pod-label badge\" class=\"background-light-grey mouse-pointer\" ng-click=\"$emit(\'labelFilterUpdate\', \'kind=\' + kind)\">{{kind}}</span>\r\n </div>\r\n</script>\r\n<script type=\"text/ng-template\" id=\"eventNameTemplate.html\">\r\n <div class=\"ngCellText\" ng-init=\"name=row.entity.involvedObject.name\">\r\n <span class=\"pod-label badge\" class=\"background-light-grey mouse-pointer\" ng-click=\"$emit(\'labelFilterUpdate\', \'name=\' + name)\">{{name}}</span>\r\n </div>\r\n</script>\r\n<script type=\"text/ng-template\" id=\"eventSummaryTemplate.html\">\r\n <div class=\"ngCellText\" title=\"Number of events on this resource\">\r\n <a ng-show=\"row.entity.$pods[0].$eventsLink\" href=\"{{row.entity.$pods[0].$eventsLink}}\">\r\n <span class=\"badge\">{{row.entity.$pods[0].$events.length}}</span>\r\n </a>\r\n </div>\r\n</script>\r\n<script type=\"text/ng-template\" id=\"connectTemplate.html\">\r\n <span ng-show=\"entity.$jolokiaUrl && entity.$ready\" ng-controller=\"Kubernetes.ConnectController\">\r\n <a class=\"clickable\"\r\n ng-click=\"doConnect(row.entity)\"\r\n title=\"Open a new window and connect to this container\">\r\n <i class=\"fa fa-sign-in\"></i>\r\n </a>\r\n </span>\r\n</script>\r\n<script type=\"text/ng-template\" id=\"termTemplate.html\">\r\n <span ng-show=\"entity.status.phase === \'Running\'\" ng-controller=\"Kubernetes.TermController\">\r\n <span ng-repeat=\"container in entity.spec.containers\" ng-show=\"canConnectTo(container)\">\r\n <i class=\"fa fa-television clickable\" title=\"Open up a terminal to {{container.name}}\" ng-click=\"openTerminal(entity.metadata.selfLink, container.name)\"></i>\r\n </span>\r\n </span>\r\n</script>\r\n<script type=\"text/ng-template\" id=\"logIconTemplate.html\">\r\n <span ng-show=\"entity.status.phase === \'Running\'\" ng-controller=\"Kubernetes.PodLogLinkController\">\r\n <i class=\"fa fa-file-text\" title=\"Open up the logs for {{entity.metadata.name}}\" ng-click=\"openLogs(entity)\"></i>\r\n </span>\r\n</script>\r\n<script type=\"text/ng-template\" id=\"oracleLogTemplate.html\">\r\n <span ng-controller=\"Kubernetes.PodLogLinkController\">\r\n <i class=\"fa fa-file-text\" title=\"打开{{entity.$oracleName}}的汇总日志\" ng-click=\"openLogs(entity)\"></i>\r\n </span>\r\n</script>\r\n<script type=\"text/ng-template\" id=\"connectParamTemplate.html\">\r\n <div class=\"ngCellText\" ng-init=\"entity=row.entity\">\r\n <div ng-show=\"row.entity.$pods.length && row.entity.$pods[0].$host && row.entity.$pods[0].spec.containers[0].ports[0].hostPort\"><strong>{{row.entity.$pods[0].$host}}:{{row.entity.$pods[0].spec.containers[0].ports[0].hostPort}}/orcl</strong>\r\n <button class=\"btn\" zero-clipboard data-clipboard-text=\"{{row.entity.$pods[0].$host}}:{{row.entity.$pods[0].spec.containers[0].ports[0].hostPort}}/orcl\" title=\"点击复制\">\r\n <i class=\"fa fa-copy\"></i></button>\r\n </div>\r\n </div>\r\n</script>\r\n<script type=\"text/ng-template\" id=\"statusTemplate.html\">\r\n <div class=\"ngCellText nowrap\" ng-init=\"entity=row.entity\" ng-controller=\"Kubernetes.PodStatus\" title=\"Pod {{entity.metadata.name}} is {{entity.status.phase}}\">\r\n <!-- in detail view -->\r\n <p ng-show=\"data\"><strong>Status: </strong></p>\r\n <i class=\"fa {{entity.$statusCss}}\"></i>\r\n <span ng-show=\"data\">{{data}}</span>\r\n <!-- in table -->\r\n <span ng-include=\"\'connectTemplate.html\'\"></span>\r\n <span ng-include=\"\'termTemplate.html\'\"></span>\r\n <span ng-include=\"\'logIconTemplate.html\'\"></span>\r\n </div>\r\n</script>\r\n<script type=\"text/ng-template\" id=\"resizeDialog.html\">\r\n <div modal=\"resizeDialog.dialog.show\">\r\n <form class=\"form-horizontal\" ng-submit=\"resizeDialog.onOk()\">\r\n <div class=\"modal-header\">\r\n <h4>Scale {{resizeDialog.controller.metadata.name}}</h4></div>\r\n <div class=\"modal-body\">\r\n <div class=\"control-group\">\r\n <label class=\"control-label\" for=\"replicas\">Number of pods you would like to scale to?</label>\r\n <div class=\"controls\">\r\n <input type=\"number\" min=\"0\" id=\"replicas\" ng-model=\"resizeDialog.newReplicas\">\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"modal-footer\">\r\n <input class=\"btn btn-primary\" type=\"submit\" ng-disabled=\"resizeDialog.newReplicas === resizeDialog.controller.status.replicas\" value=\"Resize\">\r\n <button class=\"btn btn-warning cancel sj_btn_grey\" type=\"button\" ng-click=\"resizeDialog.close()\">取消</button>\r\n </div>\r\n </form>\r\n </div>\r\n</script>\r\n<script type=\"text/ng-template\" id=\"namespaceSelector.html\">\r\n <span ng-controller=\"Kubernetes.NamespaceController\">\r\n namespace:\r\n <select ng-model=\"namespace\" ng-options=\"namespace for namespace in namespaces\"\r\n title=\"choose the namespace - which is a selection of resources in kubernetes\">\r\n </select>\r\n </span>\r\n</script>\r\n<script type=\"text/ng-template\" id=\"pendingPipelines.html\">\r\n <div class=\"row\" ng-controller=\"Developer.PipelinesController\">\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <div ng-hide=\"model.fetched\">\r\n <div class=\"align-center\">\r\n <i class=\"fa fa-spinner fa-spin\"></i>\r\n </div>\r\n </div>\r\n <div ng-show=\"model.fetched\">\r\n <div ng-hide=\"model.job.builds.length\" class=\"align-center\">\r\n <p class=\"alert alert-info\">There are no pipelines for this job.</p>\r\n </div>\r\n <div ng-show=\"model.job.builds.length\">\r\n <div class=\"pipeline-build-block\" ng-repeat=\"build in model.job.builds | filter:model.filterText track by $index\">\r\n <div pipeline-view></div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</script>\r\n<script type=\"text/ng-template\" id=\"taskEdit.html\">\r\n <div class=\"ngCellText\" ng-init=\"entity=row.entity\" ng-controller=\"Kubernetes.TaskEdit\">\r\n <button class=\"btn sj_btn\" ng-click=\"showDeleteOne.open(entity)\">\r\n <span class=\"glyphicon glyphicon-trash\"></span>&nbsp;&nbsp;删除\r\n </button>\r\n <div hawtio-confirm-dialog=\"showDeleteOne.show\" title=\"是否删除任务?\" ok-button-text=\"确认\" cancel-button-text=\"取消\" on-cancel=\"showDeleteOne.onCancelled()\" on-ok=\"showDeleteOne.onOk()\">\r\n <div class=\"dialog-body\">\r\n <p>\r\n 是否删除:{{entity.name}}-{{entity.systemName}} 任务?\r\n </p>\r\n </div>\r\n </div>\r\n </div>\r\n</script>\r\n<!-- 迁移进度条 -->\r\n<script type=\"text/ng-template\" id=\"taskProcess.html\">\r\n <div class=\"ngCellText progress\" ng-init=\"entity=row.entity\">\r\n <div ng-show=\"entity.status!==3\" class=\"progress-bar progress-bar-success active sj_progress_bar \" role=\"progressbar\" aria-valuenow=\"{{entity.process}}\" aria-valuemin=\"0\" aria-valuemax=\"100\" style=\"width: {{entity.process}}%\">\r\n <span class=\"sj_progress_font\">{{entity.process}}%</span>\r\n </div>\r\n <div ng-show=\"entity.status ===3\" class=\"progress-bar progress-bar-danger active sj_progress_bar\" role=\"progressbar\" aria-valuenow=\"{{entity.process}}\" aria-valuemin=\"0\" aria-valuemax=\"100\" style=\"width: {{entity.process}}%\" title=\"{{entity.process}}%\">\r\n <span class=\"sj_progress_font\">{{entity.process}}%</span>\r\n </div>\r\n </div>\r\n</script>\r\n<!--迁移状态显示 -->\r\n<script type=\"text/ng-template\" id=\"taskStatus.html\">\r\n <div class=\"ngCellText\" ng-init=\"entity=row.entity\">\r\n <div ng-show=\"entity.status == 0\">\r\n <sapn class=\"glyphicon glyphicon-minus\"> 待迁移\r\n </div>\r\n <div ng-show=\"entity.status == 1\"> \r\n <span class=\"glyphicon glyphicon-transfer\"> 迁移中\r\n </div>\r\n <div ng-show=\"entity.status == 2\"> \r\n <span class=\"glyphicon glyphicon-ok\"> 已完成\r\n </div>\r\n <div ng-show=\"entity.status == 3\"> \r\n <span class=\"glyphicon glyphicon-remove\"> 失败\r\n </div>\r\n </div>\r\n</script>\r\n<script type=\"text/ng-template\" id=\"creationTimeTemplate.html\">\r\n <div class=\"ngCellText\" title=\"created at: {{row.entity.$creationDate | date : \'h:mm:ss a, EEE MMM yyyy\'}}\">\r\n {{row.entity.$creationDate.relative()}}\r\n </div>\r\n</script>\r\n<script type=\"text/ng-template\" id=\"dataExtractTemplate.html\">\r\n <div class=\"ngCellText\" ng-init=\"entity=row.entity\">\r\n <span ng-show=\"entity.extractStatus == 0\" class=\"badge badge-info\"> 待汇总</span>\r\n <span ng-show=\"entity.extractStatus == 1\" class=\"badge badge-success\"> 汇总中</span>\r\n <span ng-show=\"entity.extractStatus == 2\" class=\"badge\"> 已完成</span>\r\n </div>\r\n</script>\r\n\r\n<script type=\"text/ng-template\" id=\"loadingMask.html\">\r\n <div class=\"custom-alert\"> \r\n <div id=\"loading\">\r\n <span ng-bind=\"ngDialogData.msg\" />\r\n </div> \r\n </div>\r\n</script>\r\n\r\n<div ng-controller=\"Kubernetes.TopLevel\">\r\n <div class=\"wiki-icon-view\" ng-controller=\"Kubernetes.FileDropController\" nv-file-drop nv-file-over uploader=\"uploader\" over-class=\"ready-drop\">\r\n <div class=\"row kubernetes-view\" ng-view></div>\r\n </div>\r\n</div>\r\n");
$templateCache.put("plugins/kubernetes/html/logShell.html","<div class=\"terminal-window pod-log-window\" pod-log-window ng-mousedown=\"raise()\">\r\n <div class=\"resize-dot\" ng-mousedown=\"startResize($event)\" ng-hide=\"docked\"></div>\r\n <div class=\"centered scroll-indicator\" ng-hide=\"atBottom\" ng-click=\"atBottom = true\">\r\n <span class=\"fa fa-caret-down\"></span>\r\n </div>\r\n <div class=\"terminal-title\" ng-mousedown=\"mouseDown($event)\" ng-mouseup=\"mouseUp($event)\" ng-mousemove=\"mouseMove($event)\">\r\n <h5 class=\"top-bottom-middle\">{{containerName}}的汇总日志</h5>\r\n <i class=\"fa fa-remove pull-right clickable\" title=\"Close and exit this log\" ng-click=\"close()\"></i>\r\n <i class=\"fa fa-square-o pull-right clickable\" title=\"Maximize this log\" ng-click=\"maximize($event)\"></i>\r\n <i class=\"fa fa-sort-desc pull-right clickable\" ng-hide=\"maximized()\" title=\"Minimize this log\" ng-click=\"minimize($event)\"></i>\r\n </div>\r\n <!--<div class=\"terminal-body\" scroll-glue ng-model=\"atBottom\" style=\"overflow-y:hidden\"> -->\r\n <textarea style=\"height:100%; width:100%\" disabled=\"disabled\">{{logs}}</textarea>\r\n <!--</div>-->\r\n</div>\r\n");
$templateCache.put("plugins/kubernetes/html/overview.html","<div ng-controller=\"Kubernetes.OverviewController\">\r\n <script type=\"text/ng-template\" id=\"serviceBoxTemplate.html\">\r\n <div>\r\n <div class=\"align-left node-body\">{{entity.$portsText}}</div>\r\n <div class=\"align-right node-header\" title=\"{{entity.metadata.name}}\" ng-bind=\"entity.metadata.name\"></div>\r\n </div>\r\n </script>\r\n <script type=\"text/ng-template\" id=\"serviceTemplate.html\">\r\n <div class=\"kubernetes-overview-row\">\r\n <div class=\"kubernetes-overview-cell\">\r\n <div id=\"{{service._key}}\"\r\n namespace=\"{{service.metadata.namespace}}\"\r\n connect-to=\"{{service.connectTo}}\"\r\n data-type=\"service\"\r\n class=\"jsplumb-node kubernetes-node kubernetes-service-node\"\r\n ng-controller=\"Kubernetes.OverviewBoxController\"\r\n ng-init=\"entity=getEntity(\'service\', \'{{service._key}}\')\"\r\n ng-mouseenter=\"mouseEnter($event)\"\r\n ng-mouseleave=\"mouseLeave($event)\"\r\n ng-click=\"viewDetails(entity, \'services\')\">\r\n <div ng-init=\"entity=entity\" ng-include=\"\'serviceBoxTemplate.html\'\"></div>\r\n </div>\r\n </div>\r\n </div>\r\n </script>\r\n <script type=\"text/ng-template\" id=\"overviewHostTemplate.html\">\r\n <div class=\"kubernetes-overview-row\">\r\n <div class=\"kubernetes-overview-cell\">\r\n <div id=\"{{host.elementId}}\"\r\n data-type=\"host\"\r\n class=\"kubernetes-host-container host\">\r\n <h5><img ng-src=\"{{host.$iconUrl}}\" style=\"width: 32px; height: 32px;\">\r\n <a ng-href=\"{{baseUri}}/kubernetes/hosts/{{host.id}}\">{{host.id}}</a>\r\n </h5>\r\n <div class=\"pod-container\"></div>\r\n </div>\r\n </div>\r\n </div>\r\n </script>\r\n <script type=\"text/ng-template\" id=\"podTemplate.html\">\r\n <div id=\"{{pod._key}}\"\r\n data-type=\"pod\"\r\n title=\"Pod ID: {{pod.metadata.name}}\"\r\n class=\"jsplumb-node kubernetes-node kubernetes-pod-node\"\r\n ng-mouseenter=\"mouseEnter($event)\"\r\n ng-mouseleave=\"mouseLeave($event)\"\r\n ng-controller=\"Kubernetes.OverviewBoxController\"\r\n ng-init=\"entity=getEntity(\'pod\', \'{{pod._key}}\')\"\r\n ng-click=\"viewDetails(entity, \'pods\')\">\r\n <div class=\"css-table\">\r\n <div class=\"css-table-row\">\r\n <div class=\"pod-status-cell css-table-cell\">\r\n <span ng-init=\"row={ entity: entity }\" ng-include=\"\'statusTemplate.html\'\"></span>\r\n </div>\r\n <div class=\"pod-label-cell css-table-cell\">\r\n <span ng-init=\"row={ entity: entity }\" ng-include=\"\'labelTemplate.html\'\"></span>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </script>\r\n <script type=\"text/ng-template\" id=\"replicationControllerTemplate.html\">\r\n <div class=\"kubernetes-overview-row\">\r\n <div class=\"kubernetes-overview-cell\">\r\n <div\r\n id=\"{{replicationController._key}}\"\r\n title=\"{{replicationController.id}}\"\r\n data-type=\"replicationController\"\r\n data-placement=\"top\"\r\n connect-to=\"{{replicationController.connectTo}}\"\r\n ng-mouseenter=\"mouseEnter($event)\"\r\n ng-mouseleave=\"mouseLeave($event)\"\r\n class=\"jsplumb-node kubernetes-replicationController-node kubernetes-node\"\r\n ng-controller=\"Kubernetes.OverviewBoxController\"\r\n ng-init=\"entity=getEntity(\'replicationController\', \'{{replicationController._key}}\')\"\r\n ng-click=\"viewDetails(entity, \'replicationControllers\')\">\r\n <img class=\"app-icon-medium\" ng-src=\"{{replicationController.$iconUrl}}\">\r\n </div>\r\n </div>\r\n </div>\r\n </script>\r\n <script type=\"text/ng-template\" id=\"overviewTemplate.html\">\r\n <div class=\"kubernetes-overview\"\r\n hawtio-jsplumb\r\n draggable=\"false\"\r\n layout=\"false\"\r\n node-sep=\"50\"\r\n rank-sep=\"300\">\r\n <div class=\"kubernetes-overview-row\">\r\n <div class=\"kubernetes-overview-cell\">\r\n <div class=\"kubernetes-overview services\">\r\n <h6>Services</h6>\r\n </div>\r\n </div>\r\n <div class=\"kubernetes-overview-cell\">\r\n <div class=\"kubernetes-overview hosts\">\r\n <h6>Hosts and Pods</h6>\r\n </div>\r\n </div>\r\n <div class=\"kubernetes-overview-cell\">\r\n <div class=\"kubernetes-overview replicationControllers\">\r\n <h6>Replication controllers</h6>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </script>\r\n <div class=\"row\">\r\n <div hawtio-breadcrumbs></div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div hawtio-tabs></div>\r\n </div>\r\n\r\n <kubernetes-overview></kubernetes-overview>\r\n</div>\r\n");
$templateCache.put("plugins/kubernetes/html/pendingPipelines.html","<div class=\"pipeline-panel\">\r\n <div ng-hide=\"model.fetched\">\r\n <div class=\"align-center\">\r\n <div class=\"spinner spinner-lg\"></div>\r\n </div>\r\n </div>\r\n <div ng-show=\"model.fetched\">\r\n <div ng-hide=\"model.job.builds.length\" class=\"align-center\">\r\n <div>\r\n <h2>No Pipeline Available</h2>\r\n <p>Pipeline is a kind of build which uses Jenkins Workflow internally which has multiple Stages. You will see the active pipelines here after you add a build to this project</p>\r\n </div>\r\n </div>\r\n <div ng-show=\"model.job.builds.length\">\r\n <div ng-repeat=\"build in model.job.builds | filter:model.filterText track by $index\">\r\n <div pipeline-view></div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n");
$templateCache.put("plugins/kubernetes/html/pipelines.html","<div class=\"row\" ng-controller=\"Kubernetes.PipelinesController\">\r\n <script type=\"text/ng-template\" id=\"hostLinkTemplate.html\">\r\n <div class=\"ngCellText\">\r\n </div>\r\n </script>\r\n <div class=\"row filter-header\">\r\n <div class=\"col-md-12\">\r\n <span>\r\n <hawtio-filter ng-show=\"pipelines.length\"\r\n ng-model=\"filterText\"\r\n css-class=\"input-xxlarge\"\r\n placeholder=\"Filter builds...\"></hawtio-filter>\r\n </span>\r\n <a class=\"btn btn-default pull-right\"\r\n title=\"Create a new project\"\r\n ng-show=\"forgeEnabled\"\r\n href=\"/workspaces/{{namespace}}/forge/createProject\"><i class=\"fa fa-plus\"></i> Create Project</a>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <div ng-hide=\"fetched\">\r\n <div class=\"align-center\">\r\n <i class=\"fa fa-spinner fa-spin\"></i>\r\n </div>\r\n </div>\r\n <div ng-show=\"fetched\">\r\n <div ng-hide=\"pipelines.length\" class=\"align-center\">\r\n <p class=\"alert alert-info\">There are no build pipelines available.</p>\r\n <a class=\"btn btn-primary\" href=\"{{baseUri}}/kubernetes/buildConfig\">Create Build Configuration</a>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div ng-show=\"fetched && pipelines.length\">\r\n <div ng-repeat=\"pipeline in pipelines | filter:filterText\">\r\n <div class=\"row\">\r\n\r\n <div class=\"pipeline-row\">\r\n <div ng-repeat=\"step in pipeline.triggersSteps\">\r\n <div ng-switch=\"step.buildConfig.kind\">\r\n <div ng-switch-default=\"\">\r\n <div class=\"col-md-1\" ng-hide=\"$first\">\r\n <div class=\"pipeline-arrow\">\r\n <i class=\"fa fa-long-arrow-right\"></i>\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-md-2 pipeline-build\" title=\"Build configuration\">\r\n <span class=\"pipeline-build-details\">\r\n <a title=\"View details for this build configuration\"\r\n href=\"{{baseUri}}/kubernetes/buildConfigs/{{step.buildConfig.metadata.name}}\">\r\n <i class=\"fa fa-cog\"></i>\r\n {{step.buildConfig.metadata.name}}\r\n </a>\r\n </span>\r\n &nbsp;&nbsp;&nbsp;\r\n <span class=\"pipeline-last-build\" ng-show=\"step.buildConfig.$lastBuild\">\r\n <a href=\"{{step.buildConfig.$lastBuild.$viewLink}}\" title=\"view this build\">\r\n <i class=\"fa fa-info\"></i>\r\n build\r\n </a>\r\n </span>\r\n\r\n <div class=\"ngCellText\" class=\"pipeline-last-build-time\"\r\n title=\"last build was at: {{step.buildConfig.$lastBuild.$creationDate | date : \'h:mm:ss a, EEE MMM yyyy\'}}\">\r\n <div ng-switch=\"step.buildConfig.$lastBuild.status\">\r\n <span ng-switch-when=\"New\" class=\"text-primary\">\r\n <i class=\"fa fa-spin fa-spinner\"></i> new: {{step.buildConfig.$lastBuild.$creationDate.relative()}}\r\n </span>\r\n <span ng-switch-when=\"Pending\" class=\"text-primary\">\r\n <i class=\"fa fa-spin fa-spinner\"></i> pending: {{step.buildConfig.$lastBuild.$creationDate.relative()}}\r\n </span>\r\n <span ng-switch-when=\"Running\" class=\"text-primary\">\r\n <i class=\"fa fa-spin fa-spinner\"></i> running {{step.buildConfig.$lastBuild.$creationDate.relative()}}\r\n </span>\r\n <span ng-switch-when=\"Complete\" class=\"text-success\">\r\n <i class=\"fa fa-check-circle\"></i> completed {{step.buildConfig.$lastBuild.$creationDate.relative()}}\r\n </span>\r\n <span ng-switch-when=\"Failed\" class=\"text-danger\">\r\n <i class=\"fa fa-exclamation-circle\"></i> failed {{step.buildConfig.$lastBuild.$creationDate.relative()}}\r\n </span>\r\n <span ng-switch-default class=\"text-warning\">\r\n <i class=\"fa fa-exclamation-triangle\"></i> {{step.buildConfig.$lastBuild.status}}: {{step.buildConfig.$lastBuild.$creationDate.relative()}}\r\n </span>\r\n </div>\r\n </div>\r\n <div class=\"pipeline-last-build-logs\">\r\n <a href=\"{{step.buildConfig.$lastBuild.$logsLink}}\" title=\"view the logs of this build\">\r\n <i class=\"fa fa-file-text-o\"></i>\r\n logs\r\n </a>\r\n </div>\r\n </div>\r\n </div>\r\n <div ng-switch-when=\"DeploymentConfig\">\r\n <div class=\"col-md-1\">\r\n <div class=\"pipeline-arrow\">\r\n <i class=\"fa fa-long-arrow-right\"></i>\r\n </div>\r\n </div>\r\n\r\n <div class=\"col-md-2 pipeline-deploy\" title=\"Deployment Configuration\">\r\n <div class=\"pipeline-build-details\">\r\n <a title=\"View details for this deployment configuration\"\r\n href=\"{{baseUri}}/kubernetes/deploymentConfigs/{{step.buildConfig.metadata.name}}\">\r\n <i class=\"fa fa-cogs\"></i>\r\n {{step.buildConfig.metadata.name}}\r\n </a>\r\n </div>\r\n <div class=\"pipeline-deploy-pods\">\r\n <div class=\"pipeline-pod-counts\" ng-show=\"step.$podCounters\">pods:\r\n <a ng-show=\"step.$podCounters.podsLink\" target=\"pods\" href=\"{{step.$podCounters.podsLink}}\"\r\n title=\"View pods for this deployment\">\r\n <span class=\"badge badge-success\">{{step.$podCounters.ready}}</span>\r\n <span class=\"badge badge-info\">{{step.$podCounters.valid}}</span>\r\n <span ng-show=\"step.$podCounters.waiting\" class=\"badge\">{{step.$podCounters.waiting}}</span>\r\n <span ng-show=\"step.$podCounters.error\"\r\n class=\"badge badge-warning\">{{step.$podCounters.error}}</span>\r\n </a>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n");
$templateCache.put("plugins/kubernetes/html/pod.html","<div ng-controller=\"Kubernetes.PodController\">\r\n\r\n <div class=\"row\">\r\n <div hawtio-breadcrumbs></div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div hawtio-tabs></div>\r\n </div>\r\n\r\n <div class=\"row row-header\">\r\n <div class=\"col-md-12\">\r\n <span ng-show=\"model.fetched && !rawMode\" class=\"icon-heading\">\r\n <i ng-show=\"item.$statusCss\" class=\"icon-selected-app fa {{item.$statusCss}}\"></i>\r\n\r\n <img ng-show=\"item.$iconUrl\" class=\"icon-selected-app\" ng-src=\"{{item.$iconUrl}}\">&nbsp;{{item.metadata.name}}\r\n </span>\r\n\r\n <button class=\"btn btn-danger pull-right\"\r\n title=\"Delete this Pod\"\r\n ng-click=\"deleteEntity()\">\r\n <i class=\"fa fa-remove\"></i> Delete\r\n </button>\r\n <span class=\"pull-right\">&nbsp;</span>\r\n\r\n <a class=\"btn btn-default pull-right\"\r\n href=\"{{baseUri}}/kubernetes/pods?namespace={{item.metadata.namespace}}\"><i class=\"fa fa-list\"></i></a>\r\n <span ng-show=\"hasServiceKibana()\" class=\"pull-right\">&nbsp;</span>\r\n <button ng-show=\"hasServiceKibana()\"\r\n class=\"btn btn-default pull-right\"\r\n title=\"View the logs for this pod\"\r\n ng-click=\"openLogs()\">\r\n <i class=\"fa fa-file-text-o\"></i> Logs\r\n </button>\r\n\r\n <a class=\"btn btn-default pull-right\"\r\n ng-click=\"flipRaw()\"\r\n title=\"{{rawMode ? \'Raw mode\' : \'Form mode\'}}\">{{rawMode ? \'Form\' : \'Raw\'}}</a>\r\n <span class=\"pull-right\">&nbsp;</span>\r\n\r\n <a class=\"btn btn-default pull-right\" ng-show=\"rawMode\" ng-click=\"readOnly = !readOnly\" ng-class=\"!readOnly ? \'btn-primary\' : \'\'\">Edit</a>\r\n <span class=\"pull-right\">&nbsp;</span>\r\n\r\n <a class=\"btn btn-success pull-right\" ng-show=\"dirty\" ng-click=\"save(rawModel)\">Save</a>\r\n <span class=\"pull-right\">&nbsp;</span>\r\n\r\n <a class=\"btn btn-primary pull-right\"\r\n href=\"/kubernetes/namespace/{{item.metadata.namespace}}/events?q=kind%3DPod%20name%3D{{item.metadata.name}}\"\r\n title=\"View the events for this Pod\">\r\n <i class=\"fa fa-ellipsis-v\"></i> Events\r\n </a>\r\n <span class=\"pull-right\">&nbsp;</span>\r\n\r\n <div ng-show=\"item.$jolokiaUrl && item.$ready\" ng-controller=\"Kubernetes.ConnectController\" class=\"pull-right\">\r\n <span>&nbsp;</span>\r\n <a class=\"btn btn-default pull-right\"\r\n ng-click=\"doConnect(item)\"\r\n title=\"Open a new window and connect to this container\">\r\n <i class=\"fa fa-sign-in\"></i> Connect\r\n </a>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div ng-hide=\"model.fetched\">\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <div class=\"align-center\">\r\n <i class=\"fa fa-spinner fa-spin\"></i>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div ng-show=\"model.fetched && !rawMode\">\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <div hawtio-object=\"item\" config=\"itemConfig\"></div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div ng-show=\"model.fetched && rawMode\">\r\n <div class=\"raw-json-view\">\r\n <div hawtio-editor=\"rawModel\" mode=\"mode\" read-only=\"readOnly\"></div>\r\n </div>\r\n </div>\r\n\r\n</div>\r\n");
$templateCache.put("plugins/kubernetes/html/podCreate.html","<div ng-controller=\"Kubernetes.PodEditController\">\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <span class=\"pull-right\">&nbsp;</span>\r\n <a class=\"btn btn-default pull-right\"\r\n title=\"Go back to viewing all the pods\"\r\n href=\"{{baseUri}}/kubernetes/pods\"><i class=\"fa fa-list\"></i></a>\r\n <button class=\"btn btn-primary pull-right\"\r\n title=\"Create a new pod\"\r\n ng-click=\"save()\">\r\n Create Pod\r\n </button>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <div ng-hide=\"fetched\">\r\n <div class=\"align-center\">\r\n <i class=\"fa fa-spinner fa-spin\"></i>\r\n </div>\r\n </div>\r\n <div ng-show=\"fetched\">\r\n <div hawtio-form-2=\"config\" entity=\"entity\"></div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n");
$templateCache.put("plugins/kubernetes/html/podEdit.html","<div ng-controller=\"Kubernetes.PodEditController\">\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <span class=\"pull-right\">&nbsp;</span>\r\n <a class=\"btn btn-default pull-right\"\r\n title=\"Go back to viewing all the pods\"\r\n href=\"{{baseUri}}/kubernetes/pods\"><i class=\"fa fa-list\"></i></a>\r\n <button class=\"btn btn-primary pull-right\"\r\n title=\"Saves changes to this pod\"\r\n ng-click=\"save()\">\r\n Save\r\n </button>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <div ng-hide=\"fetched\">\r\n <div class=\"align-center\">\r\n <i class=\"fa fa-spinner fa-spin\"></i>\r\n </div>\r\n </div>\r\n <div ng-show=\"fetched\">\r\n <div hawtio-form-2=\"config\" entity=\"entity\"></div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n");
$templateCache.put("plugins/kubernetes/html/pods.html","<div class=\"row\" ng-controller=\"Kubernetes.Pods\">\r\n <script type=\"text/ng-template\" id=\"imageTemplate.html\">\r\n <div class=\"ngCellText\">\r\n <!-- in table -->\r\n <span ng-hide=\"data\">\r\n <span ng-repeat=\"container in row.entity.spec.containers\">\r\n <span ng-hide=\"container.$imageLink\">{{container.image}}</span>\r\n <a ng-show=\"container.$imageLink\" target=\"dockerRegistry\" href=\"{{container.$imageLink}}\" title=\"{{container.name}}\">{{container.image}}</a>\r\n </span>\r\n </span>\r\n <!-- in detail view -->\r\n <span ng-show=\"data\">\r\n <a target=\"dockerRegistry\" ng-href=\"https://registry.hub.docker.com/u/{{data}}\" title=\"{{data}}\">{{data}}</a>\r\n </span>\r\n </div>\r\n </script>\r\n <script type=\"text/ng-template\" id=\"configDetail.html\">\r\n <pre>{{data}}</pre>\r\n </script>\r\n <script type=\"text/ng-template\" id=\"envItemTemplate.html\">\r\n <span ng-controller=\"Kubernetes.EnvItem\">\r\n <span class=\"blue\">{{key}}</span>=<span class=\"green\">{{value}}</span>\r\n </span>\r\n </script>\r\n\r\n\r\n <div class=\"row\">\r\n <div hawtio-breadcrumbs></div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div hawtio-tabs></div>\r\n </div>\r\n\r\n <div class=\"row filter-header\">\r\n <div class=\"col-md-12\" ng-show=\"true\">\r\n <span ng-show=\"!id\">\r\n <hawtio-filter ng-model=\"tableConfig.filterOptions.filterText\"\r\n css-class=\"input-xxlarge\"\r\n placeholder=\"Filter pods...\"></hawtio-filter>\r\n </span>\r\n <button ng-show=\"model.fetched\"\r\n class=\"btn btn-danger pull-right\"\r\n ng-disabled=\"!id && tableConfig.selectedItems.length == 0\"\r\n ng-click=\"deletePrompt(id || tableConfig.selectedItems)\">\r\n <i class=\"fa fa-remove\"></i> Delete\r\n </button>\r\n <span class=\"pull-right\">&nbsp;</span>\r\n <button ng-show=\"id\"\r\n class=\"btn btn-primary pull-right\"\r\n ng-click=\"id = undefined\"><i class=\"fa fa-list\"></i></button>\r\n <span class=\"pull-right\">&nbsp;</span>\r\n <button ng-show=\"hasServiceKibana()\"\r\n class=\"btn btn-primary pull-right\"\r\n title=\"View the logs for the selected pods\"\r\n ng-disabled=\"!id && tableConfig.selectedItems.length == 0\"\r\n ng-click=\"openLogs()\">\r\n <i class=\"fa fa-file-text-o\"></i> Logs\r\n </button>\r\n <span ng-show=\"hasServiceKibana()\" class=\"pull-right\">&nbsp;</span>\r\n <a class=\"btn btn-default pull-right\"\r\n title=\"Create a new pod\"\r\n ng-click=\"createPods()\"><i class=\"fa fa-plus\"></i> 创建新服务</a>\r\n <span class=\"pull-right\">&nbsp;</span>\r\n <span ng-include=\"\'runButton.html\'\"></span>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n\r\n <div ng-hide=\"model.fetched\">\r\n <div class=\"align-center\">\r\n <i class=\"fa fa-spinner fa-spin\"></i>\r\n </div>\r\n </div>\r\n <div ng-show=\"model.fetched\">\r\n <div ng-hide=\"model.pods.length\" class=\"align-center\">\r\n <p class=\"alert alert-info\">There are no pods currently running.</p>\r\n </div>\r\n <div ng-show=\"model.pods.length\">\r\n <table class=\"table table-striped table-bordered\" ui-if=\"kubernetes.selectedNamespace\"\r\n hawtio-simple-table=\"tableConfig\"></table>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n");
$templateCache.put("plugins/kubernetes/html/replicationController.html","<div ng-controller=\"Kubernetes.ReplicationControllerController\">\r\n\r\n <div class=\"row\">\r\n <div hawtio-breadcrumbs></div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div hawtio-tabs></div>\r\n </div>\r\n\r\n <div class=\"row row-header\">\r\n <div class=\"col-md-12\">\r\n <span ng-show=\"model.fetched && !rawMode\" class=\"icon-heading\">\r\n <img ng-show=\"item.$iconUrl\" class=\"icon-selected-app\" ng-src=\"{{item.$iconUrl}}\">&nbsp;{{item.metadata.name}}\r\n </span>\r\n\r\n <button class=\"btn btn-danger pull-right\"\r\n title=\"Delete this ReplicationController\"\r\n ng-click=\"deleteEntity()\">\r\n <i class=\"fa fa-remove\"></i> Delete\r\n </button>\r\n <span class=\"pull-right\">&nbsp;</span>\r\n\r\n <a class=\"btn btn-default pull-right\"\r\n title=\"Return to table of controllers\"\r\n href=\"{{baseUri}}/kubernetes/replicationControllers?namespace={{item.metadata.namespace}}\"><i class=\"fa fa-list\"></i></a>\r\n <span class=\"pull-right\">&nbsp;</span>\r\n\r\n <a class=\"btn btn-default pull-right\"\r\n ng-click=\"flipRaw()\"\r\n title=\"{{rawMode ? \'Raw mode\' : \'Form mode\'}}\">{{rawMode ? \'Form\' : \'Raw\'}}</a>\r\n <span class=\"pull-right\">&nbsp;</span>\r\n\r\n <a class=\"btn btn-default pull-right\" ng-show=\"rawMode\" ng-click=\"readOnly = !readOnly\" ng-class=\"!readOnly ? \'btn-primary\' : \'\'\">Edit</a>\r\n <span class=\"pull-right\">&nbsp;</span>\r\n\r\n <a class=\"btn btn-success pull-right\" ng-show=\"dirty\" ng-click=\"save(rawModel)\">Save</a>\r\n <span class=\"pull-right\">&nbsp;</span>\r\n\r\n <a class=\"btn btn-default pull-right\"\r\n href=\"/kubernetes/namespace/{{item.metadata.namespace}}/events?q=kind%3DReplicationController%20name%3D{{item.metadata.name}}\"\r\n title=\"View the events for this Replication Controller\">\r\n <i class=\"fa fa-ellipsis-v\"></i> Events\r\n </a>\r\n\r\n <span class=\"pull-right\">&nbsp;&nbsp;&nbsp;</span>\r\n\r\n <a class=\"btn btn-default pull-right\"\r\n ng-click=\"resizeDialog.open(item)\"\r\n title=\"Scale this controller, changing the number of pods you wish to run\">\r\n <i class=\"fa fa-server\"></i> Scale\r\n </a>\r\n\r\n <span class=\"pull-right controller-pod-counts\" ng-show=\"item.$podCounters\">Pods:\r\n <a ng-show=\"item.$podCounters.podsLink\" href=\"{{link(item.$podCounters.podsLink)}}\" title=\"View pods\">\r\n <span ng-show=\"item.$podCounters.ready\" class=\"badge badge-success\">{{item.$podCounters.ready}}</span>\r\n <span ng-show=\"item.$podCounters.valid\" class=\"badge badge-info\">{{item.$podCounters.valid}}</span>\r\n <span ng-show=\"item.$podCounters.waiting\" class=\"badge\">{{item.$podCounters.waiting}}</span>\r\n <span ng-show=\"item.$podCounters.error\" class=\"badge badge-warning\">{{item.$podCounters.error}}</span>\r\n </a>\r\n </span>\r\n </div>\r\n </div>\r\n\r\n <div ng-hide=\"model.fetched\">\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <div class=\"align-center\">\r\n <i class=\"fa fa-spinner fa-spin\"></i>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div ng-show=\"model.fetched && !rawMode\">\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <div hawtio-object=\"item\" config=\"itemConfig\"></div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div ng-show=\"model.fetched && rawMode\">\r\n <div class=\"raw-json-view\">\r\n <div hawtio-editor=\"rawModel\" mode=\"mode\" read-only=\"readOnly\"></div>\r\n </div>\r\n </div>\r\n\r\n <ng-include src=\"\'resizeDialog.html\'\"/>\r\n</div>\r\n");
$templateCache.put("plugins/kubernetes/html/replicationControllerCreate.html","<div ng-controller=\"Kubernetes.ReplicationControllerEditController\">\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <span class=\"pull-right\">&nbsp;</span>\r\n <a class=\"btn btn-default pull-right\"\r\n title=\"Go back to viewing all the replication controllers\"\r\n href=\"{{baseUri}}/kubernetes/replicationControllers\"><i class=\"fa fa-list\"></i></a>\r\n <button class=\"btn btn-primary pull-right\"\r\n title=\"Create a new controller\"\r\n ng-click=\"save()\">\r\n Create Controller\r\n </button>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <div ng-hide=\"fetched\">\r\n <div class=\"align-center\">\r\n <i class=\"fa fa-spinner fa-spin\"></i>\r\n </div>\r\n </div>\r\n <div ng-show=\"fetched\">\r\n <div hawtio-form-2=\"config\" entity=\"entity\"></div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n");
$templateCache.put("plugins/kubernetes/html/replicationControllerEdit.html","<div ng-controller=\"Kubernetes.ReplicationControllerEditController\">\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <span class=\"pull-right\">&nbsp;</span>\r\n <a class=\"btn btn-default pull-right\"\r\n title=\"Go back to viewing all the replication controllers\"\r\n href=\"{{baseUri}}/kubernetes/replicationControllers\"><i class=\"fa fa-list\"></i></a>\r\n <button class=\"btn btn-primary pull-right\"\r\n title=\"Saves changes to the controller\"\r\n ng-click=\"save()\">\r\n Save\r\n </button>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <div ng-hide=\"fetched\">\r\n <div class=\"align-center\">\r\n <i class=\"fa fa-spinner fa-spin\"></i>\r\n </div>\r\n </div>\r\n <div ng-show=\"fetched\">\r\n <div hawtio-form-2=\"config\" entity=\"entity\"></div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n");
$templateCache.put("plugins/kubernetes/html/replicationControllers.html","<div ng-controller=\"Kubernetes.ReplicationControllers\">\r\n <script type=\"text/ng-template\" id=\"currentReplicasTemplate.html\">\r\n <div class=\"ngCellText\" title=\"Number of running pods for this controller\">\r\n <a ng-show=\"row.entity.podsLink\" href=\"{{row.entity.podsLink}}\">\r\n <span class=\"badge {{row.entity.status.replicas > 0 ? \'badge-success\' : \'badge-warning\'}}\">{{row.entity.status.replicas}}</span>\r\n </a>\r\n <span ng-hide=\"row.entity.podsLink\" class=\"badge\">{{row.entity.status.replicas}}</span>\r\n </div>\r\n </script>\r\n <script type=\"text/ng-template\" id=\"desiredReplicas.html\">\r\n <div class=\"ngCellText\">\r\n <a href=\"\" class=\"badge badge-info\" \r\n ng-click=\"$parent.$parent.resizeDialog.open(row.entity)\" \r\n title=\"Edit the number of replicas of this controller\">{{row.entity.spec.replicas || 0}}</a>\r\n </div>\r\n </script>\r\n\r\n <div class=\"row\">\r\n <div hawtio-breadcrumbs></div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div hawtio-tabs></div>\r\n </div>\r\n\r\n <div class=\"row filter-header\">\r\n <div class=\"col-md-12 sj_fluid\" >\r\n <span ng-show=\"!id\">\r\n <hawtio-filter ng-model=\"tableConfig.filterOptions.filterText\"\r\n css-class=\"input-xxlarge sj_txt_box\"\r\n placeholder=\"通过数据标签筛选相应的oracle服务...\"\r\n save-as=\"kubernetes-replication-controllers-text-filter\"></hawtio-filter>\r\n </span>\r\n <button ng-show=\"model.fetched\"\r\n class=\"btn btn-danger pull-right sj_btn_grey \"\r\n ng-disabled=\"!id && tableConfig.selectedItems.length == 0\"\r\n ng-click=\"deletePrompt(id || tableConfig.selectedItems)\">\r\n <i class=\"glyphicon glyphicon-trash\"></i> 删除\r\n </button>\r\n <span class=\"pull-right\">&nbsp;</span>\r\n\r\n <button ng-show=\"model.fetched\"\r\n class=\"btn btn-warning pull-right sj_btn_grey \"\r\n ng-disabled=\"!id && tableConfig.selectedItems.length == 0\"\r\n ng-click=\"stopPrompt(id || tableConfig.selectedItems)\">\r\n <i class=\"glyphicon glyphicon-off\"></i> 停止\r\n </button>\r\n <span class=\"pull-right\">&nbsp;</span>\r\n\r\n <button ng-show=\"model.fetched\"\r\n class=\"btn btn-info pull-right sj_btn_grey\"\r\n ng-disabled=\"!id && tableConfig.selectedItems.length == 0\"\r\n ng-click=\"reStartPrompt(id || tableConfig.selectedItems)\">\r\n <i class=\"glyphicon glyphicon-play\"></i> 启动\r\n </button>\r\n <span class=\"pull-right\">&nbsp;</span>\r\n\r\n <button ng-show=\"model.fetched\"\r\n ng-disabled=\"!id && tableConfig.selectedItems.length == 0\"\r\n class=\"btn btn-success pull-right sj_btn_grey\"\r\n ng-click=\"extractClick.open(id || tableConfig.selectedItems)\">\r\n <i class=\"glyphicon glyphicon-cloud-download\"></i> 汇总\r\n </button>\r\n <!--<span ng-include=\"\'runButton.html\'\"></span>-->\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12 sj_fluid\">\r\n <div ng-hide=\"model.fetched\">\r\n <div class=\"align-center\">\r\n <i class=\"fa fa-spinner fa-spin\"></i>\r\n </div>\r\n </div>\r\n <div ng-show=\"model.fetched\">\r\n <div ng-hide=\"model.replicationControllers.length\" class=\"align-center\">\r\n <p class=\"alert alert-info\">当前没有正在运行的oracle服务.</p>\r\n </div>\r\n <div ng-show=\"model.replicationControllers.length\">\r\n <table class=\"table table-bordered table-striped sj_content_table\"\r\n hawtio-simple-table=\"tableConfig\" ></table>\r\n </div>\r\n </div>\r\n </div>\r\n </div> \r\n\r\n <div modal=\"extractClick.dialog.show\">\r\n <form name=\"selectOracle\" class=\"\" ng-submit=\"extractClick.onOk()\">\r\n <div class=\"modal-header\"><h4>数据汇总</h4></div>\r\n <div class=\"modal-body\">\r\n\r\n <div class=\"form-group\" ng-class=\"{\'has-error\': selectOracle.$invalid}\">\r\n <label class=\"fl control-label sj_control-label\" for=\"selectedItem\">\r\n 数据库名称\r\n <a tabindex=\"0\" role=\"button\" data-toggle=\"popover\" data-trigger=\"focus\" data-html=\"true\" title=\"\"\r\n data-content=\"name of the new project\" data-placement=\"top\" data-original-title=\"\">\r\n <span class=\"fa fa-info-circle\"></span>\r\n </a>\r\n </label>\r\n\r\n <div class=\"col-sm-9\">\r\n <select ng-model=\"extractClick.selectedItem\" class=\"form-control sj_txt_box02\"\r\n title=\"name of the new namespace\"\r\n id =\"selectedItem\"\r\n ng-options=\"x.name for x in configs.oracleParam\">\r\n </select>\r\n </div>\r\n </div>\r\n\r\n <hr/>\r\n\r\n <div class=\"form-group\">\r\n <div class=\"col-sm-12 alert alert-warning sj_alert-warning\">\r\n <span class=\"help-block \" ng-show=\"configs.oracleParam.length >0 && extractClick.selectedItem\">\r\n <br>\r\n 您所选择的数据库数据将会被抽取到汇总数据库:\r\n <font color=\"Red\"><strong>{{extractClick.selectedItem.name}}</strong></font> 中,是否继续请确认!\r\n </span>\r\n <span class=\"help-block\" ng-show=\"configs.oracleParam.length == 0\">\r\n 当前没有汇总数据库可以选择,请先创建,可以点击创建汇总数据库按钮进行创建或从汇总页面中的服务器数据列表中启动已创建的汇总数据库!\r\n </span>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"modal-footer\">\r\n <input class=\"btn btn-primary sj_btn_blue\" type=\"submit\"\r\n ng-disabled=\"configs.oracleParam.length == 0\"\r\n value=\"确定\">\r\n\r\n <button class=\"btn btn-warning cancel sj_btn_grey\" type=\"button\" ng-click=\"extractClick.close()\">取消</button>\r\n </div>\r\n </form>\r\n </div>\r\n</div>\r\n");
$templateCache.put("plugins/kubernetes/html/secret.html","<div ng-controller=\"Kubernetes.SecretController\">\r\n <div class=\"row\">\r\n <div hawtio-breadcrumbs></div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div hawtio-tabs></div>\r\n </div>\r\n\r\n <div class=\"row filter-header\">\r\n <div class=\"col-md-12\">\r\n <button class=\"btn btn-default pull-right\"\r\n title=\"Cancel changes to this secret\"\r\n ng-click=\"cancel()\">\r\n Cancel\r\n </button>\r\n <span class=\"pull-right\">&nbsp;</span>\r\n <button class=\"btn btn-primary pull-right\"\r\n title=\"Saves changes to this secret\"\r\n ng-disabled=\"!entity.name || !changed\"\r\n ng-click=\"save()\">\r\n Save Changes\r\n </button>\r\n </div>\r\n </div>\r\n\r\n <div ng-hide=\"fetched\">\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <div class=\"align-center\">\r\n <i class=\"fa fa-spinner fa-spin\"></i>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div ng-show=\"fetched\">\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <form name=\"secretForm\" class=\"form-horizontal\">\r\n <div class=\"form-group\" ng-hide=\"id\" ng-class=\"{\'has-error\': secretForm.$error.validator}\">\r\n <label class=\"col-sm-2 control-label\" for=\"secretName\">\r\n Name\r\n <a tabindex=\"0\" role=\"button\" data-toggle=\"popover\" data-trigger=\"focus\" data-html=\"true\" title=\"\"\r\n data-content=\"name of the secret\" data-placement=\"top\" data-original-title=\"\">\r\n <span class=\"fa fa-info-circle\"></span>\r\n </a>\r\n </label>\r\n\r\n <div class=\"col-sm-10\">\r\n <input type=\"text\" id=\"secretName\" name=\"secretName\" ng-model=\"entity.name\" ng-change=\"entityChanged()\" class=\"form-control\"\r\n ui-validate=\"\'checkNameUnique($value)\'\"\r\n required=\"required\">\r\n <span class=\"help-block\" ng-show=\"secretForm.secretName.$error.validator\">\r\n There is already a secret with that name!\r\n </span>\r\n </div>\r\n </div>\r\n\r\n <div class=\"form-group\" ng-repeat=\"property in entity.properties track by $index\">\r\n <label class=\"col-sm-2 control-label\" for=\"{{property.key}}\">\r\n {{property.label}}\r\n <a tabindex=\"0\" role=\"button\" data-toggle=\"popover\" data-trigger=\"focus\" data-html=\"true\" title=\"\"\r\n data-content=\"{{property.description}}\" data-placement=\"top\" data-original-title=\"\">\r\n <span class=\"fa fa-info-circle\"></span>\r\n </a>\r\n </label>\r\n\r\n <div class=\"col-sm-9\" ng-switch=\"property.type\">\r\n <textarea ng-switch-when=\"textarea\" class=\"form-control\" rows=\"{{property.rows}}\" id=\"{{property.key}}\" ng-change=\"entityChanged()\"\r\n ng-model=\"entity.properties[property.key].value\"></textarea>\r\n <input ng-switch-default=\"\" type=\"{{property.type}}\" class=\"form-control\" id=\"{{property.key}}\" ng-change=\"entityChanged()\"\r\n ng-model=\"entity.properties[property.key].value\">\r\n </div>\r\n\r\n <div class=\"col-sm-1\">\r\n <button class=\"btn btn-danger pull-right\" ng-click=\"deleteProperty(property.key)\"\r\n title=\"Remove this property from the secret\">\r\n <i class=\"fa fa-remove\"></i>\r\n </button>\r\n </div>\r\n </div>\r\n </form>\r\n\r\n\r\n <div class=\"form-group\" ng-show=\"entity.name\">\r\n <div class=\"col-sm-12\">\r\n <div class=\"text-center\">\r\n <button class=\"btn btn-default btn-padding\" ng-click=\"addFields(httpsKeys)\" ng-hide=\"hasAllKeys(httpsKeys)\"\r\n title=\"Adds fields to store HTTPS user and password fields\">\r\n <i class=\"fa fa-plus\"></i> HTTPS User &amp; Password Fields\r\n </button>\r\n <button class=\"btn btn-default btn-padding\" ng-click=\"addFields(sshKeys)\" ng-hide=\"hasAllKeys(sshKeys)\"\r\n title=\"Adds the fields to store SSH private and public keys\">\r\n <i class=\"fa fa-plus\"></i> SSH Key Fields\r\n </button>\r\n <button class=\"btn btn-default btn-padding\" ng-click=\"addFieldDialog.dialog.open()\"\r\n title=\"Adds a new data field to store new data in this secret\">\r\n <i class=\"fa fa-plus\"></i> Custom Field\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div modal=\"addFieldDialog.dialog.show\">\r\n <form name=\"addDataFieldForm\" class=\"\" ng-submit=\"addFieldDialog.onOk()\">\r\n <div class=\"modal-header\"><h4>Add New Data Field</h4></div>\r\n <div class=\"modal-body\">\r\n\r\n <div class=\"form-group\" ng-class=\"{\'has-error\': addDataFieldForm.$invalid}\">\r\n <label class=\"col-sm-2 control-label\" for=\"newDataName\">\r\n Name\r\n <a tabindex=\"0\" role=\"button\" data-toggle=\"popover\" data-trigger=\"focus\" data-html=\"true\" title=\"\"\r\n data-content=\"name of the new field to add to the secret\" data-placement=\"top\" data-original-title=\"\">\r\n <span class=\"fa fa-info-circle\"></span>\r\n </a>\r\n </label>\r\n\r\n <div class=\"col-sm-10\">\r\n <input type=\"text\" id=\"newDataName\" name=\"newDataName\" ng-model=\"entity.newDataKey\" class=\"form-control\"\r\n ui-validate=\"\'checkFieldUnique($value)\'\"\r\n typeahead=\"title for title in propertyKeys() | filter:$viewValue\"\r\n typeahead-editable=\"true\"\r\n autocomplete=\"off\"\r\n title=\"name of the new field to add to the secret\"\r\n placeholder=\"new data field name\">\r\n\r\n <span class=\"help-block\" ng-show=\"addDataFieldForm.newDataName.$error.validator\">\r\n That field name is already in use!\r\n </span>\r\n </div>\r\n </div>\r\n\r\n <hr/>\r\n\r\n <div class=\"form-group\">\r\n <div class=\"col-sm-12\">\r\n <span class=\"help-block\">\r\n Enter the name of the new data field to add to the secret\r\n </span>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"modal-footer\">\r\n <input class=\"btn btn-primary\" type=\"submit\"\r\n ng-disabled=\"!entity.newDataKey\"\r\n value=\"Add\">\r\n\r\n <button class=\"btn btn-warning cancel\" type=\"button\" ng-click=\"addFieldDialog.close()\">Cancel</button>\r\n </div>\r\n </form>\r\n </div>\r\n\r\n</div>\r\n");
$templateCache.put("plugins/kubernetes/html/secrets.html","<div class=\"row\" ng-controller=\"Kubernetes.SecretsController\">\r\n <div class=\"row\">\r\n <div hawtio-breadcrumbs></div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div hawtio-tabs></div>\r\n </div>\r\n\r\n <div class=\"row filter-header\">\r\n <div class=\"col-md-12\">\r\n <span ng-show=\"!id\">\r\n <hawtio-filter ng-show=\"model.secrets.length\"\r\n ng-model=\"tableConfig.filterOptions.filterText\"\r\n save-as=\"kubernetes-secrets-text-filter\"\r\n css-class=\"input-xxlarge\"\r\n placeholder=\"Filter secrets...\"></hawtio-filter>\r\n\r\n <button class=\"btn btn-danger pull-right\"\r\n title=\"Deletes the selected secrets\"\r\n ng-disabled=\"!tableConfig.selectedItems.length\"\r\n ng-click=\"deletePrompt(tableConfig.selectedItems)\">\r\n <i class=\"fa fa-remove\"></i> Delete\r\n </button>\r\n <span class=\"pull-right\">&nbsp;</span>\r\n <a class=\"btn btn-primary pull-right\"\r\n title=\"Create a new secret\"\r\n ng-show=\"$createSecretLink\" href=\"{{$createSecretLink}}\">\r\n <i class=\"fa fa-plus\"></i> Create\r\n </a>\r\n </span>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <div ng-hide=\"model.fetched\">\r\n <div class=\"align-center\">\r\n <i class=\"fa fa-spinner fa-spin\"></i>\r\n </div>\r\n </div>\r\n <div ng-show=\"model.fetched\">\r\n <div ng-hide=\"model.secrets.length\" class=\"align-center\">\r\n <p class=\"alert alert-info\">There are no secrets currently available.</p>\r\n </div>\r\n <div ng-show=\"model.secrets.length\">\r\n <table class=\"table table-bordered table-striped\" ui-if=\"kubernetes.selectedNamespace\"\r\n hawtio-simple-table=\"tableConfig\"></table>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n");
$templateCache.put("plugins/kubernetes/html/service.html","<div ng-controller=\"Kubernetes.ServiceController\">\r\n <div class=\"row\">\r\n <div hawtio-breadcrumbs></div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div hawtio-tabs></div>\r\n </div>\r\n\r\n <div class=\"row row-header\">\r\n <div class=\"col-md-12\">\r\n <span ng-show=\"model.fetched && !rawMode\" class=\"icon-heading\">\r\n <img ng-show=\"item.$iconUrl\" class=\"icon-selected-app\" ng-src=\"{{item.$iconUrl}}\">&nbsp;{{item.metadata.name}}\r\n </span>\r\n\r\n <button class=\"btn btn-danger pull-right\"\r\n title=\"Delete this Service\"\r\n ng-click=\"deleteEntity()\">\r\n <i class=\"fa fa-remove\"></i> Delete\r\n </button>\r\n <span class=\"pull-right\">&nbsp;</span>\r\n\r\n <a class=\"btn btn-default pull-right\"\r\n href=\"{{baseUri}}/kubernetes/services?namespace={{item.metadata.namespace}}\"><i class=\"fa fa-list\"></i></a>\r\n\r\n <a class=\"btn btn-default pull-right\"\r\n ng-click=\"flipRaw()\"\r\n title=\"{{rawMode ? \'Raw mode\' : \'Form mode\'}}\">{{rawMode ? \'Form\' : \'Raw\'}}</a>\r\n <span class=\"pull-right\">&nbsp;</span>\r\n\r\n <a class=\"btn btn-default pull-right\" ng-show=\"rawMode\" ng-click=\"readOnly = !readOnly\" ng-class=\"!readOnly ? \'btn-primary\' : \'\'\">Edit</a>\r\n <span class=\"pull-right\">&nbsp;</span>\r\n\r\n <a class=\"btn btn-success pull-right\" ng-show=\"dirty\" ng-click=\"save(rawModel)\">Save</a>\r\n <span class=\"pull-right\">&nbsp;</span>\r\n\r\n <a class=\"btn btn-primary pull-right\"\r\n title=\"Open this service in your browser\"\r\n ng-show=\"item.$connectUrl\" href=\"{{item.$connectUrl}}\">\r\n <i class=\"fa fa-sign-in\"></i> Connect\r\n </a>\r\n </div>\r\n </div>\r\n\r\n <div ng-hide=\"model.fetched\">\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <div class=\"align-center\">\r\n <i class=\"fa fa-spinner fa-spin\"></i>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div ng-show=\"model.fetched && !rawMode\">\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <div hawtio-object=\"item\" config=\"itemConfig\"></div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <div ng-show=\"model.fetched && rawMode\">\r\n <div class=\"raw-json-view\">\r\n <div hawtio-editor=\"rawModel\" mode=\"mode\" read-only=\"readOnly\"></div>\r\n </div>\r\n </div>\r\n\r\n</div>\r\n");
$templateCache.put("plugins/kubernetes/html/serviceApps.html","<div class=\"dropdown\" ng-controller=\"Kubernetes.ServiceApps\">\r\n <a href=\"\" class=\"dropdown-toggle\" data-toggle=\"dropdown\">\r\n <i class=\"fa fa-ellipsis-v\" title=\"View the available tools\"></i>\r\n </a>\r\n <ul class=\"dropdown-menu right k8sServiceApp-menu\">\r\n <li class=\"k8sServiceApp\" \r\n ng-repeat=\"service in model.serviceApps | filter:filterTemplates | orderBy:\'metadata.name\' track by $index\">\r\n <a href=\"{{service.$connectUrl}}\"\r\n target=\"_blank\"\r\n title=\"Click to open this app\">\r\n <img style=\"width: 32px; height: 32px;\" ng-src=\"{{service.$iconUrl}}\">&nbsp;\r\n <span ng-bind=\"service.metadata.name\"></span>\r\n </a>\r\n </li>\r\n </ul>\r\n</div>\r\n");
$templateCache.put("plugins/kubernetes/html/serviceCreate.html","<div ng-controller=\"Kubernetes.ServiceEditController\">\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <span class=\"pull-right\">&nbsp;</span>\r\n <a class=\"btn btn-default pull-right\"\r\n title=\"Go back to viewing all the services\"\r\n href=\"{{baseUri}}/kubernetes/services\"><i class=\"fa fa-list\"></i></a>\r\n <button class=\"btn btn-primary pull-right\"\r\n title=\"Create a new service\"\r\n ng-click=\"save()\">\r\n Create Service\r\n </button>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <div ng-hide=\"fetched\">\r\n <div class=\"align-center\">\r\n <i class=\"fa fa-spinner fa-spin\"></i>\r\n </div>\r\n </div>\r\n <div ng-show=\"fetched\">\r\n <div hawtio-form-2=\"config\" entity=\"entity\"></div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n");
$templateCache.put("plugins/kubernetes/html/serviceEdit.html","<div ng-controller=\"Kubernetes.ServiceEditController\">\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <span class=\"pull-right\">&nbsp;</span>\r\n <a class=\"btn btn-default pull-right\"\r\n title=\"Go back to viewing all the services\"\r\n href=\"{{baseUri}}/kubernetes/services\"><i class=\"fa fa-list\"></i></a>\r\n <button class=\"btn btn-primary pull-right\"\r\n title=\"Save changes to this service\"\r\n ng-click=\"save()\">\r\n Save\r\n </button>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <div ng-hide=\"fetched\">\r\n <div class=\"align-center\">\r\n <i class=\"fa fa-spinner fa-spin\"></i>\r\n </div>\r\n </div>\r\n <div ng-show=\"fetched\">\r\n <div hawtio-form-2=\"config\" entity=\"entity\"></div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n");
$templateCache.put("plugins/kubernetes/html/services.html","<div ng-controller=\"Kubernetes.Services\">\r\n\r\n <div class=\"row\">\r\n <div hawtio-breadcrumbs></div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div hawtio-tabs></div>\r\n </div>\r\n\r\n <div class=\"row filter-header\">\r\n <div class=\"col-md-12\" ng-show=\"model.services.length\">\r\n <span ng-show=\"!id\">\r\n <hawtio-filter ng-model=\"tableConfig.filterOptions.filterText\"\r\n css-class=\"input-xxlarge\"\r\n placeholder=\"Filter services...\"\r\n save-as=\"kubernetes-services-text-filter\"></hawtio-filter>\r\n </span>\r\n <span ng-hide=\"id\" class=\"pull-right\">\r\n <div class=\"btn-group\">\r\n <a class=\"btn\" ng-disabled=\"mode == \'list\'\" href=\"\" ng-click=\"mode = \'list\'\">\r\n <i class=\"fa fa-list\"></i></a>\r\n <a class=\"btn\" ng-disabled=\"mode == \'icon\'\" href=\"\" ng-click=\"mode = \'icon\'\">\r\n <i class=\"fa fa-table\"></i></a>\r\n </div>\r\n </span>\r\n <span class=\"pull-right\">&nbsp;</span>\r\n <button ng-show=\"model.fetched\"\r\n class=\"btn btn-danger pull-right\"\r\n ng-disabled=\"!id && tableConfig.selectedItems.length == 0\"\r\n ng-click=\"deletePrompt(id || tableConfig.selectedItems)\">\r\n <i class=\"fa fa-remove\"></i> Delete\r\n </button>\r\n <span class=\"pull-right\">&nbsp;</span>\r\n <button ng-show=\"id\"\r\n class=\"btn btn-primary pull-right\"\r\n ng-click=\"id = undefined\"><i class=\"fa fa-list\"></i></button>\r\n <span ng-show=\"id\" class=\"pull-right\">&nbsp;</span>\r\n <a class=\"btn btn-default pull-right\"\r\n title=\"Create a new service\"\r\n href=\"{{baseUri}}/kubernetes/namespace/{{namespace}}/serviceCreate\"><i class=\"fa fa-plus\"></i> Create</a>\r\n <span class=\"pull-right\">&nbsp;</span>\r\n <span ng-include=\"\'runButton.html\'\"></span>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <div ng-hide=\"model.fetched\">\r\n <div class=\"align-center\">\r\n <i class=\"fa fa-spinner fa-spin\"></i>\r\n </div>\r\n </div>\r\n <div ng-show=\"model.fetched\">\r\n <div ng-hide=\"model.services.length\" class=\"align-center\">\r\n <p class=\"alert alert-info\">There are no services currently available.</p>\r\n </div>\r\n <div ng-show=\"model.services.length\">\r\n <div ng-show=\"mode == \'list\'\">\r\n <table class=\"table table-bordered table-striped\" ui-if=\"kubernetes.selectedNamespace\"\r\n hawtio-simple-table=\"tableConfig\"></table>\r\n </div>\r\n\r\n <div ng-hide=\"mode == \'list\'\">\r\n <div class=\"column-box\"\r\n ng-repeat=\"service in model.serviceApps | filter:filterTemplates | orderBy:\'metadata.name\' track by $index\">\r\n <div class=\"row\">\r\n <div class=\"col-md-2\">\r\n <a href=\"{{service.$serviceUrl}}\"\r\n target=\"_blank\"\r\n title=\"Click to open this app\">\r\n <img style=\"width: 64px; height: 64px;\" ng-src=\"{{service.$iconUrl}}\">\r\n </a>\r\n </div>\r\n <div class=\"col-md-9\">\r\n <a href=\"{{service.$serviceUrl}}\"\r\n target=\"_blank\"\r\n title=\"Click to open this app\">\r\n <h3 ng-bind=\"service.metadata.name\"></h3>\r\n </a>\r\n </div>\r\n<!--\r\n <div class=\"col-md-1\">\r\n <a href=\"\" ng-click=\"deleteService(service)\"><i class=\"fa fa-remove red\"></i></a>\r\n </div>\r\n-->\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n");
$templateCache.put("plugins/kubernetes/html/tabs.html","<div ng-show=\"subTabConfig\" ng-init=\"subTabConfig = $parent.subTabConfig\" class=\"breadcrumb-tabs\"\r\n ng-controller=\"Developer.NavBarController\">\r\n <ul class=\"nav nav-tabs\">\r\n <li ng-repeat=\"breadcrumb in subTabConfig\" ng-show=\"isValid(breadcrumb)\"\r\n class=\"{{breadcrumb.active ? \'active\' : \'\'}}\"\r\n title=\"{{breadcrumb.title}}\">\r\n <a href=\"{{breadcrumb.href}}\">{{breadcrumb.label}}</a>\r\n </li>\r\n </ul>\r\n<div class=\"pull-right inline-block\"\r\n ng-show=\"model.serviceApps && model.serviceApps.length\"\r\n ng-include=\"\'plugins/kubernetes/html/serviceApps.html\'\"></div>\r\n</div>\r\n");
$templateCache.put("plugins/kubernetes/html/templateDescription.html","<div class=\"modal-header\">\r\n <h3 class=\"modal-title\">Description</h3>\r\n</div>\r\n<div class=\"modal-body\">\r\n <div compile=\"text\"></div>\r\n</div>\r\n<div class=\"modal-footer\">\r\n <button class=\"btn btn-primary\" ng-click=\"ok()\">Close</button>\r\n</div>\r\n");
$templateCache.put("plugins/kubernetes/html/templates.html","<div ng-controller=\"Kubernetes.TemplateController\">\r\n <script type=\"text/ng-template\" id=\"truncatedDescriptionTag.html\">\r\n <a href=\"\" ng-click=\"openFullDescription(template)\">More...</a>\r\n </script>\r\n\r\n <div class=\"row\">\r\n <div hawtio-breadcrumbs></div>\r\n </div>\r\n\r\n <div class=\"row\">\r\n <div hawtio-tabs></div>\r\n </div>\r\n\r\n\r\n <div class=\"row filter-header\">\r\n <div class=\"col-md-12\">\r\n <span ng-show=\"model.templates.length && !formConfig\">\r\n <hawtio-filter ng-model=\"filterText\"\r\n css-class=\"input-xxlarge\"\r\n placeholder=\"Filter templates...\"></hawtio-filter>\r\n </span>\r\n\r\n <button ng-show=\"formConfig\" \r\n class=\"btn btn-success pull-right\"\r\n title=\"Click to deploy this app\" \r\n ng-click=\"substituteAndDeployTemplate()\">\r\n <i class=\"fa fa-play-circle\"></i> Run\r\n </button>\r\n <span class=\"pull-right\">&nbsp;</span>\r\n <button class=\"btn btn-info pull-right\"\r\n ng-click=\"cancel()\"\r\n title=\"Go back to app view\">\r\n Cancel\r\n </button>\r\n <span class=\"pull-right\">&nbsp;</span>\r\n <span class=\"pull-right\">\r\n Target namespace: <select ng-model=\"targetNamespace\" ng-options=\"namespace for namespace in model.namespaces\" title=\"Select the namespace to deploy these objects in\">\r\n </select>\r\n\r\n </span>\r\n </div>\r\n </div>\r\n <div class=\"row\" ng-hide=\"formConfig || model.templates.length != 0\">\r\n <div class=\"col-md-12\">\r\n <div class=\"alert alert-info centered\">\r\n There are no templates currently available. Add templates by dragging and dropping template files into this area.\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"row\" ng-hide=\"formConfig\">\r\n <div class=\"col-md-12\">\r\n <div class=\"column-box\" \r\n ng-repeat=\"template in model.templates | filter:filterTemplates | orderBy:\'metadata.name\' track by $index\">\r\n <div class=\"row\">\r\n <div class=\"col-md-2\">\r\n <img style=\"width: 64px; height: 64px;\" ng-src=\"{{getIconUrl(template)}}\">\r\n </div>\r\n <div class=\"col-md-9\">\r\n <h3 ng-bind=\"template.metadata.name\"></h3>\r\n </div>\r\n <div class=\"col-md-1\">\r\n <a href=\"\" ng-click=\"deleteTemplate(template)\"><i class=\"fa fa-remove red\"></i></a>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-10\">\r\n <div compile=\"getDescription(template)\"></div>\r\n </div>\r\n <div class=\"col-md-2\">\r\n <a href=\"\" \r\n title=\"Click to deploy this app\" \r\n ng-click=\"deployTemplate(template)\">\r\n <i class=\"fa fa-play-circle green fa-3x\"></i>\r\n </a>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"row\" ng-show=\"formConfig\">\r\n <div class=\"col-md-4\">\r\n </div>\r\n <div class=\"col-md-4\">\r\n <div hawtio-form-2=\"formConfig\" entity=\"entity\"></div>\r\n </div>\r\n <div class=\"col-md-4\">\r\n </div>\r\n\r\n </div>\r\n</div>\r\n");
$templateCache.put("plugins/kubernetes/html/termShell.html","<div class=\"terminal-window\" terminal-window ng-mousedown=\"raise()\">\r\n <div class=\"terminal-title\" ng-mousedown=\"mouseDown($event)\">\r\n <h5 ng-bind=\"containerName\"></h5>\r\n <i class=\"fa fa-remove pull-right clickable\" title=\"Close and exit this terminal\" ng-click=\"close()\"></i>\r\n <i class=\"fa fa-sort-desc pull-right clickable\" title=\"Minimize this terminal\" ng-click=\"minimize($event)\"></i>\r\n </div>\r\n <div class=\"terminal-body\">\r\n </div>\r\n</div>\r\n");
$templateCache.put("plugins/system/html/regionalismCodeSearch.html","<div ng-controller=\"System.RegionalismCodeController\">\r\n <div hawtio-breadcrumbs></div>\r\n <div hawtio-tabs></div>\r\n <div class=\"container-content \">\r\n <div class=\"container-fluid sj_fluid\"> \r\n <div ng-hide=\"model.regionalismInfo.length\" class=\"align-center\">\r\n <p class=\"alert alert-info\">当前没有可以查看的数据.</p>\r\n </div>\r\n <div ng-show=\"model.regionalismInfo.length\">\r\n <table ng-table=\"tableParams\" class=\"table table-condensed table-bordered table-striped\" show-filter=\"true\">\r\n <tr ng-repeat=\"row in $data\">\r\n <td title=\"\'行政区划代码\'\" filter=\"{ code: \'text\'}\" sortable=\"\'code\'\">\r\n {{row.code}}</td>\r\n <td title=\"\'市\'\" filter=\"{ cityName: \'text\'}\" sortable=\"\'cityName\'\">\r\n {{row.cityName}}</td>\r\n <td title=\"\'区县\'\" filter=\"{ districtName: \'text\'}\" sortable=\"\'districtName\'\">\r\n {{row.districtName}}</td>\r\n </tr>\r\n </table>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n");
$templateCache.put("plugins/system/html/systemCodeSearch.html","<div ng-controller=\"System.SystemCodeController\">\r\n <div hawtio-breadcrumbs></div>\r\n <div hawtio-tabs></div>\r\n <div class=\"container-content \">\r\n <div class=\"container-fluid sj_fluid\"> \r\n <div ng-hide=\"model.systemInfo.length\" class=\"align-center\">\r\n <p class=\"alert alert-info\">当前没有可以查看的数据.</p>\r\n </div>\r\n <div ng-show=\"model.systemInfo.length\">\r\n <table ng-table=\"tableParams\" class=\"table table-condensed table-bordered table-striped\" show-filter=\"true\">\r\n <tr ng-repeat=\"row in $data\">\r\n <td title=\"\'系统编码\'\" filter=\"{ code: \'text\'}\" sortable=\"\'code\'\">\r\n {{row.code}}</td>\r\n <td title=\"\'系统名称\'\" filter=\"{ systemName: \'text\'}\" sortable=\"\'systemName\'\">\r\n {{row.systemName}}</td> \r\n </tr>\r\n </table>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n");
$templateCache.put("plugins/system/html/systemList.html","<div ng-controller=\"System.SystemListController\">\r\n <div hawtio-tabs></div>\r\n <div class=\"container-content \"></div>\r\n</div>");}]); hawtioPluginLoader.addModule("hawtio-kubernetes-templates");