< div ng-controller = "Developer.WorkspacesController" hawtio-card-bg >
< div hawtio-breadcrumbs > < / div >
< div hawtio-tabs > < / div >
< div class = "container-content" >
< div class = "container-fluid" >
< div class = "row nav-content" >
< ul class = "nav nav-tabs" ng-show = "navbarItems.length" >
< li role = "presentation" ng-repeat = "item in navbarItems" class = "{{item.class}}" > < a href = "#" ng-click = "selectBatchItem(item)" > {{item.label}}< / a > < / li >
< / ul >
< / div >
< div ng-hide = "model.data.length" class = "align-center" >
< p class = "alert alert-info" > 当前没有可以查看的数据.< / p >
< / div >
< div ng-show = "model.data.length" >
< table class = "table table-striped table-bordered" hawtio-simple-table = "tableConfig" > < / table >
< div class = "row" >
< div class = "col-xs-6 col-sm-2" >
< button ng-show = "true" class = "btn btn-danger pull-right" ng-disabled = "!id && tableConfig.selectedItems.length == 0" ng-click = "deletePrompt(id || tableConfig.selectedItems)" >
< i class = "fa fa-remove" > < / i > 删除数据
< / button >
< span class = "pull-right" > < / span >
< button ng-show = "id" class = "btn btn-primary pull-right" ng-click = "id = undefined" > < i class = "fa fa-list" > < / i > < / button >
< span class = "pull-right" > < / span >
< a class = "btn btn-default pull-right" title = "启动oracle服务" href = "/kubernetes/replicationControllers" ng-disabled = "!id && tableConfig.selectedItems.length == 0" ng-click = "createOracleService(id || tableConfig.selectedItems)" > < i class = "fa fa-plus" > < / i > 启动服务< / a >
< span class = "pull-right" > < / span >
< a class = "btn btn-default pull-right" title = "迁移数据" " ng-disabled = "!id && tableConfig.selectedItems.length==0 " ng-click = "migrationClick.open(id || tableConfig.selectedItems) " > < i class = "fa fa-plus " > < / i > 数据迁移< / a >
< / div >
< div class = "col-md-6 col-md-offset-9 " >
每页显示& nbsp
< select ng-options = "value for value in pageSizeChoses " ng-change = "selectAction() " ng-model = "options.currentTableSize " > < / select >
& nbsp& nbsp当前页码
< div class = "hawtio-pager clearfix " >
< label > {{options.currentPageNum}} / {{options.getPageSizeNum()}}< / label >
< div class = btn-group >
< button class = "btn " ng-disabled = "isEmptyOrFirst() " ng-click = "first() " > < i class = "fa fa-fast-backward " > < / i > < / button >
< button class = "btn " ng-disabled = "isEmptyOrFirst() " ng-click = "previous() " > < i class = "fa fa-step-backward " > < / i > < / button >
< button class = "btn " ng-disabled = "isEmptyOrLast() " ng-click = "next() " > < i class = "fa fa-step-forward " > < / i > < / button >
< button class = "btn " ng-disabled = "isEmptyOrLast() " ng-click = "last() " > < i class = "fa fa-fast-forward " > < / i > < / button >
< / div >
< / div >
< / div >
< / div >
< / div >
< / div >
< / div >
< div modal = "migrationClick.dialog.show " >
< form name = "selectFolder " class = " " ng-submit = "migrationClick.onOk() " >
< div class = "modal-header " > < h4 > 数据迁移< / h4 > < / div >
< div class = "modal-body" >
< div class = "row" >
< label class = "col-sm-3 control-label" for = "selectedItem " >
请选择迁移集群
< / label >
< select ng-model = "migrationClick.selectedItem " class = "col-sm-3" title = "name of the new namespace " id = "selectedItem " ng-options = "x.$oracleName for x in filterReplicationControllers " / >
< / div >
< div >
< / div >
< / div >
< div class = "modal-footer " >
< input class = "btn btn-primary " type = "submit" ng-disabled = "false" value = "确定" >
< button class = "btn btn-warning cancel " type = "button" ng-click = "migrationClick.close()" > 取消< / button >
< / div >
< / form >
< / div >
< div class = "prettify " > < / div >
< / div >