You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
executaveis/GCI.PortalCondomino/Views/Account/ResetPassword.cshtml

102 lines
5.6 KiB
Plaintext

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

@using GCI.PortalCondomino.Models
@model ChangePasswordModel
@{
ViewBag.Title = "Alteração de password";
Layout = "";
}
<!doctype html>
<html lang="pt">
<head>
<meta charset="utf-8">
<title>Denariu - Área de cliente</title>
<meta name="title" content="Denariu - Administração de Condomínios e Serviços, Lda.">
<meta name="description" content="Área reservada a clientes Denariu.">
<meta name="author" content="Denariu">
<meta name="robots" content="NOINDEX, NOFOLLOW">
<link href="~/Content/images/favicon.ico" rel="shortcut icon">
<!-- CSS STYLES AND FONTS -->
<link href="https://fonts.googleapis.com/css?family=Oswald:500|Source+Sans+Pro:300,400,700" rel="stylesheet">
<link href="~/Content/css/styles.min.css" rel="stylesheet" media="screen">
@Scripts.Render("~/bundles/modernizr")
<!-- FOR MOBILE DEVICES-->
<meta name="viewport" content="width=device-width">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<![endif]-->
</head>
<body class="backoffice">
<div class="container">
<section>
@using (Html.BeginForm("ResetPassword", "Account", new { ReturnUrl = ViewBag.ReturnUrl }, FormMethod.Post, new { role = "form", lpformnum = "1" }))
{
@Html.AntiForgeryToken()
if (!string.IsNullOrEmpty(ViewBag.Feedback))
{
if (ViewBag.Feedback == "OK")
{
<h4 class="oswald mt0 mb40 ac" style="color: #98dd22;">Password alterada com sucesso!</h4>
}
else
{
<h4 class="oswald mt0 mb40 ac" style="color: #98dd22;">@ViewBag.Feedback</h4>
}
}
<div class="col-md-4 col-md-offset-4">
<div class="panel panel-default">
<div class="panel-heading ac">
<img src="~/Content/images/logotipo.png" class="mt20">
<h3 class="panel-title mt10 mb10">Recuperação de password</h3>
</div>
</div>
<div class="panel-body">
@if (!ViewData.ModelState.IsValid)
{
<div class="alert alert-danger" role="alert">
@Html.ValidationMessage("")
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
</div>
}
<fieldset>
<div class="form-group">
@Html.EditorFor(model => model.Replacement, new { htmlAttributes = new { @class = "form-control", placeholder = "Nova password", name = "replacement", type = "password", autofocus = "", autocomplete = "off", required = "", style = "background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAASCAYAAABSO15qAAAAAXNSR0IArs4c6QAAAPhJREFUOBHlU70KgzAQPlMhEvoQTg6OPoOjT+JWOnRqkUKHgqWP4OQbOPokTk6OTkVULNSLVc62oJmbIdzd95NcuGjX2/3YVI/Ts+t0WLE2ut5xsQ0O+90F6UxFjAI8qNcEGONia08e6MNONYwCS7EQAizLmtGUDEzTBNd1fxsYhjEBnHPQNG3KKTYV34F8ec/zwHEciOMYyrIE3/ehKAqIoggo9inGXKmFXwbyBkmSQJqmUNe15IRhCG3byphitm1/eUzDM4qR0TTNjEixGdAnSi3keS5vSk2UDKqqgizLqB4YzvassiKhGtZ/jDMtLOnHz7TE+yf8BaDZXA509yeBAAAAAElFTkSuQmCC'); background-repeat: no-repeat; background-attachment: scroll; background-size: 16px 18px; background-position: 98% 50%;" } })
</div>
<div class="form-group">
@Html.EditorFor(model => model.Confirmation, new { htmlAttributes = new { @class = "form-control", placeholder = "Confirmação", name = "confirmation", type = "password", autocomplete = "off", required = "", style = "background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAASCAYAAABSO15qAAAAAXNSR0IArs4c6QAAAPhJREFUOBHlU70KgzAQPlMhEvoQTg6OPoOjT+JWOnRqkUKHgqWP4OQbOPokTk6OTkVULNSLVc62oJmbIdzd95NcuGjX2/3YVI/Ts+t0WLE2ut5xsQ0O+90F6UxFjAI8qNcEGONia08e6MNONYwCS7EQAizLmtGUDEzTBNd1fxsYhjEBnHPQNG3KKTYV34F8ec/zwHEciOMYyrIE3/ehKAqIoggo9inGXKmFXwbyBkmSQJqmUNe15IRhCG3byphitm1/eUzDM4qR0TTNjEixGdAnSi3keS5vSk2UDKqqgizLqB4YzvassiKhGtZ/jDMtLOnHz7TE+yf8BaDZXA509yeBAAAAAElFTkSuQmCC'); background-repeat: no-repeat; background-attachment: scroll; background-size: 16px 18px; background-position: 98% 50%;" } })
</div>
</fieldset>
<input type="hidden" id="current" name="current" class="form-control" value="@(Model.Current)" autocomplete="off" required />
@if (ViewBag.Feedback == "OK")
{
<a class="btn btn-lg btn-primary btn-block" href="@Url.Action("Login", "Account", new { id = UrlParameter.Optional })">LOGIN</a>
}
else
{
<button type="submit" class="btn btn-lg btn-primary btn-block">Gravar</button>
}
</div>
</div>
}
</section>
</div>
@Scripts.Render("~/bundles/jquery")
@Scripts.Render("~/bundles/bootstrap")
@Scripts.Render("~/bundles/jqueryval")
</body>
</html>