@model KeDispatcher.Models.Login
//////
@using (Html.BeginForm(null, null, FormMethod.Post, new { id = "loginForm" }))
{
<div class="wrapper">
<div class="login-area clearfix">
<div class="company-image"><img src="@Url.Content("~/Content/themes/red/images/login-logo.png")" width="296" height="89" /></div>
<div class="login-msg">Please enter UserId and Password</div>
<p></p>
<div class="login-fields">
@Html.TextBoxFor(m => m.userid, new { @class = "user-number", autocomplete = "off" })
<p></p>
@Html.PasswordFor(m => m.password, new { @class = "user-pin" })
</div>
<p></p>
@*<p><img src="/Authentication/ShowCaptchaImage" /></p>*@
@*<p>Please enter the string as shown above:</p>
<p>@Html.TextBox("CaptchaText")</p>*@
<div class="login-buttons clearfix">
@*<span class="change-pin">@Html.ActionLink("Change PIN", "Login", "Authentication", new { onclick = "AlertEditNo();" })</span>*@
<button id="btlogin" class="login-button">Log In</button>
@ViewBag.result
</div>
</div>
@if (!String.IsNullOrEmpty(@ViewBag.result))
{
@:
<script type="text/javascript">alert('@ViewBag.result')</script>
}
@if (!String.IsNullOrEmpty(@ViewBag.result))
{
@:
<script type="text/javascript">alert('@ViewBag.result')</script>
}
<!--Footer Start-->
@*<div class="footer clearfix">
<div class="footer-text">©2015 TPL Trakker All Right Reserved.</div>
</div>*@
<!--Footer End-->
</div>
}