role_add.html 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <include file="public@header"/>
  2. </head>
  3. <body>
  4. <div class="wrap js-check-wrap">
  5. <ul class="nav nav-tabs">
  6. <li><a href="{:url('rbac/index')}">{:lang('ADMIN_RBAC_INDEX')}</a></li>
  7. <li class="active"><a href="{:url('rbac/roleadd')}">{:lang('ADMIN_RBAC_ROLEADD')}</a></li>
  8. </ul>
  9. <form class="form-horizontal js-ajax-form margin-top-20" action="{:url('rbac/roleAddPost')}" method="post">
  10. <div class="form-group">
  11. <label for="input-name" class="col-sm-2 control-label"><span class="form-required">*</span>{:lang('ROLE_NAME')}</label>
  12. <div class="col-md-6 col-sm-10">
  13. <input type="text" class="form-control" id="input-name" name="name">
  14. </div>
  15. </div>
  16. <div class="form-group">
  17. <label for="input-remark" class="col-sm-2 control-label">{:lang('ROLE_DESCRIPTION')}</label>
  18. <div class="col-md-6 col-sm-10">
  19. <textarea type="text" class="form-control" id="input-remark" name="remark"></textarea>
  20. </div>
  21. </div>
  22. <div class="form-group">
  23. <label class="col-sm-2 control-label">{:lang('STATUS')}</label>
  24. <div class="col-md-6 col-sm-10">
  25. <label class="radio-inline">
  26. <input type="radio" name="status" value="1"> {:lang('ENABLED')}
  27. </label>
  28. <label class="radio-inline">
  29. <input type="radio" name="status" value="0"> {:lang('DISABLED')}
  30. </label>
  31. </div>
  32. </div>
  33. <div class="form-group">
  34. <div class="col-sm-offset-2 col-sm-10">
  35. <button type="submit" class="btn btn-primary js-ajax-submit">{:lang('ADD')}</button>
  36. </div>
  37. </div>
  38. </form>
  39. </div>
  40. <script src="__STATIC__/js/admin.js"></script>
  41. </body>
  42. </html>