Commit 6b351ae7 authored by agping's avatar agping

权限管理页面修改

parent 7031c521
{layout name="global/frame_tpl" /}
<!--关联js元素-->
<input type="hidden" class="page-load" id="auth_rule_index" />
<style>
.title-0{
font-weight: bold;
font-size: 15px;
}
</style>
<div id="page-content-wrapper">
<div class="container">
<div class="row">
......
{layout name="global/frame_tpl" /}
<!--角色管理页面-->
<input type="hidden" class="page-load" id="auth" />
<style>
.title-0{
font-weight: bold;
font-size: 15px;
}
</style>
<div id="page-content-wrapper">
<div class="container">
<div class="row">
......
......@@ -38,9 +38,9 @@
[% for(var item in it){ %]
[% if(it[item]['pid']!=0){ %]
<option value="[%= it[item]['id'] %]">[%= it[item]["title_show"] %]</option>
<option value="[%= it[item]['id'] %]" class="[%= 'title-' + it[item]['level'] %]">[%= it[item]["title_show"] %]</option>
[% }else{ %]
<option value="[%= it[item]['id'] %]">[%= it[item]["title_show"] %]</option>
<option value="[%= it[item]['id'] %]" class="[%= 'title-' + it[item]['level'] %]">[%= it[item]["title_show"] %]</option>
[% } %]
[% } %]
......
......@@ -38,10 +38,14 @@
[% if(it[item]['is']!=0){ %]
<input type="checkbox" name="rules" value="[%= it[item]['id'] %]" checked="checked">
[%= it[item]["title_show"] %]<br>
<!--[%= it[item]["title_show"] %]<br>-->
<span class="[%= 'title-' + it[item]['level'] %]">[%= it[item]["title_show"] %]</span><br>
[% }else{ %]
<input type="checkbox" name="rules" value="[%= it[item]['id'] %]" >
[%= it[item]["title_show"] %]<br>
<!--[%= it[item]["title_show"] %]<br>-->
<span class="[%= 'title-' + it[item]['level'] %]">[%= it[item]["title_show"] %]</span><br>
[% } %]
[% } %]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment