index.html 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <include file="public@header"/>
  2. </head>
  3. <body>
  4. <div class="wrap">
  5. <ul class="nav nav-tabs">
  6. <li class="active"><a href="{:url('admin_setting/index')}">门锁账号</a></li>
  7. </ul>
  8. <form method="post" class="form-horizontal js-ajax-form margin-top-20" action="{:url('Teahouse/admin_setting/indexPost')}">
  9. <div class="form-group">
  10. <label for="clientId" class="col-sm-2 control-label">
  11. <span class="form-required">*</span>clientId
  12. </label>
  13. <div class="col-md-6 col-sm-10">
  14. <input type="text" class="form-control" id="clientId" name="clientId" value="{$clientId|default=''}">
  15. </div>
  16. </div>
  17. <div class="form-group">
  18. <label for="clientSecret" class="col-sm-2 control-label">
  19. <span class="form-required">*</span>clientSecret
  20. </label>
  21. <div class="col-md-6 col-sm-10">
  22. <input type="text" class="form-control" id="clientSecret" name="clientSecret" value="{$clientSecret|default=''}">
  23. </div>
  24. </div>
  25. <div class="form-group">
  26. <label for="username" class="col-sm-2 control-label">
  27. <span class="form-required">*</span>用户名
  28. </label>
  29. <div class="col-md-6 col-sm-10">
  30. <input type="text" class="form-control" id="username" name="username" value="{$username|default=''}">
  31. </div>
  32. </div>
  33. <div class="form-group">
  34. <label for="password" class="col-sm-2 control-label">
  35. <span class="form-required">*</span>密码
  36. </label>
  37. <div class="col-md-6 col-sm-10">
  38. <input type="text" class="form-control" id="password" name="password" value="{$password|default=''}">
  39. </div>
  40. </div>
  41. <div class="form-group">
  42. <div class="col-sm-offset-2 col-sm-10">
  43. <button type="submit" class="btn btn-primary js-ajax-submit">{:lang('SAVE')}</button>
  44. </div>
  45. </div>
  46. </form>
  47. </div>
  48. <script src="__STATIC__/js/admin.js"></script>
  49. <script>
  50. </script>
  51. </body>
  52. </html>