little improvments

* style.css: no max width for panels, it's too abstract for a notion

* RemovePost.aspx: Adds a Title and fixes the action call

* Contact.aspx: cleans the code from totem

* LocalizedText.resx:
* LocalizedText.fr.resx:
* LocalizedText.Designer.cs:
* LocalizedText.fr.Designer.cs: Localizes a "bill removal"
This commit is contained in:
2015-10-22 20:37:41 +02:00
parent 089a7b3827
commit 441a0fed32
9 changed files with 45 additions and 16 deletions

View File

@ -156,7 +156,7 @@ textarea.fullwidth { min-height:10em; }
display:inline;
bottom:0;
}
.panel { max-width: 24em; display:inline-block; }
.panel { display:inline-block; }
.panel,.bshpanel, aside {
background-color: rgba(20,20,20,.8);

View File

@ -1,3 +1,12 @@
2015-10-22 Paul Schneider <paul@pschneider.fr>
* style.css: no max width for panels, it's too abstract for a
notion
* RemovePost.aspx: Adds a Title and fixes the action call
* Contact.aspx: cleans the code from totem
2015-10-20 Paul Schneider <paul@pschneider.fr>
* Web.config:

View File

@ -1,9 +1,9 @@
<%@ Page Title="" Language="C#" Inherits="System.Web.Mvc.ViewPage<BlogEntry>" MasterPageFile="~/Models/App.master" %>
<%@ Page Title="Bill_removal" Language="C#" Inherits="System.Web.Mvc.ViewPage<BlogEntry>" MasterPageFile="~/Models/App.master" %>
<asp:Content ContentPlaceHolderID="MainContent" ID="MainContentContent" runat="server">
<%= Html.ValidationSummary() %>
<% using (Html.BeginForm("RemovePost","Blogs",new {id=Model.Id})) { %>
<% using (Html.BeginForm("RemovePost","Blogs",new {postid=Model.Id})) { %>
<%= Html.LabelFor(model => model.Title) %> :
<%= Html.TextBox( "Title" ) %>

View File

@ -1,6 +1,16 @@
<%@ Page Title="Contact" Language="C#" MasterPageFile="~/Models/App.master" Inherits="System.Web.Mvc.ViewPage" %>
<asp:Content ContentPlaceHolderID="MainContent" ID="MainContentContent" runat="server">
<div class="panel">
<p>
Directeur : <br>
Adresse postale : <br>
Tél. : +33 <br>
Tél. : +33 <br>
SIREN : <br>
SIRET : <br>
Activité Principalement Exercée (APE) : <br>
</p>
<% using (Html.BeginForm("Contact", "Home")) { %>
<fieldset>
<legend>Message</legend>
@ -21,18 +31,7 @@
</p>
</fieldset>
<input type="submit" value="<%=Html.Translate("Submit")%>">
<p>
Directeur : Boudjouraf Brahim<br>
Adresse postale : 29 rue des près, 92 71200 LE CREUSOT<br>
Tél. : +33 6.58.91.36.78<br>
Tél. : +33 6.78.65.36.31<br>
Facebook : Brahms Totem Officiel (Totem Prod)<br>
Twitter : Totem Officiel<br>
Skyblog : Totem-Production.skyrock.com<br>
SIREN : 517 942 991<br>
SIRET : 517 942 991 000 12<br>
Activité Principalement Exercée (APE) : 9329Z Autres activités récréatives et de loisirs<br>
</p>
<% } %>
<% } %>
</div>
</asp:Content>

View File

@ -1,3 +1,10 @@
2015-10-22 Paul Schneider <paul@pschneider.fr>
* LocalizedText.resx:
* LocalizedText.fr.resx:
* LocalizedText.Designer.cs:
* LocalizedText.fr.Designer.cs: Localizes a "bill removal"
2015-10-19 Paul Schneider <paul@pschneider.fr>
* YavscModel.csproj:

View File

@ -268,6 +268,12 @@ namespace Yavsc.Model {
}
}
public static string Bill_removal {
get {
return ResourceManager.GetString("Bill_removal", resourceCulture);
}
}
public static string Modify {
get {
return ResourceManager.GetString("Modify", resourceCulture);

View File

@ -256,6 +256,12 @@ namespace Yavsc.Model {
}
}
public static string Bill_removal {
get {
return ResourceManager.GetString("Bill_removal", resourceCulture);
}
}
public static string Modify {
get {
return ResourceManager.GetString("Modify", resourceCulture);

View File

@ -15,6 +15,7 @@
<data name="access_denied"><value>Accès refusé</value></data>
<data name="Bill_edition"><value>Édition d'un billet</value></data>
<data name="Bill_removal"><value>Suppression d'un billet</value></data>
<data name="Consultant"><value>Consultant</value></data>
<data name="Count"><value>Nombre</value></data>
<data name="Ciffer"><value>Chiffre</value></data>

View File

@ -14,6 +14,7 @@
</resheader>
<data name="access_denied"><value>Access denied</value></data>
<data name="Bill_edition"><value>Bill edition</value></data>
<data name="Bill_removal"><value>Bill removal</value></data>
<data name="Create"><value>Create</value></data>
<data name="Count"><value>Count</value></data>
<data name="Ciffer"><value>Ciffer</value></data>