12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- <{include file="admin/permission/header.html"}>
- <{include file="admin/permission/nav.html"}>
- <style>
- label {
- font-weight: 300;
- font-size: 13px;
- width:350px;
- }
- </style>
- <div class="container">
- <table class="table table-condensed table-bordered">
- <tr>
- <th>用户名</th>
- <th>用户组</th>
- </tr>
- <tr>
- <td><a href="http://home.kimiss.com/member/<{$member.uid}>/" target="_blank"><{$member.username}></a></td>
- <td>
- <{if $hasGroups}>
- <{foreach from=$hasGroups item=group}>
- <a><{$group.description}></a>
- <{/foreach}>
- <{else}>
- -
- <{/if}>
- </td>
- </tr>
- </table>
-
- <div class="control-group">
- <div class="page-header"><strong>用户组</strong></div>
- <form name='add_usergroup_from' action="<{$web_cfg.domain}>" method="post">
- <input name="c" type="hidden" value="permission" />
- <input name="a" type="hidden" value="addUserToGroup" />
- <input name="uid" type="hidden" value="<{$member.uid}>" />
- <input name='hasGroupids' type="hidden" value="<{$has_groupids}>" />
- <{foreach from=$groupsAll item=group}>
- <label class="checkbox">
- <input name="groupids[]" type="checkbox" value="<{$group.id}>" <{if $hasGroups[$group.id]}>checked="checked"<{/if}>><{$group.description}>
- </label>
- <{/foreach}>
- <input type="submit" value="提交" id="add_new_group_btn" class="btn btn-default btn-sm btn-primary"/>
- </form>
- </div>
- </div>
- <script>
- KISSY.use('node', function (S, Node) {
- var $ = S.all;
- });
- </script>
- <{include file="admin/permission/bottom.html"}>
|