Browse Source

老登录页面增加背景,新增三个登录页面

笔下光年 5 years ago
parent
commit
e28e134770

+ 3 - 0
README.md

@@ -51,6 +51,9 @@
 - Bootstrap-Multitabs
 
 #### 更新记录
+2020.05.18
+老登录页面增加背景,新增三个登录页面
+
 2020.01.06
 css中去掉system-ui解决input-group双边框问题,改toolWidth值未固定值
 

BIN
images/login-bg-2.jpg


BIN
images/login-bg-3.jpg


BIN
images/login-bg-4.jpg


BIN
images/login-bg.jpg


+ 3 - 0
index.html

@@ -68,6 +68,9 @@
                 <li> <a class="multitabs" href="lyear_pages_guide.html">表单向导</a> </li>
                 <li> <a class="multitabs" href="lyear_pages_data_table.html">表格插件</a> </li>
                 <li> <a href="lyear_pages_login.html" target="_blank">登录页面</a> </li>
+                <li> <a href="lyear_pages_login_2.html" target="_blank">登录页面2</a> </li>
+                <li> <a href="lyear_pages_login_3.html" target="_blank">登录页面3</a> </li>
+                <li> <a href="lyear_pages_login_4.html" target="_blank">登录页面4</a> </li>
                 <li> <a href="lyear_pages_error.html" target="_blank">错误页面</a> </li>
               </ul>
             </li>

+ 7 - 2
lyear_pages_login.html

@@ -30,7 +30,7 @@
     background: #fff;
     min-width: 29.25rem;
     padding: 2.14286em 3.57143em;
