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