@ -22,22 +22,23 @@
< a ng-show = "row.entity.$podCounters.podsLink" title = "pods status" >
< span ng-show = "row.entity.$podCounters.ready && (row.entity.$oracleStatus===2)" class = "badge badge-success" > 启动< / span >
< span ng-show = "row.entity.$podCounters.ready && (row.entity.$oracleStatus===0)" class = "badge badge-info" > 等待< / span >
< span ng-show = "row.entity.$podCounters.ready && (row.entity.$oracleStatus===1)" class = "badge badge- warning "> 失败< / span >
< span ng-show = "row.entity.$podCounters.ready && (row.entity.$oracleStatus===1)" class = "badge badge- important "> 失败< / span >
< span ng-show = "row.entity.$podCounters.valid || row.entity.$podCounters.waiting" class = "badge badge-info" > 等待< / span >
< span ng-show = "!(row.entity.$podCounters.waiting || row.entity.$podCounters.ready || row.entity.$podCounters.valid || row.entity.$podCounters.error)" class = "badge" > 停止< / span >
< span ng-show = "row.entity.$podCounters.error" class = "badge badge- warning "> 失败< / span >
< span ng-show = "row.entity.$podCounters.error" class = "badge badge- important "> 失败< / span >
< / a >
< / div >
< / script >
< script type = "text/ng-template" id = "dataSummaryTemplate.html" >
< div class = "ngCellText" ng-init = "entity=row.entity" >
< a ng-show = "row.entity.$podCounters.podsLink" title = "pods status" >
< span ng-show = "row.entity.$extractStatus === 0" class = "badge badge-info" href = "" > 未汇总< / span >
< span ng-show = "row.entity.$extractStatus === 1" class = "badge badge-success" href = "" > 正在汇总< / span >
< span ng-show = "row.entity.$extractStatus === 2" class = "badge" href = "" > 已完成< / span >
< span ng-show = "row.entity.$extractStatus === 3" class = "badge badge-warning" href = "" > 失败< / span >
< div ng-show = "row.entity.$extractStatus === 10" >
< span class = "badge badge-remind" > 汇总数据库< / span >
< span ng-show = "row.entity.$extractStatus === 0" class = "badge badge-info" > 待汇总< / span >
< div ng-show = "row.entity.$extractStatus === 1" >
< span class = "badge badge-success" > 汇总中< / span >
< span ng-include = "'oracleLogTemplate.html'" > < / span >
< / div >
< div ng-show = "row.entity.$extractStatus === 2" >
< span class = "badge" > 已完成< / span >
< span ng-include = "'oracleLogTemplate.html'" > < / span >
< / div >
< / a >
@ -46,7 +47,7 @@
< script type = "text/ng-template" id = "labelTemplate.html" >
< div class = "ngCellText" ng-init = "entity=row.entity" ng-controller = "Kubernetes.Labels" >
< p ng-show = "data" > < strong > Labels< / strong > < / p >
< 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}}" > {{label.title}}< / span >
< 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 >
< / div >
< / script >
< script type = "text/ng-template" id = "eventSourceTemplate.html" >
@ -55,10 +56,10 @@
< 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 >
< / div >
< / script >
< script type = "text/ng-template" id = "dataLabelsTemplate.html" ng-controller = "Kubernetes.DataLabels" >
< div class = "ngCellText" ng-init = "labels=row.entity.labels" >
< script type = "text/ng-template" id = "dataLabelsTemplate.html" >
< div class = "ngCellText" ng-init = "labels=row.entity.labels" ng-controller = "Kubernetes.DataLabels" >
< p ng-show = "data" > < strong > Labels< / strong > < / p >
< span ng-repeat = "(key, value) in labels track by $index" class = "pod-label badge" ng-class = "labelClass( label. key)" ng-click = "labelClick(entity, label. key, label. value)" title = "{{ label. key}}"> {{value}}< / span >
< 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 >
< / div >
< / script >
< script type = "text/ng-template" id = "hostTemplate.html" >
@ -141,7 +142,10 @@
< / script >
< script type = "text/ng-template" id = "connectParamTemplate.html" >
< div class = "ngCellText" ng-init = "entity=row.entity" >
< p ng-show = "row.entity.$pods.length" > < strong > {{row.entity.$pods[0].$host}}:{{row.entity.$pods[0].spec.containers[0].ports[0].hostPort}}/orcl< / strong > < / p >
< 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 >
< 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 = "点击复制" >
< i class = "fa fa-copy" > < / i > < / button >
< / div >
< / div >
< / script >
< script type = "text/ng-template" id = "statusTemplate.html" >
@ -215,7 +219,7 @@
< div hawtio-confirm-dialog = "showDeleteOne.show" title = "是否删除任务?" ok-button-text = "确认" cancel-button-text = "取消" on-cancel = "showDeleteOne.onCancelled()" on-ok = "showDeleteOne.onOk()" >
< div class = "dialog-body" >
< p >
Are you sure you want to delete all the stuff ?
是否删除:{{entity.name}}-{{entity.systemName}} 任务 ?
< / p >
< / div >
< / div >