refactor: 微调 Admin-LTE 风格登录界面

This commit is contained in:
Argo Zhang 2020-03-18 16:54:48 +08:00
parent 159fa782c0
commit c0b601130b
No known key found for this signature in database
GPG Key ID: 152E398953DDF19F
3 changed files with 21 additions and 4 deletions

View File

@ -16,6 +16,7 @@
</environment>
<link href="~/lib/captcha/slidercaptcha.css" rel="stylesheet" />
<link href="~/css/theme.css" rel="stylesheet" asp-append-version="true" />
<link href="~/css/login-footer.css" rel="stylesheet" asp-append-version="true" />
<link href="~/css/login-lte.css" rel="stylesheet" asp-append-version="true" />
<link href="~/css/login-responsive-lte.css" rel="stylesheet" asp-append-version="true" />
@ -42,7 +43,7 @@
<input id="imgUrl" type="hidden" value="@Model.ImageLibUrl" />
<div class="card">
<div class="card-body login-card-body p-0 pt-5 pb-3">
<h5 class="login-box-msg">XXXX集团有限公司</h5>
<h5 class="login-box-msg">Bootstrap Admin</h5>
<div class="login-logo">@Model.Title</div>
</div>
<div class="card-body">
@ -131,7 +132,7 @@
</div>
<div class="item ml-1 mr-1">
<a href="#" data-toggle="tooltip" title="使用微信扫描登录">
<img class="item" src="~/images/weixin.svg" />
<img class="item" src="~/images/weixin-2.svg" />
</a>
</div>
<div class="item ml-1 mr-1">
@ -159,7 +160,9 @@
</form>
</div>
</div>
</div>
<div class="login-footer-container">
@await Html.PartialAsync("LoginFooter", Model)
</div>
<div class="modal fade" id="dialogNew" tabindex="-1" role="dialog" data-backdrop="static" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered modal-lg" role="document">

View File

@ -1,11 +1,12 @@
@model LoginModel
<div class="login-footer" asp-condition="@Model.IsDemo">
<ui class="login-footer-body">
<li><a href="https://ba.sdgxgz.com"><i class="fa fa-copyright"></i> Bootstrap Admin</a></li>
<li><a href="https://gitee.com/LongbowEnterprise" target="_blank"><i class="fa fa-copyright"></i> Bootstrap Admin</a></li>
<li><a href="https://gitee.com/LongbowEnterprise/BootstrapAdmin/wikis" target="_blank">帮助文档</a></li>
<li><a href="~/Account/Login?View=Login">系统默认</a></li>
<li><a href="~/Account/Login?View=Login-Gitee">高仿码云</a></li>
<li><a href="~/Account/Login?View=Login-Blue">蓝色简约</a></li>
<li><a href="~/Account/Login?View=Login-Tec">科技动感</a></li>
<li><a href="~/Account/Login?View=Login-LTE">Admin-LTE</a></li>
</ui>
</div>

View File

@ -179,3 +179,16 @@
.login-wrap .btn-sms {
width: 140px;
}
.login-footer-container {
position: absolute;
bottom: 40px;
display: flex;
justify-content: center;
width: 100%;
}
.login-footer-container .login-footer {
position: relative;
bottom: 0;
}