+refactoring * instdbws.sql: * BlogsController.cs: * NpgsqlBlogProvider.cs: Implements the note * robots.txt: * Web.config: * Web.csproj: * Catalog.xml: * Global.asax.cs: * pgsql.xcf: * p8-av4.png: * pgsql.jpeg: * logoDev.png: * logoDev.xcf: * debian-pb.gif: * apache_pb.gif: * theme.css: * style.css: * apache_pby.gif: * apache_pbw.gif: * Book.aspx: * jquery-ui.css: * Login.aspx: * debian-powered.png: * BlogManager.cs: * FhHRx.gif: * pgsql.png: * TagControl.ascx: * jquery-ui.min.css: * BlogProvider.cs: * theme.css: * p8-av4.s.jpg: * test-domain-TestAPI.config: * noavatar.png: * p8-av4.xxs.jpg: * apache_pbw.png: * debian-logo.png: * TestCatalogInit.cs: * Mono-powered.png: * helix-nebula-1400x1400.l.jpg: * star-939235_1280.jpg: * animated-overlay.gif: * star-939235_1280.s.jpg: * sign-in-with-google.png: * star-939235_1280.xxs.jpg: * sign-in-with-google-s.png: * helix-nebula-1400x1400.jpg: * helix-nebula-1400x1400.s.jpg: * helix-nebula-1400x1400.xxs.jpg: removes the /images folder from the app root folder, all images are moved to /App_Themes/images
32 lines
1.4 KiB
Plaintext
32 lines
1.4 KiB
Plaintext
<%@ Page Title="Login" Language="C#" Inherits="System.Web.Mvc.ViewPage<LoginModel>" MasterPageFile="~/Models/NoLogin.master" %>
|
|
<asp:Content ContentPlaceHolderID="MainContent" ID="MainContentContent" runat="server">
|
|
<div class="panel">
|
|
<%= 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() %>
|
|
<!-- Html.AntiForgeryToken() -->
|
|
<input type="submit"/>
|
|
<% } %></div>
|
|
<div class="panel">
|
|
<%= Html.ActionLink("S'enregistrer","GetRegister",new {returnUrl=ViewData["returnUrl"]}, new { @class="actionlink" }) %>
|
|
</div>
|
|
<div class="panel">
|
|
<a href="<%= Url.RouteUrl ("Default", new { controller = "Google", action= "Login", returnUrl=ViewData["returnUrl"] }) %>" class="actionlink">
|
|
Identification avec un compte Google
|
|
<img src="/App_Themes/images/sign-in-with-google.png" style="max-height:1.5em; max-width:6em;" alt="Google sign in">
|
|
</a>
|
|
</div>
|
|
</asp:Content> |