selectuser.html 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
  2. <input type="hidden" name="row[user_rule]" value="{$row.user_rule}" />
  3. <div class="form-group">
  4. <label class="control-label col-xs-12 col-sm-2">{:__('Userauth_status')}:</label>
  5. <div class="col-xs-12 col-sm-8">
  6. <div class="radio">
  7. {foreach name="userauthStatusList" item="vo"}
  8. <label for="row[userauth_status]-{$key}"><input id="row[userauth_status]-{$key}" name="row[userauth_status]" type="radio" value="{$key}" {in name="key" value="$row.userauth_status"}checked{/in} /> {$vo}</label>
  9. {/foreach}
  10. </div>
  11. </div>
  12. </div>
  13. <div class="form-group">
  14. <label class="control-label col-xs-12 col-sm-2">{:__('User_ids')}:</label>
  15. <div class="col-xs-12 col-sm-8">
  16. <span class="text-muted"><input type="checkbox" name="" id="checkall" /> <label for="checkall"><small>{:__('Check all')}</small></label></span>
  17. <span class="text-muted"><input type="checkbox" name="" id="expandall" /> <label for="expandall"><small>{:__('Expand all')}</small></label></span>
  18. <div id="treeview"></div>
  19. </div>
  20. </div>
  21. <div class="form-group layer-footer">
  22. <label class="control-label col-xs-12 col-sm-2"></label>
  23. <div class="col-xs-12 col-sm-8">
  24. <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
  25. </div>
  26. </div>
  27. </form>
  28. <script>
  29. var nodeData = {:json_encode($nodeList); };
  30. </script>