[更新]修改节点模板

This commit is contained in:
Anyon 2018-04-08 10:37:18 +08:00
parent 9ef4479be8
commit 04425db6e8

View File

@ -28,7 +28,7 @@
<!--{foreach $nodes as $key=>$vo}-->
<tr>
<td class='text-left nowrap'>
<span style="color:#ccc">{$vo.spl|raw}</span> {$vo.node}
<span class="color-desc">{$vo.spl|raw}</span> {$vo.node}
{if auth("$classuri/save")}&nbsp;<input class='layui-input layui-input-inline title-input' name='title' data-node="{$vo.node}" value="{$vo.title}">{/if}
</td>
<td class='text-left nowrap'>
@ -46,36 +46,36 @@
</label>
{/if}
{if auth("$classuri/save") and $vo.spt eq 2}
<span style="color:#ccc">&nbsp;├─ </span>
<span class="color-desc">&nbsp;&nbsp;├─&nbsp;</span>
<label class="notselect margin-right-15">
{notempty name='vo.is_login'}
<!--{notempty name='vo.is_login'}-->
<input data-login-filter="{$vo.pnode}" checked='checked' class="check-box login_{$key}" type='checkbox' value='1' name='is_login' data-node="{$vo.node}" onclick="!this.checked && ($('.auth_{$key}')[0].checked = !!this.checked)">
{else}
<!--{else}-->
<input data-login-filter="{$vo.pnode}" class="check-box login_{$key}" type='checkbox' value='1' name='is_login' data-node="{$vo.node}" onclick="!this.checked && ($('.auth_{$key}')[0].checked = !!this.checked)">
{/notempty}
<!--{/notempty}-->
加入登录控制
</label>
<span style="color:#ccc">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;├─ </span>
<span class="color-desc">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;├─&nbsp;</span>
<label class="notselect margin-right-15">
{notempty name='vo.is_auth'}
<!--{notempty name='vo.is_auth'}-->
<input data-auth-filter="{$vo.pnode}" name='is_auth' data-node="{$vo.node}" checked='checked' class="check-box auth_{$key}" type='checkbox' onclick="this.checked && ($('.login_{$key}')[0].checked = !!this.checked)" value='1'>
{else}
<!--{else}-->
<input data-auth-filter="{$vo.pnode}" name='is_auth' data-node="{$vo.node}" class="check-box auth_{$key}" type='checkbox' value='1' onclick="this.checked && ($('.login_{$key}')[0].checked = !!this.checked)">
{/notempty}
<!--{/notempty}-->
加入权限控制
</label>
<span style="color:#ccc">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;├─ </span>
<span class="color-desc">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;├─&nbsp;</span>
<label class="notselect">
{notempty name='vo.is_menu'}
<!--{notempty name='vo.is_menu'}-->
<input data-menu-filter="{$vo.pnode}" name='is_menu' data-node="{$vo.node}" checked='checked' class='check-box menu_{$key}' type='checkbox' value='1'>
{else}
<!--{else}-->
<input data-menu-filter="{$vo.pnode}" name='is_menu' data-node="{$vo.node}" class='check-box menu_{$key}' type='checkbox' value='1'>
{/notempty}
<!--{/notempty}-->
加入菜单节点选择器
</label>
{/if}
</td>
<td style="width:100%" data-tips-filter="{$vo.pnode}" class="loading-tips nowrap"></td>
<td data-tips-filter="{$vo.pnode}" class="loading-tips nowrap full-width"></td>
</tr>
<!--{/foreach}-->
<!--{/empty}-->