EnVisageOnline/Main-RMO/Source/EnVisage/Views/Account/RestorePassword.cshtml

109 lines
4.7 KiB
Plaintext

@model EnVisage.Models.RestorePasswordModel
@{
Layout = "";
}
<!DOCTYPE html>
<!--[if IE 8]> <html class="ie8"> <![endif]-->
<!--[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">
<!-- Open Sans font from Google CDN -->
<link href="//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,400,600,700,300&subset=latin" rel="stylesheet" type="text/css">
<!-- Pixel Admin's stylesheets -->
<link href="~/Content/stylesheets/bootstrap.min.css" rel="stylesheet" type="text/css">
<link href="~/Content/stylesheets/pixel-admin.css" rel="stylesheet" type="text/css">
<link href="~/Content/stylesheets/pages.min.css" rel="stylesheet" type="text/css">
<link href="~/Content/stylesheets/rtl.css" rel="stylesheet" type="text/css">
<link href="~/Content/stylesheets/themes.css" rel="stylesheet" type="text/css">
<link href="~/Content/stylesheets/Site.css" rel="stylesheet" type="text/css">
<!--[if lt IE 9]>
<script src="~/Scripts/ie.min.js"></script>
<![endif]-->
</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="">&nbsp;
</span>
<!-- / .logo -->
</div>
<!-- / Header -->
<!-- Form -->
<div class="signup-form">
@using (Html.BeginForm("RestorePassword", "Account", FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
{
@Html.HiddenFor(t=>t.Token)
@Html.AntiForgeryToken()
if (!Model.Restored)
{
<div class="signup-text">
<span>Enter new password</span>
</div>
@Html.ValidationSummary(true)
<div class="form-group w-icon">
@Html.PasswordFor(m => m.Password, new { @class = "form-control input-lg", @placeholder = "Password"})
<span class="fa fa-lock signup-form-icon"></span>
@Html.ValidationMessageFor(m => m.Password)
</div>
<div class="form-group w-icon">
@Html.PasswordFor(m => m.ConfirmPassword, new { @class = "form-control input-lg", @placeholder = "Password confirmation"})
<span class="fa fa-lock signup-form-icon"></span>
@Html.ValidationMessageFor(m => m.ConfirmPassword)
</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="Submit" class="signup-btn bg-primary" id="btnSubmit">
</div>
}
else
{
<div class="signup-text">
<span>Password has been successfully changed.</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>
<!-- Get jQuery from Google CDN -->
<!--[if !IE]> -->
<script type="text/javascript"> window.jQuery || document.write('<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js">' + "<" + "/script>"); </script>
<!-- <![endif]-->
<!--[if lte IE 9]>
<script type="text/javascript"> window.jQuery || document.write('<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js">'+"<"+"/script>"); </script>
<![endif]-->
<!-- Pixel Admin's javascripts -->
<script src="~/Scripts/bootstrap.js"></script>
<script src="~/Scripts/pixel-admin.js"></script>
</body>
</html>