add.html 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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('nav/index')}">{:lang('ADMIN_NAV_INDEX')}</a></li>
  7. <li class="active"><a href="{:url('nav/add')}">{:lang('ADMIN_NAV_ADD')}</a></li>
  8. <!--<li><a href="{:url('nav/edit')}" >{:lang('ADMIN_NAV_EDIT')}</a></li>-->
  9. </ul>
  10. <form method="post" class="form-horizontal js-ajax-form margin-top-20" action="{:url('nav/addPost')}">
  11. <div class="form-group">
  12. <label class="col-sm-2 control-label"><span class="form-required">*</span>名称:</label>
  13. <div class="col-md-6 col-sm-10">
  14. <input type="text" class="form-control" name="name" value="">
  15. </div>
  16. </div>
  17. <div class="form-group">
  18. <label class="col-sm-2 control-label">备注:</label>
  19. <div class="col-md-6 col-sm-10">
  20. <textarea class="form-control" name="remark" rows="5" cols="57"></textarea>
  21. </div>
  22. </div>
  23. <div class="form-group">
  24. <label class="col-sm-2 control-label">主菜单:</label>
  25. <div class="col-md-6 col-sm-10">
  26. <div class="checkbox">
  27. <label>
  28. <input type="checkbox" name="is_main" value="1" >
  29. </label>
  30. </div>
  31. </div>
  32. </div>
  33. <div class="col-sm-offset-2 col-sm-10">
  34. <button type="submit" class="btn btn-primary js-ajax-submit">{:lang("SAVE")}</button>
  35. <a class="btn btn-default" href="{:url('Nav/index')}">返回</a>
  36. </div>
  37. </form>
  38. </div>
  39. <script src="__STATIC__/js/admin.js"></script>
  40. </body>
  41. </html>