92 lines
3.5 KiB
Plaintext
92 lines
3.5 KiB
Plaintext
|
@model Weee.ViewModels.ResetPasswordViewModel
|
||
|
|
||
|
@section PageStyles {
|
||
|
@Styles.Render("~/account/css")
|
||
|
@Styles.Render("~/bootstrap/css")
|
||
|
<link type="text/css" rel="stylesheet" href="~/Browser_Local/css/home.css" />
|
||
|
<link type="text/css" rel="stylesheet" href="~/Browser_Local/css/html5-doctor-reset-stylesheet.css" />
|
||
|
}
|
||
|
|
||
|
@section PageScripts
|
||
|
{
|
||
|
@Scripts.Render("~/jQuery")
|
||
|
@Scripts.Render("~/bootstrap")
|
||
|
}
|
||
|
|
||
|
@{
|
||
|
Layout = "~/Views/Shared/_Layout.cshtml";
|
||
|
}
|
||
|
@if (ViewData["Message"] != null)
|
||
|
{
|
||
|
<style>
|
||
|
.form-horizontal {
|
||
|
display: none;
|
||
|
}
|
||
|
</style>
|
||
|
}
|
||
|
|
||
|
<div class="col-md-2"></div>
|
||
|
<div class="col-md-8">
|
||
|
@if (ViewBag.SuccessMessage != null)
|
||
|
{
|
||
|
<div class="alert alert-success" style="margin-top: 24px;" role="alert">
|
||
|
@ViewBag.SuccessMessage<b>请重新登入</b>
|
||
|
</div>
|
||
|
}
|
||
|
@if (ViewBag.FailMessage != null)
|
||
|
{
|
||
|
<div class="alert alert-warning" style="margin-top: 24px;" role="alert">
|
||
|
@ViewBag.FailMessage
|
||
|
</div>
|
||
|
}
|
||
|
@if (ViewData["Message"] != null)
|
||
|
{
|
||
|
<div class="alert alert-warning" style="margin-top: 24px;" role="alert">
|
||
|
@ViewData["Message"]
|
||
|
</div>
|
||
|
}
|
||
|
@using (Html.BeginForm())
|
||
|
{
|
||
|
@Html.AntiForgeryToken()
|
||
|
<h1 style="margin-top: 24px;">@Resource.StaticLabelChangePassword</h1>
|
||
|
<hr />
|
||
|
<div class="form-horizontal">
|
||
|
@*<div class="form-group">
|
||
|
@Html.LabelFor(model => model.OriginalPassword, new { @class = "control-label col-md-2" })
|
||
|
<div class="col-md-10">
|
||
|
@Html.PasswordFor(model => model.OriginalPassword, new { @class = "form-control" })
|
||
|
@Html.ValidationMessageFor(model => model.OriginalPassword, null, new { @class = "text-danger" })
|
||
|
</div>
|
||
|
</div>*@
|
||
|
|
||
|
<div class="form-group">
|
||
|
@Html.LabelFor(model => model.NewPassword, new { @class = "control-label col-md-2" })
|
||
|
<div class="col-md-10">
|
||
|
@Html.PasswordFor(model => model.NewPassword, new { @class = "form-control" })
|
||
|
@Html.ValidationMessageFor(model => model.NewPassword, null, new { @class = "text-danger" })
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div class="form-group">
|
||
|
@Html.LabelFor(model => model.NewPassword2, new { @class = "control-label col-md-2" })
|
||
|
<div class="col-md-10">
|
||
|
@Html.PasswordFor(model => model.NewPassword2, new { @class = "form-control" })
|
||
|
@Html.ValidationMessageFor(model => model.NewPassword2, null, new { @class = "text-danger" })
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="form-group">
|
||
|
<div class="col-md-offset-2 col-md-10">
|
||
|
@Html.EditorFor(m => m.UserName, new { htmlAttributes = new { @class = "docs-textbox", @id = "userName", @style = "display: none;", @Value = ViewData["UserName"] } })
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="form-group">
|
||
|
<div class="col-md-offset-2 col-md-10">
|
||
|
<input type="submit" value="@Resource.StaticLabelGlobal_Confirm" class="btn btn-default" />
|
||
|
@Html.ActionLink(Resource.StaticLabelGlobal_Cancel, "index", "profile", new { }, new { @class = "btn btn-default" })
|
||
|
@*@Html.ActionLink(Resource.ReturnToLogin, "index", "home", new { }, new { @class = "btn btn-default" })*@
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
}
|
||
|
</div>
|
||
|
<div class="col-md-2"></div>
|