search_user.html 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <{include file="admin/permission/header.html"}>
  2. <{include file="admin/permission/nav.html"}>
  3. <style>
  4. label {
  5. font-weight: 300;
  6. font-size: 13px;
  7. width:350px;
  8. }
  9. </style>
  10. <div class="container">
  11. <table class="table table-condensed table-bordered">
  12. <tr>
  13. <th>用户名</th>
  14. <th>用户组</th>
  15. </tr>
  16. <tr>
  17. <td><a href="http://home.kimiss.com/member/<{$member.uid}>/" target="_blank"><{$member.username}></a></td>
  18. <td>
  19. <{if $hasGroups}>
  20. <{foreach from=$hasGroups item=group}>
  21. <a><{$group.description}></a>
  22. <{/foreach}>
  23. <{else}>
  24. -
  25. <{/if}>
  26. </td>
  27. </tr>
  28. </table>
  29. <div class="control-group">
  30. <div class="page-header"><strong>用户组</strong></div>
  31. <form name='add_usergroup_from' action="<{$web_cfg.domain}>" method="post">
  32. <input name="c" type="hidden" value="permission" />
  33. <input name="a" type="hidden" value="addUserToGroup" />
  34. <input name="uid" type="hidden" value="<{$member.uid}>" />
  35. <input name='hasGroupids' type="hidden" value="<{$has_groupids}>" />
  36. <{foreach from=$groupsAll item=group}>
  37. <label class="checkbox">
  38. <input name="groupids[]" type="checkbox" value="<{$group.id}>" <{if $hasGroups[$group.id]}>checked="checked"<{/if}>><{$group.description}>
  39. </label>
  40. <{/foreach}>
  41. <input type="submit" value="提交" id="add_new_group_btn" class="btn btn-default btn-sm btn-primary"/>
  42. </form>
  43. </div>
  44. </div>
  45. <script>
  46. KISSY.use('node', function (S, Node) {
  47. var $ = S.all;
  48. });
  49. </script>
  50. <{include file="admin/permission/bottom.html"}>