This commit is contained in:
Linda 2016-09-13 08:34:27 +08:00
parent 648fdc307d
commit d048c64a82
3 changed files with 18 additions and 15 deletions

File diff suppressed because one or more lines are too long

View File

@ -98,7 +98,7 @@ treecontrol.tree-classic li.tree-leaf i.tree-leaf-head { padding: 1px 15px; padd
treecontrol.tree-classic li .tree-selected{background-color: #e5f0fb; color: #333; } treecontrol.tree-classic li .tree-selected{background-color: #e5f0fb; color: #333; }
treecontrol li{ line-height: 30px; padding-left: 25px;} treecontrol li{ line-height: 30px; padding-left: 25px;}
treecontrol li:hover{} treecontrol li:hover{}
.sj_modal_body{ height: 210px; overflow: auto;padding-left: 0; padding-right: 0;} .sj_modal_body{ height: 210px; overflow: auto;}
.modal{ width: 500px;} .modal{ width: 500px;}
.sj_modal-header{ height:42px; line-height: 42px; border-bottom: 1px solid #ddd; } .sj_modal-header{ height:42px; line-height: 42px; border-bottom: 1px solid #ddd; }
.sj_modal-header h4{ margin-top: 5px; font-weight: bold;} .sj_modal-header h4{ margin-top: 5px; font-weight: bold;}
@ -128,4 +128,7 @@ treecontrol li:hover{}
.alert{ padding:10px 15px; margin-bottom:0;} .alert{ padding:10px 15px; margin-bottom:0;}
.sj_control-label{ padding:0; line-height:30px; } .sj_control-label{ padding:0; line-height:30px; }
.modal-footer{ margin-top: 0;} .modal-footer{ margin-top: 0;}
.badge-info{ background-color: #3498db;} .badge-info{ background-color: #3498db;}
.btn:focus {
outline: none;
outline-offset: 0; }

View File

@ -23,19 +23,19 @@
<input type="checkbox" class="fl mr5 " style="margin-top: 8px;" /> <input type="checkbox" class="fl mr5 " style="margin-top: 8px;" />
<label class="fl mr5 " style="margin-top: 5px; font-style:nomal;">全选</label> <label class="fl mr5 " style="margin-top: 5px; font-style:nomal;">全选</label>
<button ng-disabled="!id && tableConfig.selectedItems.length == 0" <button ng-disabled="!id && tableConfig.selectedItems.length == 0"
class="btn btn-success pull-right sj_btn_grey" class=" pull-right sj_btn_grey"
ng-click="deletePrompt(id || tableConfig.selectedItems)"> ng-click="deletePrompt(id || tableConfig.selectedItems)">
<i class="glyphicon glyphicon-trash"></i> 删除数据 <i class="glyphicon glyphicon-trash"></i> 删除数据
</button> </button>
<span class="pull-right">&nbsp;</span> <span class="pull-right">&nbsp;</span>
<button ng-disabled="!id && tableConfig.selectedItems.length == 0" <button ng-disabled="!id && tableConfig.selectedItems.length == 0"
class="btn btn-success pull-right sj_btn_grey" class=" pull-right sj_btn_grey"
ng-click="migrationClick.open(id || tableConfig.selectedItems)"> ng-click="migrationClick.open(id || tableConfig.selectedItems)">
<i class="glyphicon glyphicon-export"></i> 迁移数据 <i class="glyphicon glyphicon-export"></i> 迁移数据
</button> </button>
<span class="pull-right">&nbsp;</span> <span class="pull-right">&nbsp;</span>
<button ng-disabled="!id && tableConfig.selectedItems.length == 0" <button ng-disabled="!id && tableConfig.selectedItems.length == 0"
class="btn btn-success pull-right sj_btn_grey" class=" pull-right sj_btn_grey"
ng-click="createOracleService(id || tableConfig.selectedItems)"> ng-click="createOracleService(id || tableConfig.selectedItems)">
<i class="glyphicon glyphicon-play-circle"></i> 启动服务 <i class="glyphicon glyphicon-play-circle"></i> 启动服务
</button> </button>
@ -74,8 +74,8 @@
<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 " /> <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>
<div class="form-group"> <div class="form-group mt10">
<div class="col-sm-12 alert alert-warning"> <div class="col-sm-12 alert alert-warning sj_alert-warning">
<span class="help-block" ng-show="!volumes || volumes.length == 0"> <span class="help-block" ng-show="!volumes || volumes.length == 0">
当前没有可以迁移的集群,请在数据集群配置页面进行配置! 当前没有可以迁移的集群,请在数据集群配置页面进行配置!
</span> </span>