* web/Views/Blogs/Index.aspx: fixes the presentation

* web/Views/Home/Index.aspx: Fixes the Home page

* web/images/FhHRx.gif:
* web/App_Themes/style.css:
* web/Web.csproj: Makes the Ajax loading gif a local resource
This commit is contained in:
Paul Schneider 2015-10-22 00:39:53 +02:00
commit 089a7b3827
5 changed files with 5 additions and 4 deletions

View file

@ -4,12 +4,14 @@
<div>
<% foreach (var g in Model.GroupByTitle()) { %>
<div class="panel">
<h2><a href="<%= Url.RouteUrl("Titles", new { title = g.Key }) %>" class="usertitleref"><%=Html.Encode(g.Key)%></a></h2>
<% foreach (var p in g) { %>
<div class="postpreview">
<p><%= Html.Markdown(p.Intro,"/bfiles/"+p.Id+"/") %></p>
<%= Html.Partial("PostActions",p)%>
</div> <% } %>
</div>
<% } %>
</div>
<%= Html.RenderPageLinks((int)ViewData["PageIndex"],(int)ViewData["PageSize"],(int)ViewData["ResultCount"])%>

View file

@ -1,8 +1,7 @@
<%@ Page Title="Home" Language="C#" Inherits="System.Web.Mvc.ViewPage" MasterPageFile="~/Models/App.master"%>
<asp:Content ContentPlaceHolderID="MainContent" ID="MainContentContent" runat="server">
<%= Html.Partial("TagPanel",ViewData["Accueil"]) %>
<%= Html.Partial("TagPanel",ViewData["Actualités"]) %>
<%= Html.Partial("TagPanel",ViewData["Artistes"]) %>
<%= Html.Partial("TagPanel",ViewData["Événements"]) %>
<%= Html.Partial("TagPanel",ViewData["Mentions légales"]) %>
</asp:Content>