|
|
<div ng-controller="Developer.WorkspacesController" hawtio-card-bg >
|
|
|
<div hawtio-breadcrumbs></div>
|
|
|
<div hawtio-tabs></div>
|
|
|
<div class="container-content sj_content">
|
|
|
<div class="sj_content_position clear" >
|
|
|
<ul >
|
|
|
<li class="sj_icons_home"></li>
|
|
|
<li>当前位置:</li>
|
|
|
<li><a href="#">数据汇总</a> <span>></span></li>
|
|
|
<li><a href="#">社保系统</a><span>></span></li>
|
|
|
<li><a href="#">批次A</a></li>
|
|
|
</ul>
|
|
|
</div>
|
|
|
<div class="container-fluid sj_fluid">
|
|
|
<div class="row nav-content mb10 clear " >
|
|
|
<ul class="nav nav-tabs sj_nav_taps fl" 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 class="fr sj_searchbox">
|
|
|
<input type="text" class="sj_search_input"/>
|
|
|
<a href="#" class="sj_search_btn"></a>
|
|
|
</div>
|
|
|
</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 sj_content_table" hawtio-simple-table="tableConfig"></table>
|
|
|
<div class="row clear">
|
|
|
<div class=" fl">
|
|
|
<input type="checkbox" class="fl mr5 " style="margin-top: 8px;" />
|
|
|
<label class="fl mr5 " style="margin-top: 5px; font-style:nomal;">全选</label>
|
|
|
<a class="sj_btn_grey pull-left mr5" title="启动oracle服务" href="/kubernetes/replicationControllers" ng-disabled="!id && tableConfig.selectedItems.length == 0" ng-click="createOracleService(id || tableConfig.selectedItems)">启动oracle服务</a>
|
|
|
<a class="sj_btn_grey pull-left mr5" title="迁移数据" href="#" ng-disabled="!id && tableConfig.selectedItems.length == 0" ng-click="migrationClick.open(id || tableConfig.selectedItems)">迁移数据</a>
|
|
|
<a class="sj_btn_grey pull-left mr5" title="删除数据" href="#" ng-disabled="!id && tableConfig.selectedItems.length == 0" ng-click="deletePrompt(id || tableConfig.selectedItems)">删除数据</a>
|
|
|
</div>
|
|
|
<ul class="fr sj_table_bottom">
|
|
|
<li class="mr5 " >当前显示1~7行,共7行。</li>
|
|
|
<li class="mr5 ">每页显示
|
|
|
<select ng-options="value for value in pageSizeChoses" ng-change="selectAction()" ng-model="options.currentTableSize"></select>行
|
|
|
</li>
|
|
|
<li class="mr5 ">当前页码</li>
|
|
|
<li>
|
|
|
<div class="hawtio-pager clearfix">
|
|
|
<label >{{options.currentPageNum}} / {{options.getPageSizeNum()}}</label>
|
|
|
<div class=btn-group>
|
|
|
<button class="btn sj_btn_grey" ng-disabled="isEmptyOrFirst()" ng-click="first()"><i class="fa fa-fast-backward"></i></button>
|
|
|
<button class="btn sj_btn_grey" ng-disabled="isEmptyOrFirst()" ng-click="previous()"><i class="fa fa-step-backward"></i></button>
|
|
|
<button class="btn sj_btn_grey " ng-disabled="isEmptyOrLast()" ng-click="next()"><i class="fa fa-step-forward"></i></button>
|
|
|
<button class="btn sj_btn_grey" ng-disabled="isEmptyOrLast()" ng-click="last()"><i class="fa fa-fast-forward"></i></button>
|
|
|
</div>
|
|
|
</div>
|
|
|
</li>
|
|
|
</ul>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div modal="migrationClick.dialog.show " >
|
|
|
<form name="selectFolder " class=" " ng-submit="migrationClick.onOk() ">
|
|
|
<div class="modal-header sj_modal-header" >
|
|
|
<h4 >数据迁移</h4></div>
|
|
|
<div class="modal-body sj_modal_body">
|
|
|
<div class="row sj_model_row">
|
|
|
<label class="col-sm-3 control-label sj_contro_label" for="selectedItem ">
|
|
|
请选择迁移集群
|
|
|
</label>
|
|
|
<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 configs.cluster " />
|
|
|
</div>
|
|
|
<div>
|
|
|
<treecontrol class="tree-classic" tree-model="x.folder" options="treeOptions" on-selection="showSelected(node)" selected-node="selectNode">
|
|
|
{{node.name}}
|
|
|
</treecontrol>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="modal-footer ">
|
|
|
<input class="btn btn-primary sj_btn_blue" type="submit" ng-disabled="!selectNode || selectNode.children.length <= 0" value="确定">
|
|
|
<button class="btn btn-warning cancel sj_btn_grey" type="button" ng-click="migrationClick.close()">取消</button>
|
|
|
</div>
|
|
|
</form>
|
|
|
</div>
|
|
|
<div class="prettify "></div>
|
|
|
</div>
|