lyear_pages_login_4.html 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. <!DOCTYPE html>
  2. <html lang="zh">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
  6. <title>登录页面 - 光年(Light Year Admin)后台管理系统模板</title>
  7. <link rel="icon" href="favicon.ico" type="image/ico">
  8. <meta name="keywords" content="LightYear,光年,后台模板,后台管理系统,光年HTML模板">
  9. <meta name="description" content="LightYear是一个基于Bootstrap v3.3.7的后台管理系统的HTML模板。">
  10. <meta name="author" content="yinqi">
  11. <link href="css/bootstrap.min.css" rel="stylesheet">
  12. <link href="css/materialdesignicons.min.css" rel="stylesheet">
  13. <link href="css/style.min.css" rel="stylesheet">
  14. <style>
  15. body {
  16. background-color: #fff;
  17. }
  18. .lyear-login-box {
  19. position: relative;
  20. overflow-x: hidden;
  21. width: 100%;
  22. height: 100%;
  23. -webkit-transition: 0.5s;
  24. -o-transition: 0.5s;
  25. transition: 0.5s;
  26. }
  27. .lyear-login-left {
  28. width: 50%;
  29. top: 0;
  30. left: 0;
  31. bottom: 0;
  32. position: fixed;
  33. height: 100%;
  34. z-index: 555;
  35. background-size: cover;
  36. background-repeat: no-repeat;
  37. background-position: center center;
  38. }
  39. .lyear-overlay {
  40. position: absolute;
  41. top: 0;
  42. bottom: 0;
  43. left: 0;
  44. right: 0;
  45. z-index: 10;
  46. background: rgba(0, 0, 0, 0.5);
  47. }
  48. .lyear-logo {
  49. margin-bottom: 50px;
  50. }
  51. .lyear-featured {
  52. z-index: 12;
  53. position: absolute;
  54. bottom: 0;
  55. padding: 30px;
  56. width: 100%;
  57. }
  58. .lyear-featured h4 {
  59. color: #fff;
  60. line-height: 32px;
  61. }
  62. .lyear-featured h4 small {
  63. color: #fff;
  64. display: block;
  65. text-align: right;
  66. margin-top: 15px;
  67. }
  68. .lyear-login-right {
  69. margin-left: 50%;
  70. position: relative;
  71. z-index: 999;
  72. padding: 100px;
  73. background-color: #fff;
  74. }
  75. @media screen and (max-width: 1024px) {
  76. .lyear-login-right {
  77. padding: 50px;
  78. }
  79. }
  80. @media screen and (max-width: 820px) {
  81. .lyear-login-left {
  82. width: 100%;
  83. position: relative;
  84. z-index: 999;
  85. height: 300px;
  86. }
  87. .lyear-login-right {
  88. margin-left: 0;
  89. }
  90. }
  91. @media screen and (max-width: 480px) {
  92. .lyear-login-right {
  93. padding: 50px;
  94. }
  95. }
  96. @media screen and (max-width: 320px) {
  97. .lyear-login-right {
  98. padding: 30px;
  99. }
  100. }
  101. </style>
  102. </head>
  103. <body>
  104. <div class="lyear-login-box">
  105. <div class="lyear-login-left" style="background-image: url(images/login-bg-4.jpg)">
  106. <div class="lyear-overlay"></div>
  107. <div class="lyear-featured">
  108. <h4>愿你有好运气,如果没有,愿你在不幸中学会慈悲;愿你被很多人爱,如果没有,愿你在寂寞中学会宽容。<small> - 刘瑜《愿你慢慢长大》</small></h4>
  109. </div>
  110. </div>
  111. <div class="lyear-login-right">
  112. <div class="lyear-logo text-center">
  113. <a href="#!"><img src="images/logo-sidebar.png" alt="logo" /></a>
  114. </div>
  115. <form action="#!" method="post">
  116. <div class="form-group">
  117. <label for="username">用户名</label>
  118. <input type="text" class="form-control" id="username" placeholder="请输入您的用户名">
  119. </div>
  120. <div class="form-group">
  121. <label for="password">密码</label>
  122. <input type="password" class="form-control" id="password" placeholder="请输入您的密码">
  123. </div>
  124. <div class="form-group">
  125. <label for="captcha">验证码</label>
  126. <div class="row">
  127. <div class="col-xs-7">
  128. <input type="text" name="captcha" id="captcha" class="form-control" placeholder="验证码">
  129. </div>
  130. <div class="col-xs-5">
  131. <img src="images/captcha.png" class="pull-right" id="captcha" style="cursor: pointer;" onclick="this.src=this.src+'?d='+Math.random();" title="点击刷新" alt="captcha">
  132. </div>
  133. </div>
  134. </div>
  135. <div class="form-group">
  136. <label class="lyear-checkbox checkbox-primary m-t-10">
  137. <input type="checkbox" checked=""><span>5天内自动登录</span>
  138. </label>
  139. </div>
  140. <div class="form-group">
  141. <button class="btn btn-block btn-primary" type="submit">立即登录</button>
  142. </div>
  143. <footer class="text-center">
  144. <p class="m-b-0">Copyright © 2020 <a href="http://lyear.itshubao.com">IT书包</a>. All right reserved</p>
  145. </footer>
  146. </form>
  147. </div>
  148. </div>
  149. <script type="text/javascript" src="js/jquery.min.js"></script>
  150. <script type="text/javascript" src="js/bootstrap.min.js"></script>
  151. <script type="text/javascript">;</script>
  152. </body>
  153. </html>