|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
<div ng-controller="Developer.WorkspacesController" hawtio-card-bg>
|
|
|
|
|
<div ng-controller="Developer.WorkspacesController" hawtio-card-bg style="margin-top:100px;">
|
|
|
|
|
<div hawtio-breadcrumbs></div>
|
|
|
|
|
<div hawtio-tabs></div>
|
|
|
|
|
<div class="container-content">
|
|
|
|
@ -12,32 +12,33 @@
|
|
|
|
|
<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>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-6 col-md-offset-9">
|
|
|
|
|
每页显示 
|
|
|
|
|
<select ng-options="value for value in pageSizeChoses" ng-change="selectAction()" ng-model="options.currentTableSize"></select>
|
|
|
|
|
  当前页码
|
|
|
|
|
<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>
|
|
|
|
|
<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="/kubernetes/replicationControllers" ng-disabled="!id && tableConfig.selectedItems.length == 0" ng-click="createOracleService(id || tableConfig.selectedItems)">迁移数据</a>
|
|
|
|
|
<a class="sj_btn_grey pull-left mr5" title="删除数据" href="/kubernetes/replicationControllers" ng-disabled="!id && tableConfig.selectedItems.length == 0" ng-click="createOracleService(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>
|
|
|
|
|