Last change
on this file since 8384 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.5 KB
|
Line | |
---|
1 | @model HeuristicLab.Services.Optimization.Web.Models.LogOnModel
|
---|
2 |
|
---|
3 | @{
|
---|
4 | ViewBag.Title = "Log On";
|
---|
5 | }
|
---|
6 |
|
---|
7 | <h2>Log On</h2>
|
---|
8 | <p>
|
---|
9 | Please enter your user name and password. <!--@Html.ActionLink("Register", "Register") if you don't have an account.-->
|
---|
10 | </p>
|
---|
11 |
|
---|
12 | <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
|
---|
13 | <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
|
---|
14 |
|
---|
15 | @Html.ValidationSummary(true, "Login was unsuccessful. Please correct the errors and try again.")
|
---|
16 |
|
---|
17 | @using (Html.BeginForm()) {
|
---|
18 | <div>
|
---|
19 | <fieldset>
|
---|
20 | <legend>Account Information</legend>
|
---|
21 |
|
---|
22 | <div class="editor-label">
|
---|
23 | @Html.LabelFor(m => m.UserName)
|
---|
24 | </div>
|
---|
25 | <div class="editor-field">
|
---|
26 | @Html.TextBoxFor(m => m.UserName)
|
---|
27 | @Html.ValidationMessageFor(m => m.UserName)
|
---|
28 | </div>
|
---|
29 |
|
---|
30 | <div class="editor-label">
|
---|
31 | @Html.LabelFor(m => m.Password)
|
---|
32 | </div>
|
---|
33 | <div class="editor-field">
|
---|
34 | @Html.PasswordFor(m => m.Password)
|
---|
35 | @Html.ValidationMessageFor(m => m.Password)
|
---|
36 | </div>
|
---|
37 |
|
---|
38 | <div class="editor-label">
|
---|
39 | @Html.CheckBoxFor(m => m.RememberMe)
|
---|
40 | @Html.LabelFor(m => m.RememberMe)
|
---|
41 | </div>
|
---|
42 |
|
---|
43 | <p>
|
---|
44 | <input type="submit" value="Log On" />
|
---|
45 | </p>
|
---|
46 | </fieldset>
|
---|
47 | </div>
|
---|
48 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.