login.blade.php 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <title>用户登录 | Yunshop</title>
  7. <!-- Tell the browser to be responsive to screen width -->
  8. <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  9. <!-- Bootstrap 3.3.6 -->
  10. <link rel="stylesheet" href="/bootstrap/css/bootstrap.min.css">
  11. <!-- Font Awesome -->
  12. <link rel="stylesheet" href="/libs/font-awesome/4.5.0/css/font-awesome.min.css">
  13. <!-- Ionicons -->
  14. <link rel="stylesheet" href="/libs/ionicons/2.0.1/css/ionicons.min.css">
  15. <!-- Theme style -->
  16. <link rel="stylesheet" href="/dist/css/AdminLTE.min.css">
  17. <!-- iCheck -->
  18. <link rel="stylesheet" href="/plugins/iCheck/square/blue.css">
  19. <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
  20. <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  21. <!--[if lt IE 9]>
  22. <script src="/libs/html5shiv/3.7.3/html5shiv.min.js"></script>
  23. <script src="/libs/respond/1.4.2/respond.min.js"></script>
  24. <![endif]-->
  25. </head>
  26. <body class="hold-transition login-page">
  27. <div class="login-box">
  28. <div class="login-logo">
  29. <a><b>Yun</b>Shop</a>
  30. </div>
  31. <!-- /.login-logo -->
  32. <div class="login-box-body">
  33. <p class="login-box-msg">登陆</p>
  34. <form action="{{ url('/admin/login') }}" method="post">
  35. {!! csrf_field() !!}
  36. <div class="form-group has-feedback">
  37. <input type="text" class="form-control" placeholder="用户名" name="username" value="">
  38. <span class="glyphicon glyphicon-envelope form-control-feedback"></span>
  39. </div>
  40. <div class="form-group has-feedback">
  41. <input type="password" class="form-control" name="password" placeholder="密码">
  42. <span class="glyphicon glyphicon-lock form-control-feedback"></span>
  43. </div>
  44. <div class="row">
  45. <div class="col-xs-8">
  46. <div class="checkbox icheck">
  47. <label>
  48. <input type="checkbox">&nbsp;&nbsp;记&nbsp;住&nbsp;
  49. </label>
  50. </div>
  51. </div>
  52. <!-- /.col -->
  53. <div class="col-xs-4">
  54. <button type="submit" class="btn btn-primary btn-block btn-flat">登录</button>
  55. </div>
  56. <!-- /.col -->
  57. </div>
  58. </form>
  59. <!-- /.social-auth-links -->
  60. {{--<a href="#">我忘了密码</a><br>--}}
  61. {{--<a href="#" class="text-center">新注册用户</a>--}}
  62. </div>
  63. <!-- /.login-box-body -->
  64. </div>
  65. <!-- /.login-box -->
  66. <!-- jQuery 2.2.0 -->
  67. <script src="/plugins/jQuery/jQuery-2.2.0.min.js"></script>
  68. <!-- Bootstrap 3.3.6 -->
  69. <script src="/bootstrap/js/bootstrap.min.js"></script>
  70. <!-- iCheck -->
  71. <script src="/plugins/iCheck/icheck.min.js"></script>
  72. <script>
  73. $(function () {
  74. $('input').iCheck({
  75. checkboxClass: 'icheckbox_square-blue',
  76. radioClass: 'iradio_square-blue',
  77. increaseArea: '20%' // optional
  78. });
  79. });
  80. </script>
  81. </body>
  82. </html>