|
|
|
<div ng-controller="Configs.KubeController">
|
|
|
|
<div class="row">
|
|
|
|
<div hawtio-breadcrumbs></div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div hawtio-tabs></div>
|
|
|
|
</div>
|
|
|
|
<div class="container-content " >
|
|
|
|
<div class="row align-center mb10" ng-hide="model.oracleParam.length">
|
|
|
|
<p class="alert alert-info">当前没有配置汇总库信息,请配置,否则汇总操作将不可用!</p>
|
|
|
|
</div>
|
|
|
|
<div class="row mb10" ng-show="model.oracleParam.length">
|
|
|
|
<table class="table table-bordered table-striped sj_content_table" hawtio-simple-table="tableConfig" />
|
|
|
|
</div>
|
|
|
|
<div class="row" >
|
|
|
|
<div >
|
|
|
|
<button class="btn sj_btn_green mb10" style="color:#fff;" ng-click="create()">
|
|
|
|
<span class="glyphicon glyphicon-plus"></span> 添加
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<hr>
|
|
|
|
<div class="row " style="padding-top:10px;" ng-show="tableForm.length>=0 && (edit || add)" >
|
|
|
|
<h3 class="mb10" ng-show="edit" >编辑汇总库连接信息:</h3>
|
|
|
|
<h3 class="mb10" ng-show="add" >添加汇总库信息:</h3>
|
|
|
|
<div class="col-md-6 col-md-offset-1 " >
|
|
|
|
<form class="form-horizontal" ng-submit="onSubmit(validForm.$valid)" novalidate="novalidate" name="validForm">
|
|
|
|
<div class="form-group" ng-repeat="item in tableForm">
|
|
|
|
<label class="col-sm-2 control-label">{{item.name}}</label>
|
|
|
|
<div class="col-sm-10 sj_form_input">
|
|
|
|
<input type="text " ng-model="item.value">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-group" style="margin-left:140px;">
|
|
|
|
<button class="btn sj_btn_blue" type='submit' style="color:#fff;">
|
|
|
|
<span class="glyphicon glyphicon-save "></span> 保存
|
|
|
|
</button>
|
|
|
|
<button class="btn sj_btn_grey" ng-click='cancel()'>
|
|
|
|
<span class="glyphicon glyphicon-remove "></span> 取消
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<hr>
|
|
|
|
</div>
|
|
|
|
</div>
|