重构代码:登录相关页面移除命名空间直接使用ModelBase

This commit is contained in:
Argo-MacBookPro 2018-08-26 14:40:24 +08:00
parent ba397352e8
commit f1c0fdcf8d
4 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
@model Bootstrap.Admin.Models.ModelBase
@model ModelBase
@{
ViewBag.Title = Model.Title;
Layout = "~/Views/Shared/_Login.cshtml";

View File

@ -1,4 +1,4 @@
@model Bootstrap.Admin.Models.ModelBase
@model ModelBase
@{
ViewBag.Title = Model.Title;
Layout = "~/Views/Shared/_Login.cshtml";

View File

@ -1,4 +1,4 @@
@model Bootstrap.Admin.Models.ModelBase
@model ModelBase
<h2 class="form-signin-heading">@Model.Title</h2>
<div class="login-wrap" data-toggle="LgbValidate" data-valid-button="#btnSubmit">
<div class="form-group">
@ -19,10 +19,10 @@
</div>
<div class="form-group">
<div class="form-check">
<input id="remember" name="remember" type="checkbox" class="form-check-input" value="true" /><label for="remember" class="form-check-label">记住我</label>
<input name="remember" type="checkbox" class="form-check-input" value="true" /><label for="remember" class="form-check-label">记住我</label>
</div>
</div>
<button class="btn btn-lg btn-login btn-block" type="submit" id="btnSubmit">登 陆</button>
<button class="btn btn-lg btn-login btn-block" type="submit">登 陆</button>
<div class="login-footer">
<div class="login-create"><a href="Register">申请账号</a></div>
<div class="login-reset"><a href="#">忘记密码</a></div>

View File

@ -1,4 +1,4 @@
@model Bootstrap.Admin.Models.ModelBase
@model ModelBase
@{
ViewBag.Title = Model.Title;
Layout = "~/Views/Shared/_Root.cshtml";