Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HiveStatistics/sources/HeuristicLab.Services.Hive.Statistics/3.3/Views/Account/Login.cshtml @ 9617

Last change on this file since 9617 was 9617, checked in by pfleck, 11 years ago

#2063:
Started integrating Hive statistics into statistics web project.
Added jqPlot library for charting.

File size: 1.4 KB
Line 
1@model HeuristicLab.Services.Hive.Statistics.Models.LoginModel
2
3@{
4    ViewBag.Title = "Log in";
5}
6
7<h2>Login</h2>
8
9<section id="loginForm">
10@using (Html.BeginForm(new { ReturnUrl = ViewBag.ReturnUrl })) {
11    @Html.AntiForgeryToken()
12    @Html.ValidationSummary(true)
13
14    <fieldset>
15        <legend>Account Information</legend>
16        <ol>
17            <li>@Html.LabelFor(m => m.UserName)</li>
18            <li>
19                @Html.TextBoxFor(m => m.UserName)
20                @Html.ValidationMessageFor(m => m.UserName)
21            </li>
22            <li>@Html.LabelFor(m => m.Password)</li>
23            <li>
24                @Html.PasswordFor(m => m.Password)
25                @Html.ValidationMessageFor(m => m.Password)
26            </li>
27            <li>
28                @Html.CheckBoxFor(m => m.RememberMe)
29                @Html.LabelFor(m => m.RememberMe)
30            </li>
31        </ol>
32        <button>Login</button>
33    </fieldset>
34}
35</section>
36
37@section Styles {
38    @Styles.Render("~/Content/themes/base/css")
39}
40
41@section Scripts {
42    @Scripts.Render("~/bundles/jqueryui")
43    @Scripts.Render("~/bundles/jqueryval")
44
45    <script>
46        $(function() {
47            $("#loginForm button").button({
48                icons: {
49                    primary: "ui-icon-key"
50                }
51            });
52        });
53    </script>
54}
Note: See TracBrowser for help on using the repository browser.