123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- <{include file='../public/admin_header.html'}>
- <{include file='../public/admin_navi.html'}>
- <!-- Right side column. Contains the navbar and content of the page -->
- <aside class="right-side">
- <!-- Content Header (Page header) -->
- <section class="content-header">
- <h1>
- 分配角色及直属上级
- <small>Control panel</small>
- </h1>
- <ol class="breadcrumb">
- <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
- <li class="active">Blank page</li>
- </ol>
- </section>
- <!-- Main content -->
- <section class="content">
- <div class="span9">
- <{if $error}>
- <div class="alert alert-danger alert-dismissable"><{$error}></div>
- <{/if}>
- <{if $info}>
- <div class="alert alert-success nodisplay"><{$info}></div>
- <{/if}>
- <div id='main' class="form-actions">
- 给用户<span style="color:red;"><{$user_info.uname}></span>分配角色及直属上级:
- <form method="post" action="" id="to_persission">
- <input type="hidden" name="uname" value="<{$user_info.uname}>" />
- <table class="table table-bordered" style="margin-top:15px;">
- <tr>
- <td>角色</td>
- <td>
- <input type="radio" name="role" value="1" <{if $user_info.role==1}>checked<{/if}> /> 职员
- <input type="radio" style="margin-left:15px;" name="role" value="2" <{if $user_info.role==2}>checked<{/if}> /> 部门主管
- </td>
- </tr>
- <tr>
- <td>直属领导</td>
- <td>
- <select name="header_uid" style="width:150px;">
- <option value="0"> 请选择 </option>
- <{foreach from=$header_list item=item key=key }>
- <option value="<{$key}>" <{if $key==$user_info.header_uid}>selected<{/if}> ><{$item}></option>
- <{/foreach}>
- </select>
- </td>
- </tr>
- <tr>
- <td> </td>
- <td>
- <input type="submit" value="提交" style="width:100px;height:30px;margin-bottom:15px;" class="btn btn-primary" />
- </td>
- </tr>
- </table>
- </form>
- </div>
- </div>
- </section><!-- /.content -->
- </aside><!-- /.right-side -->
- </div><!-- ./wrapper -->
- <script>
- $('#treeview5').addClass('active');
- </script>
- <style>
- .form-control{width:200px;}
- </style>
- </body>
- </html>
|