Free cookie consent management tool by TermsFeed Policy Generator

source: branches/OaaS/HeuristicLab.Services.Optimization.Web/Views/Account/ChangePassword.cshtml @ 9395

Last change on this file since 9395 was 8384, checked in by fschoepp, 12 years ago

#1888:

  • Created a project which contains the back-end controller for the Optimization WebSite
  • Added a WCF-back-end-controller which generates all available optimization problems (currently in-memory solution: PlaceholderControllerService.cs)
  • Created a WebRole using ASP.NET MVC 3 for the Optimization Web Site
  • WebSite authenticates users with the HeuristicLab.Authentication membership provider and database
  • WebSite crawls and displays all available optimization scenarios by using the WCF-back-end controller (test with: http://localhost:.../optimization)
File size: 1.8 KB
Line 
1@model HeuristicLab.Services.Optimization.Web.Models.ChangePasswordModel
2
3@{
4    ViewBag.Title = "Change Password";
5}
6
7<h2>Change Password</h2>
8<p>
9    Use the form below to change your password.
10</p>
11<p>
12    New passwords are required to be a minimum of @Membership.MinRequiredPasswordLength characters in length.
13</p>
14
15<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
16<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
17
18@using (Html.BeginForm()) {
19    @Html.ValidationSummary(true, "Password change was unsuccessful. Please correct the errors and try again.")
20    <div>
21        <fieldset>
22            <legend>Account Information</legend>
23
24            <div class="editor-label">
25                @Html.LabelFor(m => m.OldPassword)
26            </div>
27            <div class="editor-field">
28                @Html.PasswordFor(m => m.OldPassword)
29                @Html.ValidationMessageFor(m => m.OldPassword)
30            </div>
31
32            <div class="editor-label">
33                @Html.LabelFor(m => m.NewPassword)
34            </div>
35            <div class="editor-field">
36                @Html.PasswordFor(m => m.NewPassword)
37                @Html.ValidationMessageFor(m => m.NewPassword)
38            </div>
39
40            <div class="editor-label">
41                @Html.LabelFor(m => m.ConfirmPassword)
42            </div>
43            <div class="editor-field">
44                @Html.PasswordFor(m => m.ConfirmPassword)
45                @Html.ValidationMessageFor(m => m.ConfirmPassword)
46            </div>
47
48            <p>
49                <input type="submit" value="Change Password" />
50            </p>
51        </fieldset>
52    </div>
53}
Note: See TracBrowser for help on using the repository browser.