Migrate to bootstrap 4 in LeafWeb

This commit is contained in:
2019-12-06 22:29:15 -05:00
parent f9a452045f
commit 88469b19be
248 changed files with 20293 additions and 21639 deletions
+2 -2
View File
@@ -3,9 +3,9 @@
var link = Model.MacroParameters["Link"];
var title = Model.MacroParameters["Title"];
var description = Model.MacroParameters["Description"];
var glyphicon = Model.MacroParameters["Glyphicon"];
var faicon = Model.MacroParameters["FaIcon"];
}
<a class="banner-link" href="@link">
<h2>@title <span class="glyphicon @glyphicon"></span></h2>
<h2>@title <span class="fa @faicon"></span></h2>
<p>@description</p>
</a>
@@ -16,18 +16,18 @@
<div class="container top-buffer">
<div class="row">
<div class="col-md-7 well">
<div class="col-md-7 card card-body bg-light">
@using (Html.BeginUmbracoForm<UmbLoginController>("HandleLogin"))
{
<fieldset>
@Html.ValidationSummary("loginModel", true)
<div class="form-group">
@Html.LabelFor(m => loginModel.Username, new { @class = "control-label" })
@Html.LabelFor(m => loginModel.Username)
@Html.TextBoxFor(m => loginModel.Username)
@Html.ValidationMessageFor(m => loginModel.Username)
</div>
<div class="form-group">
@Html.LabelFor(m => loginModel.Password, new { @class = "control-label" })
@Html.LabelFor(m => loginModel.Password)
@Html.PasswordFor(m => loginModel.Password)
@Html.ValidationMessageFor(m => loginModel.Password)
</div>