-    border-radius: 5px;
+    border-radius: 3px;
     margin: 2.85714em;
 }
 .login-header {
@@ -56,7 +56,7 @@
 </head>
   
 <body>
-<div class="row lyear-wrapper">
+<div class="row lyear-wrapper" style="background-image: url(images/login-bg.jpg); background-size: cover;">
   <div class="lyear-login">
     <div class="login-center">
       <div class="login-header text-center">
@@ -81,6 +81,11 @@
           </div>
         </div>
         <div class="form-group">
+          <label class="lyear-checkbox checkbox-primary m-t-10">
+            <input type="checkbox"><span>5天内自动登录</span>
+          </label>
+        </div>
+        <div class="form-group">
           <button class="btn btn-block btn-primary" type="button" onclick="location.href='index.html'">立即登录</button>
         </div>
       </form>

+ 123 - 0
lyear_pages_login_2.html

@@ -0,0 +1,123 @@
+<!DOCTYPE html>
+<html lang="zh">
+<head>
+<meta charset="utf-8">
+<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
+<title>登录页面 - 光年(Light Year Admin)后台管理系统模板</title>
+<link rel="icon" href="favicon.ico" type="image/ico">
+<meta name="keywords" content="LightYear,光年,后台模板,后台管理系统,光年HTML模板">
+<meta name="description" content="LightYear是一个基于Bootstrap v3.3.7的后台管理系统的HTML模板。">
+<meta name="author" content="yinqi">
+<link href="css/bootstrap.min.css" rel="stylesheet">
+<link href="css/materialdesignicons.min.css" rel="stylesheet">
+<link href="css/style.min.css" rel="stylesheet">
+<style>
+body {
+    display: -webkit-box;
+    display: flex;
+    -webkit-box-pack: center;
+    justify-content: center;
+    -webkit-box-align: center;
+    align-items: center;
+    height: 100%;
+}
+.login-box {
+    display: table;
+    table-layout: fixed;
+    overflow: hidden;
+    max-width: 700px;
+}
+.login-left {
+    display: table-cell;
+    position: relative;
+    margin-bottom: 0;
+    border-width: 0;
+    padding: 45px;
+}
+.login-left .form-group:last-child {
+    margin-bottom: 0px;
+}
+.login-right {
+    display: table-cell;
+    position: relative;
+    margin-bottom: 0;
+    border-width: 0;
+    padding: 45px;
+    width: 50%;
+    max-width: 50%;
+    background: #67b26f!important;
+    background: -moz-linear-gradient(45deg,#67b26f 0,#4ca2cd 100%)!important;
+    background: -webkit-linear-gradient(45deg,#67b26f 0,#4ca2cd 100%)!important;
+    background: linear-gradient(45deg,#67b26f 0,#4ca2cd 100%)!important;
+    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#67b26f', endColorstr='#4ca2cd', GradientType=1 )!important;
+}
+.login-box .has-feedback.feedback-left .form-control {
+    padding-left: 38px;
+    padding-right: 12px;
+}
+.login-box .has-feedback.feedback-left .form-control-feedback {
+    left: 0;
+    right: auto;
+    width: 38px;
+    height: 38px;
+    line-height: 38px;
+    z-index: 4;
+    color: #dcdcdc;
+}
+.login-box .has-feedback.feedback-left.row .form-control-feedback {
+    left: 15px;
+}
+@media (max-width: 576px) {
+  .login-right {
+      display: none;
+  }   
+}
+</style>
+</head>
+  
+<body style="background-image: url(images/login-bg-2.jpg); background-size: cover;">
+<div class="bg-translucent p-10">
+  <div class="login-box bg-white clearfix">
+    <div class="login-left">
+      <form action="#!" method="post">
+        <div class="form-group has-feedback feedback-left">
+          <input type="text" placeholder="请输入您的用户名" class="form-control" name="username" id="username" />
+          <span class="mdi mdi-account form-control-feedback" aria-hidden="true"></span>
+        </div>
+        <div class="form-group has-feedback feedback-left">
+          <input type="password" placeholder="请输入密码" class="form-control" id="password" name="password" />
+          <span class="mdi mdi-lock form-control-feedback" aria-hidden="true"></span>
+        </div>
+        <div class="form-group has-feedback feedback-left row">
+          <div class="col-xs-7">
+            <input type="text" name="captcha" class="form-control" placeholder="验证码">
+            <span class="mdi mdi-check-all form-control-feedback" aria-hidden="true"></span>
+          </div>
+          <div class="col-xs-5">
+            <img src="images/captcha.png" class="pull-right" id="captcha" style="cursor: pointer;" onclick="this.src=this.src+'?d='+Math.random();" title="点击刷新" alt="captcha">
+          </div>
+        </div>
+        <div class="form-group">
+          <label class="lyear-checkbox checkbox-primary m-t-10">
+            <input type="checkbox"><span>5天内自动登录</span>
+          </label>
+        </div>
+        <div class="form-group">
+          <button class="btn btn-block btn-primary" type="button" onclick="location.href='index.html'">立即登录</button>
+        </div>
+      </form>
+    </div>
+    <div class="login-right">
+      <p><img src="images/logo.png" class="m-b-md m-t-xs" alt="logo"></p>
+      <p class="text-white m-tb-15">Light Year Admin 是一个基于Bootstrap v3.3.7的后台管理系统的HTML模板。</p>
+      <p class="text-white">Copyright © 2020 <a href="http://lyear.itshubao.com">IT书包</a>. All right reserved</p>
+    </div>
+  </div>
+</div>
+<script type="text/javascript" src="js/jquery.min.js"></script>
+<script type="text/javascript" src="js/bootstrap.min.js"></script>
+<script type="text/javascript">
+;
+</script>
+</body>
+</html>

+ 123 - 0
lyear_pages_login_3.html

@@ -0,0 +1,123 @@
+<!DOCTYPE html>
+<html lang="zh">
+<head>
+<meta charset="utf-8">
+<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
+<title>登录页面 - 光年(Light Year Admin)后台管理系统模板</title>
+<link rel="icon" href="favicon.ico" type="image/ico">
+<meta name="keywords" content="LightYear,光年,后台模板,后台管理系统,光年HTML模板">
+<meta name="description" content="LightYear是一个基于Bootstrap v3.3.7的后台管理系统的HTML模板。">
+<meta name="author" content="yinqi">
+<link href="css/bootstrap.min.css" rel="stylesheet">
+<link href="css/materialdesignicons.min.css" rel="stylesheet">
+<link href="css/style.min.css" rel="stylesheet">
+<style>
+.lyear-wrapper {
+    position: relative;
+}
+.lyear-login {
+    display: flex !important;
+    min-height: 100vh;
+    align-items: center !important;
+    justify-content: center !important;
+}
+.lyear-login:after{
+    content: '';
+    min-height: inherit;
+    font-size: 0;
+}
+.login-center {
+    background-color: rgba(255,255,255,.075);
+    min-width: 29.25rem;
+    padding: 2.14286em 3.57143em;
+    border-radius: 3px;
+    margin: 2.85714em;
+}
+.login-header {
+    margin-bottom: 1.5rem !important;
+}
+.login-center .has-feedback.feedback-left .form-control {
+    padding-left: 38px;
+    padding-right: 12px;
+    background-color: rgba(255,255,255,.075);
+    border-color: rgba(255,255,255,.075)
+}
+.login-center .has-feedback.feedback-left .form-control-feedback {
+    left: 0;
+    right: auto;
+    width: 38px;
+    height: 38px;
+    line-height: 38px;
+    z-index: 4;
+    color: #dcdcdc;
+}
+.login-center .has-feedback.feedback-left.row .form-control-feedback {
+    left: 15px;
+}
+.login-center .form-control::-webkit-input-placeholder{ 
+    color: rgba(255, 255, 255, .8);
+} 
+.login-center .form-control:-moz-placeholder{ 
+    color: rgba(255, 255, 255, .8);
+} 
+.login-center .form-control::-moz-placeholder{ 
+    color: rgba(255, 255, 255, .8);
+} 
+.login-center .form-control:-ms-input-placeholder{ 
+    color: rgba(255, 255, 255, .8);
+}
+.login-center .custom-control-label::before {
+    background: rgba(0, 0, 0, 0.3);
+    border-color: rgba(0, 0, 0, 0.1);
+}
+.login-center .lyear-checkbox span::before {
+    border-color: rgba(255,255,255,.075)
+}
+</style>
+</head>
+  
+<body>
+<div class="row lyear-wrapper" style="background-image: url(images/login-bg-3.jpg); background-size: cover;">
+  <div class="lyear-login">
+    <div class="login-center">
+      <div class="login-header text-center">
+        <a href="index.html"> <img alt="light year admin" src="images/logo-sidebar.png"> </a>
+      </div>
+      <form action="#!" method="post">
+        <div class="form-group has-feedback feedback-left">
+          <input type="text" placeholder="请输入您的用户名" class="form-control" name="username" id="username" />
+          <span class="mdi mdi-account form-control-feedback" aria-hidden="true"></span>
+        </div>
+        <div class="form-group has-feedback feedback-left">
+          <input type="password" placeholder="请输入密码" class="form-control" id="password" name="password" />
+          <span class="mdi mdi-lock form-control-feedback" aria-hidden="true"></span>
+        </div>
+        <div class="form-group has-feedback feedback-left row">
+          <div class="col-xs-7">
+            <input type="text" name="captcha" class="form-control" placeholder="验证码">
+            <span class="mdi mdi-check-all form-control-feedback" aria-hidden="true"></span>
+          </div>
+          <div class="col-xs-5">
+            <img src="images/captcha.png" class="pull-right" id="captcha" style="cursor: pointer;" onclick="this.src=this.src+'?d='+Math.random();" title="点击刷新" alt="captcha">
+          </div>
+        </div>
+        <div class="form-group">
+          <label class="lyear-checkbox checkbox-primary m-t-10 text-white">
+            <input type="checkbox"><span>5天内自动登录</span>
+          </label>
+        </div>
+        <div class="form-group">
+          <button class="btn btn-block btn-primary" type="button" onclick="location.href='index.html'">立即登录</button>
+        </div>
+      </form>
+      <footer class="col-sm-12 text-center text-white">
+        <p class="m-b-0">Copyright © 2020 <a href="http://lyear.itshubao.com">IT书包</a>. All right reserved</p>
+      </footer>
+    </div>
+  </div>
+</div>
+<script type="text/javascript" src="js/jquery.min.js"></script>
+<script type="text/javascript" src="js/bootstrap.min.js"></script>
+<script type="text/javascript">;</script>
+</body>
+</html>

+ 160 - 0
lyear_pages_login_4.html

@@ -0,0 +1,160 @@
+<!DOCTYPE html>
+<html lang="zh">
+<head>
+<meta charset="utf-8">
+<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
+<title>登录页面 - 光年(Light Year Admin)后台管理系统模板</title>
+<link rel="icon" href="favicon.ico" type="image/ico">
+<meta name="keywords" content="LightYear,光年,后台模板,后台管理系统,光年HTML模板">
+<meta name="description" content="LightYear是一个基于Bootstrap v3.3.7的后台管理系统的HTML模板。">
+<meta name="author" content="yinqi">
+<link href="css/bootstrap.min.css" rel="stylesheet">
+<link href="css/materialdesignicons.min.css" rel="stylesheet">
+<link href="css/style.min.css" rel="stylesheet">
+<style>
+body {
+    background-color: #fff;
+}
+.lyear-login-box {
+    position: relative;
+    overflow-x: hidden;
+    width: 100%;
+    height: 100%;
+    -webkit-transition: 0.5s;
+    -o-transition: 0.5s;
+    transition: 0.5s;
+}
+.lyear-login-left {
+    width: 50%;
+    top: 0;
+    left: 0;
+    bottom: 0;
+    position: fixed;
+    height: 100%;
+    z-index: 555;
+    background-size: cover;
+    background-repeat: no-repeat;
+    background-position: center center;
+}
+.lyear-overlay {
+    position: absolute;
+    top: 0;
+    bottom: 0;
+    left: 0;
+    right: 0;
+    z-index: 10;
+    background: rgba(0, 0, 0, 0.5);
+}
+.lyear-logo {
+    margin-bottom: 50px;
+}
+.lyear-featured {
+    z-index: 12;
+    position: absolute;
+    bottom: 0;
+    padding: 30px;
+    width: 100%;
+}
+.lyear-featured h4 {
+    color: #fff;
+    line-height: 32px;
+}
+.lyear-featured h4 small {
+    color: #fff;
+    display: block;
+    text-align: right;
+    margin-top: 15px;
+}
+.lyear-login-right {
+    margin-left: 50%;
+    position: relative;
+    z-index: 999;
+    padding: 100px;
+    background-color: #fff;
+}
+@media screen and (max-width: 1024px) {
+.lyear-login-right {
+    padding: 50px;
+}
+}
+@media screen and (max-width: 820px) {
+.lyear-login-left {
+    width: 100%;
+    position: relative;
+    z-index: 999;
+    height: 300px;
+}
+.lyear-login-right {
+    margin-left: 0;
+}
+}
+@media screen and (max-width: 480px) {
+.lyear-login-right {
+    padding: 50px;
+}
+}
+@media screen and (max-width: 320px) {
+.lyear-login-right {
+    padding: 30px;
+}
+}
+</style>
+</head>
+  
+<body>
+<div class="lyear-login-box">
+  <div class="lyear-login-left" style="background-image: url(images/login-bg-4.jpg)">
+    <div class="lyear-overlay"></div>
+    <div class="lyear-featured">
+      <h4>愿你有好运气,如果没有,愿你在不幸中学会慈悲;愿你被很多人爱,如果没有,愿你在寂寞中学会宽容。<small> - 刘瑜《愿你慢慢长大》</small></h4>
+    </div>
+  </div>
+  <div class="lyear-login-right">
+    
+    <div class="lyear-logo text-center"> 
+      <a href="#!"><img src="images/logo-sidebar.png" alt="logo" /></a> 
+    </div>
+    <form action="#!" method="post">
+      <div class="form-group">
+        <label for="username">用户名</label>
+        <input type="text" class="form-control" id="username" placeholder="请输入您的用户名">
+      </div>
+
+      <div class="form-group">
+        <label for="password">密码</label>
+        <input type="password" class="form-control" id="password" placeholder="请输入您的密码">
+      </div>
+
+      <div class="form-group">
+        <label for="captcha">验证码</label>
+        <div class="row">
+          <div class="col-xs-7">
+            <input type="text" name="captcha" id="captcha" class="form-control" placeholder="验证码">
+          </div>
+          <div class="col-xs-5">
+            <img src="images/captcha.png" class="pull-right" id="captcha" style="cursor: pointer;" onclick="this.src=this.src+'?d='+Math.random();" title="点击刷新" alt="captcha">
+          </div>
+        </div>
+      </div>
+      
+      <div class="form-group">
+        <label class="lyear-checkbox checkbox-primary m-t-10">
+          <input type="checkbox" checked=""><span>5天内自动登录</span>
+        </label>
+      </div>
+
+      <div class="form-group">
+        <button class="btn btn-block btn-primary" type="submit">立即登录</button>
+      </div>
+      <footer class="text-center">
+        <p class="m-b-0">Copyright © 2020 <a href="http://lyear.itshubao.com">IT书包</a>. All right reserved</p>
+      </footer>
+    </form>
+    
+  </div>
+</div>
+<script type="text/javascript" src="js/jquery.min.js"></script>
+<script type="text/javascript" src="js/bootstrap.min.js"></script>
+<script type="text/javascript">;</script>
+</body>
+</html>