resetPassword.blade.php 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  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>重置密码</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 href="{{url('lang', ['locale' => 'en'])}}">English</a>
  41. <a href="{{url('lang', ['locale' => 'ja'])}}">日本語</a>
  42. <a href="{{url('lang', ['locale' => 'ko'])}}">한국어</a>
  43. @elseif(app()->getLocale() == 'en')
  44. <a href="{{url('lang', ['locale' => 'zh-CN'])}}">中文</a>
  45. <a href="{{url('lang', ['locale' => 'ja'])}}">日本語</a>
  46. <a href="{{url('lang', ['locale' => 'ko'])}}">한국어</a>
  47. @elseif(app()->getLocale() == 'ko')
  48. <a href="{{url('lang', ['locale' => 'zh-CN'])}}">中文</a>
  49. <a href="{{url('lang', ['locale' => 'en'])}}">English</a>
  50. <a href="{{url('lang', ['locale' => 'ja'])}}">日本語</a>
  51. @elseif(app()->getLocale() == 'ja')
  52. <a href="{{url('lang', ['locale' => 'zh-CN'])}}">中文</a>
  53. <a href="{{url('lang', ['locale' => 'en'])}}">English</a>
  54. <a href="{{url('lang', ['locale' => 'ko'])}}">한국어</a>
  55. @else
  56. @endif
  57. </nav>
  58. @if (Session::get('errorMsg'))
  59. <div class="alert alert-danger">
  60. <button class="close" data-close="alert"></button>
  61. <span> {{Session::get('errorMsg')}} </span>
  62. </div>
  63. @endif
  64. @if (Session::get('successMsg'))
  65. <div class="alert alert-success">
  66. <button class="close" data-close="alert"></button>
  67. <span> {{Session::get('successMsg')}} </span>
  68. </div>
  69. @endif
  70. <!-- BEGIN FORGOT PASSWORD FORM -->
  71. <form class="forget-form" action="{{url('resetPassword')}}" method="post" style="display: block;">
  72. @if($is_reset_password)
  73. <div class="form-title">
  74. <span class="form-title">{{trans('home.reset_password_title')}}</span>
  75. </div>
  76. <div class="form-group">
  77. <input class="form-control placeholder-no-fix" type="text" autocomplete="off" placeholder="" name="username" value="{{Request::old('username')}}" required autofocus />
  78. <input type="hidden" name="_token" value="{{csrf_token()}}" />
  79. </div>
  80. @else
  81. <div class="alert alert-danger">
  82. <span> {{trans('home.system_down')}} </span>
  83. </div>
  84. @endif
  85. <div class="form-actions">
  86. <button type="button" class="btn btn-default" onclick="login()">{{trans('register.back')}}</button>
  87. @if($is_reset_password)
  88. <button type="submit" class="btn red uppercase pull-right">{{trans('register.submit')}}</button>
  89. @endif
  90. </div>
  91. </form>
  92. <!-- END FORGOT PASSWORD FORM -->
  93. </div>
  94. <!-- END LOGIN -->
  95. <!--[if lt IE 9]>
  96. <script src="/assets/global/plugins/respond.min.js"></script>
  97. <script src="/assets/global/plugins/excanvas.min.js"></script>
  98. <script src="/assets/global/plugins/ie8.fix.min.js"></script>
  99. <![endif]-->
  100. <script src="/assets/global/plugins/jquery.min.js" type="text/javascript"></script>
  101. <script src="/assets/global/plugins/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
  102. <script src="/assets/global/scripts/app.min.js" type="text/javascript"></script>
  103. <script type="text/javascript">
  104. // 登录
  105. function login() {
  106. window.location.href = '{{url('login')}}';
  107. }
  108. </script>
  109. <!-- 统计 -->
  110. {!! $website_analytics !!}
  111. <!-- 客服 -->
  112. {!! $website_customer_service !!}
  113. </body>
  114. </html>