* style.css: the style changes ...
* BlogsController.cs: Fixes the comment posting * App.master: Don't hide the Home page link! TODO: a logo * UserPost.aspx: don't hide the blog title * BlogManager.cs: fixes the comment posting
This commit is contained in:
@ -20,8 +20,10 @@ input, textarea, checkbox {
|
||||
}
|
||||
|
||||
main {
|
||||
margin:1em;
|
||||
margin: .5em;
|
||||
padding: .5em;
|
||||
background-color: rgba(64,64,64,0.6);
|
||||
border-radius:10px;
|
||||
}
|
||||
fieldset {
|
||||
background-color: rgba(32,16,16,0.8);
|
||||
@ -63,7 +65,7 @@ footer {
|
||||
|
||||
.panel,.bshpanel,aside {
|
||||
background-color: rgba(32,16,16,0.8);
|
||||
border-radius:5px; border: solid 1px #000060;
|
||||
border-radius:5px;
|
||||
margin:.5em;
|
||||
padding: .5em;
|
||||
}
|
||||
@ -71,7 +73,7 @@ footer {
|
||||
.bsh { float: right; }
|
||||
|
||||
#login {
|
||||
background-color: rgba(32,0,0,.5);
|
||||
background-color: rgba(32,0,0,.5);
|
||||
position: fixed;
|
||||
margin:0em;
|
||||
padding:0em;
|
||||
@ -98,6 +100,7 @@ a {
|
||||
text-decoration: none;
|
||||
color: #B0B080;
|
||||
background-color:rgba(20,0,20,0.5);
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
@ -143,7 +146,6 @@ label {
|
||||
display:block;
|
||||
margin:1em;
|
||||
padding:1em;
|
||||
border: solid 2px blue;
|
||||
background-color: #090609;
|
||||
color: #aaa;
|
||||
border-radius:5px;
|
||||
@ -171,7 +173,6 @@ usertitleref {
|
||||
|
||||
.actionlink {
|
||||
color: #B0B080;
|
||||
border: solid 1px rgb(128,128,128);
|
||||
border-radius: 5px;
|
||||
background-color:rgba(0,0,32,0.8);
|
||||
cursor: pointer;
|
||||
@ -192,7 +193,6 @@ a.actionlink img { top:4px; }
|
||||
|
||||
.actionlink:hover {
|
||||
background-color:rgba(30,0,124,0.9);
|
||||
border : solid 1px white;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
@ -210,9 +210,6 @@ a.actionlink img { top:4px; }
|
||||
|
||||
.comment {
|
||||
border-radius:25px;
|
||||
border-width:1px;
|
||||
border-style: solid;
|
||||
border-color:rgb(0,64,0);
|
||||
font-size: smaller;
|
||||
}
|
||||
|
||||
|
@ -1,3 +1,13 @@
|
||||
2015-08-05 Paul Schneider <paul@pschneider.fr>
|
||||
|
||||
* style.css: the style changes ...
|
||||
|
||||
* BlogsController.cs: Fixes the comment posting
|
||||
|
||||
* App.master: Don't hide the Home page link! TODO: a logo
|
||||
|
||||
* UserPost.aspx: don't hide the blog title
|
||||
|
||||
2015-08-05 Paul Schneider <paul@pschneider.fr>
|
||||
|
||||
* Index.aspx:
|
||||
|
@ -171,7 +171,7 @@ namespace Yavsc.Controllers
|
||||
ViewData ["BlogUserProfile"] = pr;
|
||||
ViewData ["Avatar"] = pr.avatar;
|
||||
ViewData ["BlogTitle"] = pr.BlogTitle;
|
||||
return View (c);
|
||||
return View ("UserPost",c);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
@ -23,7 +23,8 @@ ViewState["orgtitle"] = T.GetString(Page.Title);
|
||||
<span> -
|
||||
<a href="<%=Request.Url.Scheme + "://" + Request.Url.Authority%>"><%= YavscHelpers.SiteName %></a>
|
||||
</span></h1>
|
||||
</asp:ContentPlaceHolder><asp:ContentPlaceHolder ID="header" runat="server"></asp:ContentPlaceHolder><%
|
||||
</asp:ContentPlaceHolder>
|
||||
<asp:ContentPlaceHolder ID="header" runat="server"></asp:ContentPlaceHolder><%
|
||||
if (ViewData["Error"]!=null) {
|
||||
%><div class="error"><%= Html.Encode(ViewData["Error"]) %>
|
||||
</div><% }
|
||||
@ -39,7 +40,7 @@ ViewState["orgtitle"] = T.GetString(Page.Title);
|
||||
</asp:ContentPlaceHolder>
|
||||
<div id="login" ><span class="ohinside">
|
||||
<a href="<%= Url.Content("~/")%>">
|
||||
<span class="c2"><%=Html.Encode(YavscHelpers.SiteName) %></span></a><br/>
|
||||
<span ><%=Html.Encode(YavscHelpers.SiteName) %></span></a><br/>
|
||||
<span class="onhover">Page d'accueil<br/></span></span>
|
||||
<% if (Membership.GetUser()==null) { %>
|
||||
<div class="ohinside"><%= Html.ActionLink("Authentification", "Login", "Account", new { returnUrl=Request.Url.PathAndQuery },null) %>
|
||||
|
@ -6,10 +6,10 @@
|
||||
<h1 class="blogtitle"><% if (ViewData["Avatar"]!=null) { %>
|
||||
<img src="<%=ViewData["Avatar"]%>" alt="" id="logo"/>
|
||||
<% } %>
|
||||
<%= Html.ActionLink(Model.Title,"UserPost", new{user=Model.UserName, title = Model.Title}, new { @class = "usertitleref actionlink" , style="display:block;"}) %>
|
||||
<span class="c2"> - <%= Html.ActionLink((string)ViewData ["BlogTitle"] ,"UserPosts",new{user=Model.UserName}, new { @class = "usertitleref actionlink" , style="display:block;"}) %>
|
||||
<%= Html.ActionLink(Model.Title,"UserPost", new{user=Model.UserName, title = Model.Title}, null) %>
|
||||
<span> - <%= Html.ActionLink((string)ViewData ["BlogTitle"] ,"UserPosts",new{user=Model.UserName}, null) %>
|
||||
</span>
|
||||
<span class="c3"> -
|
||||
<span> -
|
||||
<a href="<%=Request.Url.Scheme + "://" + Request.Url.Authority%>"><%= YavscHelpers.SiteName %></a>
|
||||
</span>
|
||||
</h1>
|
||||
|
@ -36,7 +36,7 @@ namespace Yavsc.Model.Blogs
|
||||
/// <param name="visible">If set to <c>true</c> visible.</param>
|
||||
public static void Comment (string from, long postid, string content, bool visible)
|
||||
{
|
||||
provider.Comment (from, postid, content);
|
||||
Provider.Comment (from, postid, content);
|
||||
}
|
||||
|
||||
static BlogProvider provider;
|
||||
|
@ -1,3 +1,7 @@
|
||||
2015-08-05 Paul Schneider <paul@pschneider.fr>
|
||||
|
||||
* BlogManager.cs: fixes the comment posting
|
||||
|
||||
2015-08-04 Paul Schneider <paul@pschneider.fr>
|
||||
|
||||
* BlogEntryCollection.cs: implement the BlogEntryCollection
|
||||
|
Reference in New Issue
Block a user