diff --git a/web/App_Themes/style.css b/web/App_Themes/style.css index 0468f5ec..764bd2b6 100644 --- a/web/App_Themes/style.css +++ b/web/App_Themes/style.css @@ -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; } diff --git a/web/ChangeLog b/web/ChangeLog index c4ca839c..a74a700c 100644 --- a/web/ChangeLog +++ b/web/ChangeLog @@ -1,3 +1,13 @@ +2015-08-05 Paul Schneider + + * 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 * Index.aspx: diff --git a/web/Controllers/BlogsController.cs b/web/Controllers/BlogsController.cs index dfdca21e..c437d0ce 100644 --- a/web/Controllers/BlogsController.cs +++ b/web/Controllers/BlogsController.cs @@ -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); } /// diff --git a/web/Models/App.master b/web/Models/App.master index 8e85dc9e..550d8bad 100644 --- a/web/Models/App.master +++ b/web/Models/App.master @@ -23,7 +23,8 @@ ViewState["orgtitle"] = T.GetString(Page.Title); - "><%= YavscHelpers.SiteName %> - <% + + <% if (ViewData["Error"]!=null) { %>
<%= Html.Encode(ViewData["Error"]) %>
<% } @@ -39,7 +40,7 @@ ViewState["orgtitle"] = T.GetString(Page.Title);
"> - <%=Html.Encode(YavscHelpers.SiteName) %>
+ <%=Html.Encode(YavscHelpers.SiteName) %>
Page d'accueil
<% if (Membership.GetUser()==null) { %>
<%= Html.ActionLink("Authentification", "Login", "Account", new { returnUrl=Request.Url.PathAndQuery },null) %> diff --git a/web/Views/Blogs/UserPost.aspx b/web/Views/Blogs/UserPost.aspx index 0b5cb3a9..802704d1 100644 --- a/web/Views/Blogs/UserPost.aspx +++ b/web/Views/Blogs/UserPost.aspx @@ -6,10 +6,10 @@

<% if (ViewData["Avatar"]!=null) { %> " alt="" id="logo"/> <% } %> -<%= Html.ActionLink(Model.Title,"UserPost", new{user=Model.UserName, title = Model.Title}, new { @class = "usertitleref actionlink" , style="display:block;"}) %> - - <%= 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) %> + - <%= Html.ActionLink((string)ViewData ["BlogTitle"] ,"UserPosts",new{user=Model.UserName}, null) %> - - + - "><%= YavscHelpers.SiteName %>

diff --git a/yavscModel/Blogs/BlogManager.cs b/yavscModel/Blogs/BlogManager.cs index e76d81b1..d1f8fddd 100644 --- a/yavscModel/Blogs/BlogManager.cs +++ b/yavscModel/Blogs/BlogManager.cs @@ -36,7 +36,7 @@ namespace Yavsc.Model.Blogs /// If set to true visible. 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; diff --git a/yavscModel/ChangeLog b/yavscModel/ChangeLog index e8ced8a9..0be30ea0 100644 --- a/yavscModel/ChangeLog +++ b/yavscModel/ChangeLog @@ -1,3 +1,7 @@ +2015-08-05 Paul Schneider + + * BlogManager.cs: fixes the comment posting + 2015-08-04 Paul Schneider * BlogEntryCollection.cs: implement the BlogEntryCollection