login.html 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. <!DOCTYPE html>
  2. <html lang="zh-CN">
  3. <head>
  4. <filter><script src="../../lib/common.js"></script><script src="../../lib/jquery/jquery.min.js"></script></filter>
  5. <script class="include" system="" path="inc/" file="head">include()</script>
  6. </head>
  7. <body>
  8. <div class="wrapper-page">
  9. <div class="panel panel-color panel-primary panel-pages">
  10. <div class="panel-heading bg-img">
  11. <div class="bg-overlay"></div>
  12. <h3 class="text-center m-t-10 text-white"> 登录到 <strong id="name">Dever Manage</strong> </h3>
  13. </div>
  14. <div class="panel-body">
  15. <form action="/auth.login" method="post" target="f1" class="form-horizontal m-t-20" id="login">
  16. <input type="hidden" name="function" id="function" value="msg">
  17. <input type="hidden" name="refer" id="refer" value="">
  18. <iframe id="f1" name="f1" style="display:none;"></iframe>
  19. <div class="form-group">
  20. <div class="col-xs-12">
  21. <input class="form-control input-lg" name="username" type="text" required="" placeholder="账号">
  22. </div>
  23. </div>
  24. <div class="form-group">
  25. <div class="col-xs-12">
  26. <input class="form-control input-lg" name="password" type="password" required="" placeholder="密码">
  27. </div>
  28. </div>
  29. <div class="form-group">
  30. <div class="col-xs-12">
  31. <div class="checkbox checkbox-primary">
  32. <input id="checkbox-signup" type="checkbox" checked>
  33. <label for="checkbox-signup">
  34. 记住密码
  35. </label>
  36. </div>
  37. </div>
  38. </div>
  39. <div class="form-group text-center m-t-40">
  40. <div class="col-xs-12">
  41. <button class="btn btn-primary btn-lg w-lg waves-effect waves-light" type="submit">登录</button>
  42. </div>
  43. </div>
  44. <div class="form-group m-t-30" style="display:none;">
  45. <div class="col-sm-7">
  46. <a href="recoverpw.html"><i class="fa fa-lock m-r-5"></i> 忘记密码?</a>
  47. </div>
  48. <div class="col-sm-5 text-right">
  49. <a href="register.html">注册</a>
  50. </div>
  51. </div>
  52. </form>
  53. </div>
  54. </div>
  55. <div>
  56. <p class="pull-right" style="font-size: .75em; margin-top: .25em;" id="footer">© 2015-2020 dever.cc,Inc. Licensed under MIT license.</p>
  57. </div>
  58. </div>
  59. <script class="include" system="" path="inc/" file="script">include()</script>
  60. <script>
  61. $(function()
  62. {
  63. $("#login").bind("keydown",function(e){
  64. var theEvent = e || window.event;
  65. var code = theEvent.keyCode || theEvent.which || theEvent.charCode;
  66. if (code == 13) {
  67. $("#login").submit();
  68. }
  69. });
  70. });
  71. </script>
  72. </body>
  73. </html>