84 lines
3.5 KiB
Plaintext
84 lines
3.5 KiB
Plaintext
@using EnVisage.Code
|
|
@model EnVisage.Models.ForgotPasswordModel
|
|
@{
|
|
Layout = "";
|
|
}
|
|
<!DOCTYPE html>
|
|
<!--[if IE 9]> <html class="ie9 gt-ie8"> <![endif]-->
|
|
<!--[if gt IE 9]><!-->
|
|
<html class="gt-ie8 gt-ie9 not-ie">
|
|
<!--<![endif]-->
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
|
<title>Forgot Password - Prevu</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
|
|
<link href="//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,400,600,700,300&subset=latin" rel="stylesheet" type="text/css">
|
|
@Styles.Render(String.Format("{0}/{1}", Constants.C_BUNDLE_STYLES_BASE_PATH, "prevu-commonstyles"))
|
|
@Styles.Render(String.Format("{0}/{1}", Constants.C_BUNDLE_STYLES_BASE_PATH, "prevu-accountstyles"))
|
|
@Scripts.Render("~/Scripts/jquery-2.0.3.min.js")
|
|
</head>
|
|
<body class="theme-default page-signup">
|
|
<!-- Page background -->
|
|
<div id="page-signup-bg">
|
|
<!-- Background overlay -->
|
|
<div class="overlay"></div>
|
|
<!-- Replace this with your bg image -->
|
|
<img src="~/Content/images/signin-bg-1.jpg" alt="">
|
|
</div>
|
|
<!-- / Page background -->
|
|
<!-- Container -->
|
|
<div class="signup-container">
|
|
<!-- Header -->
|
|
<div class="signup-header">
|
|
<span class="logo">
|
|
<img src="~/Content/images/prevu-m.png" alt="">
|
|
</span>
|
|
<!-- / .logo -->
|
|
</div>
|
|
<!-- / Header -->
|
|
<!-- Form -->
|
|
<div class="signup-form">
|
|
@using (Html.BeginForm("ForgotPassword", "Account", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
|
|
{
|
|
@Html.AntiForgeryToken()
|
|
if (!Model.Sent)
|
|
{
|
|
<div class="signup-text">
|
|
<span>Enter your email address</span>
|
|
</div>
|
|
@Html.ValidationSummary(true)
|
|
<div class="form-group w-icon">
|
|
@Html.TextBoxFor(m => m.Email, new {@class = "form-control input-lg", @placeholder = "Email", @id = "username_id"})
|
|
<span class="fa fa-user signup-form-icon"></span>
|
|
@Html.ValidationMessageFor(m => m.Email)
|
|
</div>
|
|
|
|
<div class="form-group" style="margin-bottom: 20px;">
|
|
<label class="checkbox-inline">
|
|
@Html.ActionLink("Back to login page", "Login", "Account")
|
|
</label>
|
|
</div>
|
|
|
|
<div class="form-actions">
|
|
<input type="submit" value="Send" class="signup-btn bg-primary" id="btnSubmit">
|
|
</div>
|
|
}
|
|
else
|
|
{
|
|
<div class="signup-text">
|
|
<span>An email was sent to @Model.Email address - use the link in the email to access the reset password form.</span>
|
|
</div>
|
|
<div class="form-group" style="margin-bottom: 20px;">
|
|
<label class="checkbox-inline">
|
|
@Html.ActionLink("Back to login page", "Login", "Account")
|
|
</label>
|
|
</div>
|
|
}
|
|
}
|
|
</div>
|
|
</div>
|
|
|
|
@Scripts.Render(String.Format("{0}/{1}", Constants.C_BUNDLE_SCRIPTS_BASE_PATH, "platform-pixeladmin"))
|
|
</body>
|
|
</html> |