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

430 lines
23 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<script type="text/ng-template" id="tableEdit.html">
<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>
是否删除{{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>
<div class="alert alert-warning" role="alert" ng-show="volumeForm.$invalid && submitted">云盘的名称路径或IP输入不正确</div>
</form>
</div>
</script>
<script type="text/ng-template" id="systemInfo.html">
<div class="sj_new_box mt10">
<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>
<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>
<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_box04">
<h2 class="sj_popup_h2 mb10">{{title}}_{{ngDialogData.item.areaCode}}_{{ngDialogData.item.sysCode}}.sql</h2>
<div class="clear mb10">
<ul class="fl sj_width470">
<li><span class="fb">默认脚本</span>{{ngDialogData.item[ngDialogData.type + 'StandardModified']}}</li>
<li class="sj_link">{{ngDialogData.item[ngDialogData.type + 'PathStandard']}}</li>
</ul>
<div class="fr sj_width470 mr5 mt10">
<button class="sj_btn_green fr" ng-click="upLoadSqlFile()">上传</button>
</div>
<div class="cl"></div>
</div>
<div class="clear mb10">
<div class="sj_box_w470 fl">
<p ng-bind="old_content">
</p>
</div>
<div class=" sj_box_w470 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">
<h2 class="sj_popup_h2 mt10 fl">{{title}}_{{ngDialogData.item.areaCode}}_{{ngDialogData.item.sysCode}}.sql</h2>
<div class="clear mb10 fr mr5">
<button class="sj_btn_green fl" ng-click="sqlFileUpload()">上传</button>
</div>
<div class="cl"></div>
<div class="sj_box_w535 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">
<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 + '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">
<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_w535 mb10">
<p ng-bind="content"></p>
</div>
<div class=" clear">
<button class="btn pull-right sj_btn_blue " style="color:#fff;" 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">
<div class="sj_new_box03 mt10 ">
<h2 class="sj_popup_h2 mb10 ml10 mt15">{{ngDialogData.areaCode}} {{ngDialogData.cityName}} {{ngDialogData.districtName}} {{ngDialogData.sysName}}</h2>
<table class="sj_new_table02 mb10 ml10" 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">
<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>
<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')">
</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" class="mr5">{{item}}</span>
</td>
<td class="sj_popup_midtxt">
<span ng-repeat="item in data2.workRange" class="mr5">{{item}} </span>
</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">
<button class="btn pull-right sj_btn_blue mr15" ng-disabled="checkboxItmes.length==0" ng-click="replace()">更新</button>
<button class="sj_btn_grey mr5 fr" ng-click="cancel()">取消</button>
</div>
</div>
</script>
<script type="text/ng-template" id="statusHelp.html">
<div class="sj_new_box05">
<h2 class="sj_popup_h2 mb10 mt10">帮助</h2>
<table class="sj_new_table02 mb10" cellpadding="0" cellspacing="0">
<thead >
<tr class="sj_popup_toptxt ">
<th >操作</th>
<th >归档脚本</th>
<th >新版版本</th>
<th >详细说明</th>
</tr>
</thead>
<tbody>
<tr >
<td class="sj_popup_txtbold">审核</td>
<td class="sj_popup_txtbold"></td>
<td class="sj_popup_txtbold"></td>
<td class=" sj_popup_midtxt">保留删除新版脚本文件保留现有归档脚本
<br/>替换新版脚本文件移动并覆盖原有归档脚本</td>
</tr>
<tr>
<td class="sj_popup_txtbold">上传</td>
<td class="sj_popup_txtbold"></td>
<td class="sj_popup_txtbold"></td>
<td class=" sj_popup_midtxt">选择本地脚本文件系统按照命名规范重命名文件并归档</td>
</tr>
<tr>
<td class="sj_popup_txtbold">归档</td>
<td class="sj_popup_txtbold"></td>
<td class="sj_popup_txtbold"></td>
<td class=" sj_popup_midtxt">将上报的脚本文件移动到归档路径进行归档</td>
</tr>
<tr>
<td class="sj_popup_txtbold">查看</td>
<td class="sj_popup_txtbold"></td>
<td class="sj_popup_txtbold"></td>
<td class=" sj_popup_midtxt">重新上传选择本地脚本文件系统按照命名规范重命名文件并覆盖现有的归档脚本</td>
</tr>
</tbody>
</table>
<div class="sj_popup_p">
<p>一键归档待归档状态的所有脚本文件后台一次性全部归档</p>
<p>一键审核待审核状态的所有脚本文件后台一次性全部替换</p>
</div>
</div>
</script>
<script type="text/ng-template" id="strandColumn.html">
<div class="ngCellText" ng-init="entity=row.entity">
<div ng-show="true" title="是否是标准表汇总库">
<span ng-show="entity.type== 0" >&nbsp;</span>
<span ng-show="entity.type== 1" >&nbsp;</span>
</div>
</div>
</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>