* TemplateException.cs: * Login.aspx: * Profile.aspx: * WebApiConfig.cs: * MyProfile.aspx: * IValueProvider.cs: * BlogsController.cs: * BasketController.cs: * ModuleController.cs: * AccountController.cs: * TemplateException.cs: * WorkFlowController.cs: * BlogsApiController.cs: * PaypalApiController.cs: * BasketController.cs: * BlogsApiController.cs: * WorkFlowController.cs: * PaypalApiController.cs: * FrontOfficeApiController.cs: * FrontOfficeApiController.cs: refactoring * jquery-ui.js: may be usefull at taking a date * Web.csproj: * WebApiConfig.cs: * App.master: added a spacer for a better rendering * style.css: better style * DateQuery.aspx: may use the jQuery "full calendar" * FreeDate.cs: refactoring
23 lines
980 B
Text
23 lines
980 B
Text
<%@ Page Title="Login" Language="C#" Inherits="System.Web.Mvc.ViewPage<LoginModel>" MasterPageFile="~/Models/App.master" %>
|
|
<asp:Content ContentPlaceHolderID="MainContent" ID="MainContentContent" runat="server">
|
|
<%= Html.ValidationSummary("Ouverture de session") %>
|
|
<% using(Html.BeginForm("Login", "Account")) %>
|
|
<% { %>
|
|
<%= Html.LabelFor(model => model.UserName) %>
|
|
<%= Html.TextBox( "UserName" ) %>
|
|
<%= Html.ValidationMessage("UserName", "*") %><br/>
|
|
|
|
<%= Html.LabelFor(model => model.Password) %>
|
|
<%= Html.Password( "Password" ) %>
|
|
<%= Html.ValidationMessage("Password", "*") %><br/>
|
|
|
|
<%= Html.LabelFor(model => model.RememberMe) %>
|
|
<%= Html.CheckBox("RememberMe") %>
|
|
<%= Html.ValidationMessage("RememberMe", "") %><br/>
|
|
<%= Html.Hidden("returnUrl",ViewData["returnUrl"]) %>
|
|
<!-- Html.AntiForgeryToken() -->
|
|
<input type="submit"/>
|
|
<% } %>
|
|
|
|
<%= Html.ActionLink("S'enregistrer","Register",new {returnUrl=ViewData["returnUrl"]}, new { @class="actionlink" }) %>
|
|
</asp:Content>
|