* Web.config:
* Web.csproj: * Web.config: * Blog.cs: * Index.aspx: * BBCodeHelper.cs: * Comment.cs: * yavscModel.csproj: * BlogEntry.cs: * UserPost.aspx: * UserPosts.aspx: * Estimate.cs: * RemovePost.aspx: * TitleNotFound.aspx: * BlogProvider.cs: * AccountController.cs: * BlogsApiController.cs: * WorkFlowController.cs: * BlogEditEntryModel.cs: * FindBlogEntryFlags.cs: * BlogEntryCollection.cs: * Comment.cs: * BlogEditCommentModel.cs: * NpgsqlBlogProvider.cs: * NpgsqlContentProvider.cs: * BlogEntry.cs: * NpgsqlBlogProvider.csproj: * NpgsqlMembershipProvider.cs: * FindBlogEntryFlags.cs: * BlogEntryCollection.cs: * BlogHelper.cs: refactoring: moving code from NpgsqlBlogProvider to yavscModel.Blogs * BlogManager.cs: NpgsqlBlogProvider/BlogHelper.cs * BlogsController.cs: a successfull confirmed removal * Blog.cs: refactoringvnext
parent
bba917dcc0
commit
9fc7f82531
@ -0,0 +1,28 @@
|
||||
<%@ Page Title="" Language="C#" Inherits="System.Web.Mvc.ViewPage<BlogEntry>" MasterPageFile="~/Models/App.master" %>
|
||||
|
||||
|
||||
<asp:Content ContentPlaceHolderID="titleContent" ID="titleContentContent" runat="server">
|
||||
</asp:Content>
|
||||
<asp:Content ContentPlaceHolderID="head" ID="headContent" runat="server">
|
||||
</asp:Content>
|
||||
<asp:Content ContentPlaceHolderID="header" ID="headerContent" runat="server">
|
||||
</asp:Content>
|
||||
|
||||
<asp:Content ContentPlaceHolderID="MainContent" ID="MainContentContent" runat="server">
|
||||
<form runat="server">
|
||||
<%= Html.ValidationSummary() %>
|
||||
<% using (Html.BeginForm("Remove","Blogs")) { %>
|
||||
suivant :
|
||||
<%= Html.LabelFor(model => model.Title) %>:<br/>
|
||||
<%= Html.TextBox( "Title" ) %>
|
||||
<%= Html.ValidationMessage("Title", "*") %>
|
||||
<label for="confirm">supprimer le billet</label>
|
||||
<input type="checkbox" name="confirm" />
|
||||
<%= Html.ValidationMessage("AgreeToRemove", "*") %>
|
||||
|
||||
<input type="submit"/>
|
||||
<% } %>
|
||||
</form>
|
||||
</asp:Content>
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
using System;
|
||||
using System.Configuration;
|
||||
using System.Configuration.Provider;
|
||||
using System.Collections.Generic;
|
||||
using yavscModel.Blogs;
|
||||
|
||||
namespace Npgsql.Web.Blog.DataModel
|
||||
namespace yavscModel.Blogs
|
||||
{
|
||||
public class BlogEntryCollection : List<BlogEntry>
|
||||
{
|
@ -1,9 +1,8 @@
|
||||
using System;
|
||||
using System.Configuration;
|
||||
using System.Configuration.Provider;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Npgsql.Web.Blog.DataModel
|
||||
namespace yavscModel.Blogs
|
||||
{
|
||||
|
||||
public enum FindBlogEntryFlags : byte {
|
Loading…
Reference in New Issue