MicroCommunityWeb/public/pages/dev/appManage/appManage.html
2022-04-26 19:22:36 +08:00

71 lines
3.7 KiB
HTML
Executable File

<div>
<div class="row">
<div class="col-lg-12">
<div class="ibox">
<div class="ibox-title">
<h5><span><vc:i18n name="应用信息" namespace="appManage"></vc:i18n></span></h5>
<div class="ibox-tools" style="top:10px;">
<button type="button" class="btn btn-primary btn-sm" v-on:click="_openAddAppModal()">
<i class="fa fa-plus"></i>
添加应用
</button>
</div>
</div>
<div class="ibox-content">
<table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
<thead>
<tr>
<th><span><vc:i18n name="应用" namespace="appManage"></vc:i18n></span>Id</th>
<th><span><vc:i18n name="应用名称" namespace="appManage"></vc:i18n></span></th>
<!-- <th><span><vc:i18n name="秘钥" namespace="appManage"></vc:i18n></span></th>-->
<th><span><vc:i18n name="白名单" namespace="appManage"></vc:i18n></span></th>
<th><span><vc:i18n name="黑名单" namespace="appManage"></vc:i18n></span></th>
<!-- <th><span><vc:i18n name="备注" namespace="appManage"></vc:i18n></span></th>-->
<th class="text-right"><span><vc:i18n name="操作" namespace="appManage"></vc:i18n></span></th>
</tr>
</thead>
<tbody>
<tr v-for="app in appManageInfo.apps">
<td>{{app.appId}}</td>
<td>{{app.name}}</td>
<!-- <td>{{app.securityCode}}</td>-->
<td>{{app.whileListIp}}</td>
<td>{{app.blackListIp}}</td>
<!-- <td>{{app.remark}}</td>-->
<td class="text-right">
<div class="btn-group">
<button class="btn-white btn btn-xs"
v-on:click="_openEditAppModel(app)"><span><vc:i18n name="修改" namespace="appManage"></vc:i18n></span></button>
</div>
<div class="btn-group">
<button class="btn-white btn btn-xs"
v-on:click="_openDeleteAppModel(app)"><span><vc:i18n name="删除" namespace="appManage"></vc:i18n></span></button>
</div>
</td>
</tr>
</tbody>
<tfoot>
<tr>
<td colspan="7">
<ul class="pagination float-right"></ul>
</td>
</tr>
</tfoot>
</table>
<!-- 分页 -->
<vc:create path="frame/pagination"></vc:create>
</div>
</div>
</div>
</div>
<vc:create path="dev/addApp" callBackListener="" callBackFunction="" ></vc:create>
<vc:create path="dev/editApp" ></vc:create>
<vc:create path="dev/deleteApp" ></vc:create>
</div>