Free cookie consent management tool by TermsFeed Policy Generator

source: branches/OaaS/HeuristicLab.Services.Optimization.Web/Views/Account/Register.cshtml @ 9582

Last change on this file since 9582 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: 2.0 KB
Line 
1@model HeuristicLab.Services.Optimization.Web.Models.RegisterModel
2
3@{
4    ViewBag.Title = "Register";
5}
6
7<h2>Create a New Account</h2>
8<p>
9    Use the form below to create a new account.
10</p>
11<p>
12    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, "Account creation 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.UserName)
26            </div>
27            <div class="editor-field">
28                @Html.TextBoxFor(m => m.UserName)
29                @Html.ValidationMessageFor(m => m.UserName)
30            </div>
31
32            <div class="editor-label">
33                @Html.LabelFor(m => m.Email)
34            </div>
35            <div class="editor-field">
36                @Html.TextBoxFor(m => m.Email)
37                @Html.ValidationMessageFor(m => m.Email)
38            </div>
39
40            <div class="editor-label">
41                @Html.LabelFor(m => m.Password)
42            </div>
43            <div class="editor-field">
44                @Html.PasswordFor(m => m.Password)
45                @Html.ValidationMessageFor(m => m.Password)
46            </div>
47
48            <div class="editor-label">
49                @Html.LabelFor(m => m.ConfirmPassword)
50            </div>
51            <div class="editor-field">
52                @Html.PasswordFor(m => m.ConfirmPassword)
53                @Html.ValidationMessageFor(m => m.ConfirmPassword)
54            </div>
55
56            <p>
57                <input type="submit" value="Register" />
58            </p>
59        </fieldset>
60    </div>
61}
Note: See TracBrowser for help on using the repository browser.