* 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:
2015-10-22 00:39:53 +02:00
parent c466aed242
commit 089a7b3827
5 changed files with 5 additions and 4 deletions

View File

@ -1,5 +1,4 @@
body {
background-color: black;
color: #D0FFD0;
@ -25,7 +24,7 @@ body {
height: 100%;
width: 100%;
background: rgba( 255, 255, 255, .8 )
url('http://i.stack.imgur.com/FhHRx.gif')
url('/images/FhHRx.gif')
50% 50%
no-repeat;
}

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>

View File

@ -442,6 +442,7 @@
<Content Include="App_Themes\sons-of-obsidian.css" />
<Content Include="App_Themes\sunburst.css" />
<Content Include="App_Themes\prettify.css" />
<Content Include="images\FhHRx.gif" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<Import Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" />

BIN
web/images/FhHRx.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB