You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
aggregation-platform/plugins/configs/html/shareLayout.html

393 lines
21 KiB

<script type="text/ng-template" id="tableEdit.html">
8 years ago
<div class="ngCellText" ng-init="entity=row.entity" ng-controller="Configs.TableEdit">
<button class="btn sj_btn" ng-click="editRow(entity)">
<span class="glyphicon glyphicon-pencil"></span>&nbsp;&nbsp;编辑
</button>
<span class="pull-right">&nbsp;</span>
<button class="btn sj_btn" ng-click="deleteRowOne.open(entity)">
<span class="glyphicon glyphicon-trash"></span>&nbsp;&nbsp;删除
</button>
<div hawtio-confirm-dialog="deleteRowOne.show" title="是否删除任务?" ok-button-text="确认" cancel-button-text="取消" on-cancel="deleteRowOne.onCancelled()" on-ok="deleteRowOne.onOk()">
<div class="dialog-body">
<p>
8 years ago
是否删除:{{deleteRowOne.item.name}} 服务?
</p>
</div>
</div>
</div>
</script>
<script type="text/ng-template" id="connectStatus.html">
<div class="ngCellText" ng-init="entity=row.entity">
<div ng-show="true" title="汇总库的连接状态">
<span ng-show="entity.status== 0" class="glyphicon glyphicon-minus">&nbsp;未连接</span>
<span ng-show="entity.status== 1" class="glyphicon glyphicon-ok">&nbsp;连接成功</span>
<span ng-show="entity.status== 2" class="glyphicon glyphicon-import">&nbsp;使用中</span>
<span ng-show="entity.status== 3" class="glyphicon glyphicon-remove">&nbsp;连接失败</span>
</div>
</div>
</script>
<script type="text/ng-template" id="newDialog.html">
<div class="sj_new_box">
<form name="volumeForm" class=" mb10" novalidate="novalidate">
<table class="sj_new_table clear">
<tbody>
<tr>
<th class="new_left">云盘名</th>
<th colspan="10">
<input type="text" class="sj_txt_box03 mr10" name="volumeName" ng-model="ngDialogData.name " ng-disabled="!{{ngDialogData.editable}}" ng-pattern="/^\w{2,15}$/" required="required" />
</th>
<th>云目录:</th>
<th>
<input type="text" class="sj_txt_box02 mr5" name="volumePath" ng-model="ngDialogData.path" ng-disabled="!{{ngDialogData.editable}}" ng-pattern="/^(\/[a-z0-9A-Z _\-.%]+)+$/" required="required" />
</th>
<!--<th>
<button ng-show="ngDialogData.status" class="sj_btn_red fl" ng-click="stopVolume(ngDialogData)">停止</button>
<button ng-hide="ngDialogData.status" class="sj_btn_blue fl" ng-click="startVolume(ngDialogData)">启动</button>
</th> -->
</tr>
<tr ng-repeat="row in ngDialogData.brick">
<th class="new_left">
<span ng-show="row.status" class="sj_icon_ok"></span>
<span ng-hide="row.status" class="sj_icon_warning"></span>
</th>
<th colspan="3">
<input type="text" class="sj_txt_box04 mr5" value="服务器 {{$index + 1}} " ng-disabled="true" />
</th>
<th>
<input type="text" class="sj_txt_box05" ng-model="row.ip[0]" name="brickIp0" ng-disabled="!{{row.editable}}" ng-pattern="/^(([0-9]|([1-9]\d)|(1\d\d)|(2([0-4]\d|5[0-5]))))$/" required="required" />
</th>
<th>.</th>
<th>
<input type="text" class="sj_txt_box05" ng-model="row.ip[1]" name="brickIp1" ng-disabled="!{{row.editable}}" ng-pattern="/^(([0-9]|([1-9]\d)|(1\d\d)|(2([0-4]\d|5[0-5]))))$/" required="required" />
</th>
<th>.</th>
<th>
<input type="text" class="sj_txt_box05" ng-model="row.ip[2]" name="brickIp2" ng-disabled="!{{row.editable}}" ng-pattern="/^(([0-9]|([1-9]\d)|(1\d\d)|(2([0-4]\d|5[0-5]))))$/" required="required" />
</th>
<th>.</th>
<th>
<input type="text" class="sj_txt_box05 mr10" ng-model="row.ip[3]" name="brickIp3" ng-disabled="!{{row.editable}}" ng-pattern="/^(([0-9]|([1-9]\d)|(1\d\d)|(2([0-4]\d|5[0-5]))))$/" required="required" />
</th>
<th>存储块:</th>
<th>
<input type="text" class="sj_txt_box02 mr5" ng-model="row.path" name="brickPath" ng-disabled="!{{row.editable}}" ng-pattern="/^(\/[a-z0-9A-Z \-_.%]+)+$/" required="required" />
</th>
<th>
<!--<button class="sj_btn_grey fl">连接</button>-->
<a href="#" class="sj_icon_del ml5 fl" ng-show="ngDialogData.brick.length>1" ng-click="deleteBrock(ngDialogData, row)"></a>
<a href="#" ng-hide="$index < ngDialogData.brick.length-1" class="sj_icon_add ml5 fl" ng-click="addBrock(ngDialogData)"></a>
</th>
</tr>
<tr>
<th>&nbsp;</th>
<th>
<button class="sj_btn_blue mr5" ng-click="onSubmit(ngDialogData)">保存</button>
</th>
<th>
<button class="sj_btn_grey mr5" ng-click="cancel()">取消</button>
</th>
<!--<th>
<button class="sj_btn_grey mr5" ng-click="cancel()">取消</button>
</th>
<!--<th colspan="5">&nbsp;{{message}}</th>-->
</tr>
</tbody>
</table>
<div class="alert alert-warning" role="alert" ng-show="showMessage">"删除存储块失败:集群中至少包含一个存储块!"</div>
8 years ago
<div class="alert alert-warning" role="alert" ng-show="volumeForm.$invalid && submitted">云盘的名称、路径或IP输入不正确</div>
8 years ago
</form>
</div>
</script>
<script type="text/ng-template" id="systemInfo.html">
<div class="sj_new_box">
<div class=" mb10">
<ul class="box_chakan">
<h2 class="mb10">查看详情</h2>
<li class="clear">
<span class="fl box_chakan_leftinfo">行政区划代码:</span>
<p class="fl box_chakan_mininfo">{{ngDialogData.areaCode}}</p>
</li>
<li class="clear">
<span class="fl box_chakan_leftinfo">行政区划:</span>
<p class="fl box_chakan_mininfo"><span class="mr5">{{ngDialogData.cityName}}</span><span class="mr5">{{ngDialogData.districtName}}</span><span class="mr5">{{ngDialogData.areaLevel}}</span></p>
</li>
<li class="clear">
<span class="fl box_chakan_leftinfo">信息系统名称:</span>
<p class="fl box_chakan_mininfo">{{ngDialogData.sysName}}</p>
<span class="fl box_chakan_leftinfo">信息系统版本:</span>
8 years ago
<p class="fl box_chakan_mininfo">{{ngDialogData.sysVersion}}</p>
</li>
<li class="clear">
<span class="fl box_chakan_leftinfo">数据库类型:</span>
<p class="fl box_chakan_mininfo"><span>{{ngDialogData.dataBaseType}}</span><span class="ml5 mr5">/</span><span>{{ngDialogData.dataBaseVersion}}</span></p>
<!--<span class="fl box_chakan_leftinfo">字符集:</span>
<p class="fl box_chakan_mininfo">{{ngDialogData.charset}}}</p>-->
</li>
<li class="clear">
<span class="fl box_chakan_leftinfo">投入使用时间:</span>
<p class="fl box_chakan_mininfo"><span class="mr5">{{ngDialogData.beginUseTime}}</span></p>
</li>
<li class="clear">
<span class="fl box_chakan_leftinfo">开发商全称:</span>
<p class="fl box_chakan_maxinfo">{{ngDialogData.developerFullName}}</p>
</li>
<li class="clear">
<span class="fl box_chakan_leftinfo">联系人:</span>
<p class="fl box_chakan_mininfo">{{ngDialogData.departmentManager}}</p>
<span class="fl box_chakan_leftinfo">联系电话(手机)</span>
<p class="fl box_chakan_mininfo">{{ngDialogData.managerContacts}}</p>
</li>
<li class="clear">
<span class="fl box_chakan_leftinfo">功能描述:</span>
<p class="fl box_chakan_maxinfo">{{ngDialogData.functionDetails}}</p>
</li>
<li class="clear">
<span class="fl box_chakan_leftinfo">业务范围:</span>
<p class="fl box_chakan_maxinfo">
<span class="mr5" ng-repeat='item in ngDialogData.workRange'>{{item}}</span>
</p>
</li>
<li class="clear">
<span class="fl box_chakan_leftinfo">脚本文件:</span>
8 years ago
<p class="fl box_chakan_maxinfo">
<span ng-repeat="sql in ngDialogData.sqlList">{{sql}} <br /></span>
<br/>
</p>
</li>
</ul>
</div>
</div>
</script>
<script type="text/ng-template" id="headerCheckbox.html">
<input type="checkbox" ng-model="checkboxes.checked" class="select-all" value=" " />
</script>
<script type="text/ng-template" id="sqlView.html">
<div class="sj_new_box03">
8 years ago
<h2 class="sj_popup_h2 mb10">{{title}}_{{ngDialogData.item.areaCode}}_{{ngDialogData.item.sysCode}}.sql</h2>
<div class="clear mb10">
<ul class="fl sj_width440">
8 years ago
<li><span class="fb">默认脚本:</span>{{ngDialogData.item[ngDialogData.type + 'StandardModified']}}</li>
<li class="sj_link">{{ngDialogData.item[ngDialogData.type + 'PathStandard']}}</li>
</ul>
<div class="fl sj_width440">
<button class="sj_btn_green fl" ng-click="upLoadSqlFile()">上传</button>
</div>
</div>
<div class="clear mb10">
<div class="sj_box_w440 fl">
<p ng-bind="old_content">
</p>
</div>
<div class=" sj_box_w440 fl ml15">
<p ng-bind="new_content">
</p>
</div>
</div>
<div class=" clear">
<button class="btn pull-right sj_btn_blue " ng-disabled="!enable" ng-click="onOk()">
确定
</button>
<button class="sj_btn_grey mr5 fr" ng-click="cancel()">取消</button>
</div>
</div>
</script>
<script type="text/ng-template" id="sqlAdd.html">
<div class="sj_new_box02">
8 years ago
<h2 class="sj_popup_h2 mb10">{{title}}_{{ngDialogData.item.areaCode}}_{{ngDialogData.item.sysCode}}.sql</h2>
<div class="clear mb10">
<button class="sj_btn_green fl" ng-click="sqlFileUpload()">上传</button>
</div>
<div class="sj_box_w440 mb10">
<p>{{content}}</p>
</div>
<div class=" clear">
<button class="btn pull-right sj_btn_blue " ng-disabled="!enable" ng-click="onOk()">确定</button>
<button class="sj_btn_grey mr5 fr" ng-click="cancel()">取消</button>
</div>
</div>
</script>
<script type="text/ng-template" id="sqlVerification.html">
<div class="sj_new_box03">
8 years ago
<h2 class="sj_popup_h2 mb10">{{title}}_{{ngDialogData.item.areaCode}}_{{ngDialogData.item.sysCode}}.sql</h2>
<div class="clear mb10">
<ul class="fl sj_width440">
8 years ago
<li><span class="fb">默认脚本:</span>{{ngDialogData.item[ngDialogData.type + 'StandardModified']}}</li>
<li class="sj_link">{{ngDialogData.item[ngDialogData.type + 'PathStandard']}}</li>
</ul>
<ul class="fl sj_width440">
<li><span class="fb">默认脚本:</span>{{ngDialogData.item[ngDialogData.type + 'LastModified']}}</li>
<li class="sj_link">{{ngDialogData.item[ngDialogData.type + 'PathLast']}}</li>
</ul>
<!--<div class="fl sj_width440">
<input type="text" class="sj_txt_box02 mr5 fl">
<button class="sj_btn_green fl" ng-click="upLoadSqlFile()">上传</button>
</div> -->
</div>
<div class="clear mb10">
<div class="sj_box_w440 fl">
<p ng-bind="standard">
</p>
</div>
<div class=" sj_box_w440 fl ml15">
<p ng-bind="unnormal">
</p>
</div>
</div>
<div class=" clear">
<button class="btn pull-right sj_btn_blue " ng-click="replace()">
替换
</button>
<button class="sj_btn_grey mr5 fr" ng-click="cancel()">取消</button>
</div>
</div>
</script>
<script type="text/ng-template" id="sqlMove.html">
<div class="sj_new_box02">
8 years ago
<h2 class="sj_popup_h2 mb10">{{title}}_{{ngDialogData.item.areaCode}}_{{ngDialogData.item.sysCode}}.sql</h2>
<div class="clear mb10">
<ul class="fl sj_width440">
<li><span class="fb">默认脚本:</span>{{ngDialogData.item[ngDialogData.type + 'LastModified']}}</li>
<li class="sj_link">{{ngDialogData.item[ngDialogData.type + 'PathLast']}}</li>
</ul>
</div>
<div class="sj_box_w440 mb10">
<p ng-bind="content"></p>
</div>
<div class=" clear">
<button class="btn pull-right sj_btn_blue " ng-disabled="!content && content != ''" ng-click="move()">归档</button>
<button class="sj_btn_grey mr5 fr" ng-click="cancel()">取消</button>
</div>
</div>
</script>
<script type="text/ng-template" id="sysVerificationUpdate.html">
8 years ago
<div class="sj_new_box03 ">
<h2 class="sj_popup_h2 mb10">{{ngDialogData.areaCode}} {{ngDialogData.cityName}} {{ngDialogData.districtName}} {{ngDialogData.sysName}}</h2>
<table class="sj_new_table02 mb10" cellpadding="0" cellspacing="0">
<thead>
<tr class="sj_popup_toptxt ">
<th>&nbsp;</th>
<th>默认描述信息</th>
<th>采集描述信息</th>
<td>&nbsp;</td>
</tr>
</thead>
<tbody>
<tr>
<td class="sj_popup_lefttxt">行政区划级次</td>
<td class="sj_popup_midtxt">{{data1.areaLevel}}</td>
<td class="sj_popup_midtxt">{{data2.areaLevel}}</td>
<td class="sj_popup_righttxt">
<input type="checkbox" id='areaLevel' ng-show="null != data2.areaLevel && data2.areaLevel != ''" ng-click="click($event, 'areaLevel')">
</td>
</tr>
<tr>
<td class="sj_popup_lefttxt">信息系统版本</td>
<td class="sj_popup_midtxt">{{data1.sysVersion}}</td>
<td class="sj_popup_midtxt">{{data2.sysVersion}}</td>
<td class="sj_popup_righttxt">
8 years ago
<input type="checkbox" id='sysVersion' ng-show="null != data2.sysVersion && data2.sysVersion != ''" ng-click="click($event, 'sysVersion')">
</td>
</tr>
<tr>
<td class="sj_popup_lefttxt">投入使用时间</td>
<td class="sj_popup_midtxt">{{data1.beginUseTime}}</td>
<td class="sj_popup_midtxt">{{data2.beginUseTime}}</td>
<td class="sj_popup_righttxt">
<input type="checkbox" id='beginUseTime' ng-show="null != data2.beginUseTime && data2.beginUseTime != ''" ng-click="click($event, 'beginUseTime')">
</td>
</tr>
<tr>
<td class="sj_popup_lefttxt">功能描述</td>
<td class="sj_popup_midtxt">{{data1.functionDetails}}</td>
8 years ago
<td class="sj_popup_midtxt">{{data2.functionDetails}}
</td>
<td class="sj_popup_righttxt">
<input type="checkbox" ng-show="null != data2.functionDetails && data2.functionDetails != ''" ng-click="click($event, 'functionDetails')">
8 years ago
</td>
</tr>
<tr>
<td class="sj_popup_lefttxt">开发商全称</td>
<td class="sj_popup_midtxt">{{data1.developerFullName}}</td>
<td class="sj_popup_midtxt">{{data2.developerFullName}}</td>
<td class="sj_popup_righttxt">
<input type="checkbox" ng-show="null != data2.developerFullName && data2.developerFullName != ''" ng-click="click($event, 'developerFullName')">
</td>
</tr>
<tr>
<td class="sj_popup_lefttxt">联系人</td>
<td class="sj_popup_midtxt">{{data1.departmentManager}}</td>
<td class="sj_popup_midtxt">{{data2.departmentManager}}</td>
<td class="sj_popup_righttxt">
<input type="checkbox" ng-show="null != data2.departmentManager && data2.departmentManager != ''" ng-click="click($event, 'departmentManager')">
</td>
</tr>
<tr>
<td class="sj_popup_lefttxt">联系电话(手机)</td>
<td class="sj_popup_midtxt">{{data1.managerContacts}}</td>
<td class="sj_popup_midtxt">{{data2.managerContacts}}</td>
<td class="sj_popup_righttxt">
<input type="checkbox" ng-show="null != data2.managerContacts && data2.managerContacts != ''" ng-click="click($event, 'managerContacts')">
</td>
</tr>
<tr>
<td class="sj_popup_lefttxt">数据库类型</td>
<td class="sj_popup_midtxt">{{data1.dataBaseType}}</td>
<td class="sj_popup_midtxt">{{data2.dataBaseType}}</td>
<td class="sj_popup_righttxt">
<input type="checkbox" ng-show="null != data2.dataBaseType && data2.dataBaseType != ''" ng-click="click($event, 'dataBaseType')">
</td>
</tr>
<tr>
<td class="sj_popup_lefttxt">数据库版本</td>
<td class="sj_popup_midtxt">{{data1.dataBaseVersion}}</td>
<td class="sj_popup_midtxt">{{data2.dataBaseVersion}}</td>
<td class="sj_popup_righttxt">
<input type="checkbox" ng-show="null != data2.dataBaseVersion && data2.dataBaseVersion != ''" ng-click="click($event, 'dataBaseVersion')">
</td>
</tr>
<tr>
<td class="sj_popup_lefttxt">业务范围</td>
<td class="sj_popup_midtxt">
<span ng-repeat="item in data1.workRange">{{item}}</span>
</td>
<td class="sj_popup_midtxt">
8 years ago
<span ng-repeat="item in data2.workRange">{{item}} </span>
8 years ago
</td>
<td class="sj_popup_righttxt">
<input type="checkbox" ng-show="data2.workRange && data2.workRange.length > 0" ng-click="click($event, 'workRange')">
</td>
</tr>
</tbody>
</table>
<div class=" clear">
8 years ago
<button class="btn pull-right sj_btn_blue" ng-disabled="checkboxItmes.length==0" ng-click="replace()">更新</button>
8 years ago
<button class="sj_btn_grey mr5 fr" ng-click="cancel()">取消</button>
</div>
</div>
</script>
<script type="text/ng-template" id="statusHelp.html">
<table border="1" cellspacing="0" cellpadding="2">
<tr>
<td>第一行第一栏</td>
<td >第一行的第二</td>
<td>第一行第三栏</td>
</tr>
<tr>
<td>第二行及第三行 的 第一栏</td>
<td>第二行第二栏</td>
<td>第二行第三栏</td>
</tr>
<tr>
<td>第三行第一栏</td>
<td>第三行第二栏</td>
<td>第三行第三栏</td>
</tr>
</table>
</script>
<div ng-controller="Kubernetes.TopLevel">
<div class="wiki-icon-view" ng-controller="Kubernetes.FileDropController" nv-file-drop nv-file-over uploader="uploader" over-class="ready-drop">
<div class="row kubernetes-view" ng-view></div>
</div>
</div>