Commit 6b351ae7 authored by agping's avatar agping

权限管理页面修改

parent 7031c521
{layout name="global/frame_tpl" /} {layout name="global/frame_tpl" /}
<!--关联js元素--> <!--关联js元素-->
<input type="hidden" class="page-load" id="auth_rule_index" /> <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 id="page-content-wrapper">
<div class="container"> <div class="container">
<div class="row"> <div class="row">
......
{layout name="global/frame_tpl" /} {layout name="global/frame_tpl" /}
<!--角色管理页面--> <!--角色管理页面-->
<input type="hidden" class="page-load" id="auth" /> <input type="hidden" class="page-load" id="auth" />
<style>
.title-0{
font-weight: bold;
font-size: 15px;
}
</style>
<div id="page-content-wrapper"> <div id="page-content-wrapper">
<div class="container"> <div class="container">
<div class="row"> <div class="row">
......
...@@ -38,9 +38,9 @@ ...@@ -38,9 +38,9 @@
[% for(var item in it){ %] [% for(var item in it){ %]
[% if(it[item]['pid']!=0){ %] [% 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{ %] [% }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 @@ ...@@ -38,10 +38,14 @@
[% if(it[item]['is']!=0){ %] [% if(it[item]['is']!=0){ %]
<input type="checkbox" name="rules" value="[%= it[item]['id'] %]" checked="checked"> <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{ %] [% }else{ %]
<input type="checkbox" name="rules" value="[%= it[item]['id'] %]" > <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