MicroCommunityWeb/public/pages/dev/appManage/appManage.html
2023-09-04 00:50:33 +08:00

81 lines
4.4 KiB
HTML

<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 class="text-center">
<span><vc:i18n name="应用" namespace="appManage"></vc:i18n></span>Id
</th>
<th class="text-center">
<span><vc:i18n name="应用名称" namespace="appManage"></vc:i18n></span>
</th>
<!--<th class="text-center">
<span><vc:i18n name="秘钥" namespace="appManage"></vc:i18n></span>
</th>-->
<th class="text-center">
<span><vc:i18n name="白名单" namespace="appManage"></vc:i18n></span>
</th>
<th class="text-center">
<span><vc:i18n name="黑名单" namespace="appManage"></vc:i18n></span>
</th>
<!--<th class="text-center">
<span><vc:i18n name="备注" namespace="appManage"></vc:i18n></span>
</th>-->
<th class="text-center">
<span><vc:i18n name="操作" namespace="appManage"></vc:i18n></span>
</th>
</tr>
</thead>
<tbody>
<tr v-for="app in appManageInfo.apps">
<td class="text-center">{{app.appId}}</td>
<td class="text-center">{{app.name}}</td>
<!--<td class="text-center">{{app.securityCode}}</td>-->
<td class="text-center">{{app.whileListIp}}</td>
<td class="text-center">{{app.blackListIp}}</td>
<!--<td class="text-center">{{app.remark}}</td>-->
<td class="text-center">
<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>