
* Index.aspx: * Title.aspx: * YavscModel.csproj: * BlogEntry.cs: * yavsc.scrollnotif.js: * AccountController.cs: * BlogEntryCollection.cs: refactoring * yavsc.tags.js: Implements a js call to the tag & untag methods * PostActions.ascx: a better html structure * BasePost.cs: refactoring: allows the "PostActions" user control to use a common base object as post reference * NpgsqlBlogProvider.cs: implements the tag methods on db * ResultPages.cs: A multi-pages result meta info when one page only * yavsc.circles.js: * AccountController.cs: code formatting * BlogsController.cs: Untag a post * style.css: yastyle, yet a better one. * BlogsController.cs: View the Title after edition * App.master: * UserPosts.aspx: a nicer html structure * yavsc.js: Fixes notice & dimiss js * Login.aspx: refactoring * Edit.aspx: better html * UserPost.aspx: A promess to be allowed to tag. * Web.csproj: Adds yavsc.tags.js and yavsc.scrollnotifs.js to the project decription. * BlogManager.cs: Makes the blog manager expose of the new `UnTag` method * BlogProvider.cs: introduces a method to `untag` * FindBlogEntryFlags.cs: Find post entry by tag * LocalizedText.resx: * LocalizedText.Designer.cs: new translations: - "Tag" - "Edit" * LocalizedText.fr.resx: * LocalizedText.fr.Designer.cs: nouvelles traductions: - "Tag" - "Edit" * Profile.cs: a nicer stack trace at buggy usage
31 lines
1.4 KiB
Plaintext
31 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() -->
|
|
<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="<%=Request.Url.Scheme + "://" + Request.Url.Authority + "/Google/Login"%>?returnUrl=<%=ViewData["returnUrl"]==null?Request.Url.PathAndQuery:(string)ViewData["returnUrl"]%>" class="actionlink">
|
|
Identification avec un compte Google
|
|
<img src="/images/sign-in-with-google.png" style="max-height:1.5em; max-width:6em;" alt="Google sign in">
|
|
</a>
|
|
</div>
|
|
</asp:Content> |