Files
EdgeAdmin/web/views/@default/clusters/grants/selectPopup.html
2021-05-23 21:12:52 +08:00

21 lines
821 B
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{$layout "layout_popup"}
<h3>选择认证</h3>
<form class="ui form">
<div class="ui fields inline">
<div class="ui field">
<input type="text" placeholder="搜索名称、用户名等" v-model="keyword"/>
</div>
</div>
</form>
<table class="ui table">
<tr>
<td>
<span v-if="grants.length == 0">暂时还没有可用的认证。</span>
<a class="ui label small basic" v-for="grant in grants" :class="{blue:grantId == grant.id}" @click.prevent="selectGrant(grant)" style="margin-bottom:0.5em">{{grant.name}} <span class="small">{{grant.methodName}}</span><span v-if="grant.username.length > 0" class="small">{{grant.username}}</span></a>
<p class="comment">请点击选中某个认证。</p>
</td>
</tr>
</table>