activeUser.blade.php 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. <!DOCTYPE html>
  2. <!--[if IE 8]> <html lang="en" class="ie8 no-js"> <![endif]-->
  3. <!--[if IE 9]> <html lang="en" class="ie9 no-js"> <![endif]-->
  4. <!--[if !IE]><!-->
  5. <html lang="{{app()->getLocale()}}">
  6. <!--<![endif]-->
  7. <head>
  8. <meta charset="utf-8" />
  9. <title>{{trans('active.title')}}</title>
  10. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  11. <meta content="width=device-width, initial-scale=1" name="viewport" />
  12. <meta content="" name="description" />
  13. <meta content="" name="author" />
  14. <!-- BEGIN GLOBAL MANDATORY STYLES -->
  15. <link href="/assets/global/plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
  16. <link href="/assets/global/plugins/simple-line-icons/simple-line-icons.min.css" rel="stylesheet" type="text/css" />
  17. <link href="/assets/global/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
  18. <link href="/assets/global/plugins/bootstrap-switch/css/bootstrap-switch.min.css" rel="stylesheet" type="text/css" />
  19. <!-- END GLOBAL MANDATORY STYLES -->
  20. <!-- BEGIN THEME GLOBAL STYLES -->
  21. <link href="/assets/global/css/components-rounded.min.css" rel="stylesheet" id="style_components" type="text/css" />
  22. <!-- END THEME GLOBAL STYLES -->
  23. <!-- BEGIN PAGE LEVEL STYLES -->
  24. <link href="/assets/pages/css/login-2.min.css" rel="stylesheet" type="text/css" />
  25. <!-- END PAGE LEVEL STYLES -->
  26. <!-- BEGIN THEME LAYOUT STYLES -->
  27. <!-- END THEME LAYOUT STYLES -->
  28. <link rel="shortcut icon" href="{{asset('favicon.ico')}}" />
  29. </head>
  30. <body class=" login">
  31. <!-- BEGIN LOGO -->
  32. <div class="logo">
  33. <a href="javascript:;"> <img src="/assets/images/home_logo.png" alt="" /> </a>
  34. </div>
  35. <!-- END LOGO -->
  36. <!-- BEGIN LOGIN -->
  37. <div class="content">
  38. <nav style="padding-bottom: 20px;text-align: center;">
  39. @if(app()->getLocale() == 'zh-CN')
  40. <a style="border: 1px solid;padding: 10px;" href="{{url('lang', ['locale' => 'en'])}}">English</a>
  41. @else
  42. <a style="border: 1px solid;padding: 10px;" href="{{url('lang', ['locale' => 'zh-CN'])}}">中文</a>
  43. @endif
  44. </nav>
  45. @if (Session::get('errorMsg'))
  46. <div class="alert alert-danger">
  47. <button class="close" data-close="alert"></button>
  48. <span> {{Session::get('errorMsg')}} </span>
  49. </div>
  50. @endif
  51. @if (Session::get('successMsg'))
  52. <div class="alert alert-success">
  53. <button class="close" data-close="alert"></button>
  54. <span> {{Session::get('successMsg')}} </span>
  55. </div>
  56. @endif
  57. <!-- BEGIN FORGOT PASSWORD FORM -->
  58. <form class="forget-form" action="{{url('activeUser')}}" method="post" style="display: block;">
  59. @if($is_active_register)
  60. <div class="form-title">
  61. <span class="form-title">{{trans('active.title')}}</span>
  62. </div>
  63. <div class="form-group">
  64. <input class="form-control placeholder-no-fix" type="text" autocomplete="off" placeholder="{{trans('active.username_placeholder')}}" name="username" value="{{Request::get('username')}}" required />
  65. <input type="hidden" name="_token" value="{{csrf_token()}}" />
  66. </div>
  67. @else
  68. <div class="alert alert-danger">
  69. <span> {{trans('active.tips')}} </span>
  70. </div>
  71. @endif
  72. <div class="form-actions">
  73. <button type="button" class="btn btn-default" onclick="login()">{{trans('active.back')}}</button>
  74. @if($is_active_register)
  75. <button type="submit" class="btn red uppercase pull-right">{{trans('active.submit')}}</button>
  76. @endif
  77. </div>
  78. </form>
  79. <!-- END FORGOT PASSWORD FORM -->
  80. </div>
  81. <!-- END LOGIN -->
  82. <!--[if lt IE 9]>
  83. <script src="/assets/global/plugins/respond.min.js"></script>
  84. <script src="/assets/global/plugins/excanvas.min.js"></script>
  85. <script src="/assets/global/plugins/ie8.fix.min.js"></script>
  86. <![endif]-->
  87. <!-- BEGIN CORE PLUGINS -->
  88. <script src="/assets/global/plugins/jquery.min.js" type="text/javascript"></script>
  89. <script src="/assets/global/plugins/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
  90. <!-- END CORE PLUGINS -->
  91. <script type="text/javascript">
  92. // 登录
  93. function login() {
  94. window.location.href = '{{url('login')}}';
  95. }
  96. </script>
  97. <!-- BEGIN THEME GLOBAL SCRIPTS -->
  98. <script src="/assets/global/scripts/app.min.js" type="text/javascript"></script>
  99. <!-- END THEME GLOBAL SCRIPTS -->
  100. </body>
  101. </html>