{$layout}
{$template "grant_menu"}
{$template "/code_editor"}

<table class="ui table selectable definition">
	<tr>
		<td>名称</td>
		<td>
			{{grant.name}}
		</td>
	</tr>

	<tr>
		<td class="title">认证方式</td>
		<td>
			{{grant.methodName}}
		</td>
	</tr>

	<!-- 用户名/密码 -->
	<tbody v-if="grant.method == 'user'">
        <tr>
            <td>SSH用户名</td>
            <td>
                {{grant.username}}
                <p class="comment">SSH登录用户名。</p>
            </td>
  