Updated the html and CSS of the BlogPostSummary page in the admin. Checked changes with W3C validation service. Added status icons.

--HG--
branch : dev
This commit is contained in:
jowall
2010-02-19 13:53:07 -08:00
parent dd9804ce12
commit 5fe62671ad
8 changed files with 22 additions and 22 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 379 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 603 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 379 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 642 B

View File

@@ -7,7 +7,8 @@
</h1>
<%--<form>
<fieldset class="actions bulk">
<div class="actions bulk">
<fieldset>
<label for="filterResults"><%=_Encoded("Filter:")%></label>
<select id="filterResults" name="">
<option value="">All Posts</option>
@@ -15,9 +16,10 @@
</select>
<input class="button" type="submit" name="submit.Filter" value="<%=_Encoded("Apply") %>"/>
</fieldset>
</div>
</form>--%>
<div class="actions"><a href="<%=Url.BlogPostCreate(Model.Item.Slug) %>" class="add button"><%=_Encoded("New Post")%></a></div>
<div class="actions"><a href="<%=Url.BlogPostCreate(Model.Item.Slug) %>" class="add button primaryAction"><%=_Encoded("New Post")%></a></div>
<% Html.Zone("primary");
Html.ZonesAny(); %>

View File

@@ -7,8 +7,8 @@
<%@ Import Namespace="Orchard.Blogs.Extensions"%>
<%@ Import Namespace="Orchard.Blogs.Models"%>
<ul>
<li class="properties">
<div class="blogPost summary">
<div class="properties">
<h3><%=Html.Link(Html.Encode(Model.Item.Title), Url.BlogPostEdit(Model.Item.Blog.Slug, Model.Item.Id))%></h3>
<ul>
@@ -45,9 +45,9 @@
<%=_Encoded("By {0}", Model.Item.Creator.UserName)%>
</li>
</ul>
</li>
</div>
<li class="related">
<div class="related">
<%if (Model.IsPublished){ %>
<a href="<%=Url.BlogPost(Model.Item.Blog.Slug, Model.Item.Slug) %>" title="<%=_Encoded("View Post")%>"><%=_Encoded("View")%></a><%=_Encoded(" | ")%>
@@ -68,7 +68,7 @@
} %>
<br /><%Html.Zone("meta");%>
</li>
</div>
<li style="clear:both;"></li>
</ul>
<div style="clear:both;"></div>
</div>

View File

@@ -464,7 +464,7 @@ button, .button, .button:link, .button:visited {
text-align:center;
padding:0 .8em .1em .8em;
}
.primaryAction{
.primaryAction, .primaryAction:link, .primaryAction:visited {
background:#4687ad;
border:1px solid #8f8f8f;
color:#fff;
@@ -619,7 +619,6 @@ button.ibutton {
margin-left:8px;
margin-right:0;
}
#main .contentItems li:hover { background:#f8f8f8; }
#main .contentItems li:hover .ibutton { background-position:0 0; }
#main .contentItems li:hover .ibutton.remove { background-position:-20px 0; }
#main .contentItems li:hover .ibutton.view { background-position:-40px 0; }
@@ -731,6 +730,10 @@ table.items, textarea, input.text, input.text-box,
/* Added classes for new blog list layout
---------------------------------------------------------- */
.blogPost.summary {
padding:.6em .4em;
}
.actions {
height:auto;
overflow:visible;
@@ -740,28 +743,24 @@ table.items, textarea, input.text, input.text-box,
.contentItems {
padding:0;
}
.contentItems li ul li {
border:0;
background:inherit;
}
li.properties {
.properties {
float:left;
}
#main .contentItems li.properties h3 {
#main .contentItems .properties h3 {
border-bottom:none;
margin:0;
margin:0 0 0 .2em;
padding:0;
}
li.related{
.related{
font-size:1.4em;
float:right;
padding:.4em 0;
text-align:right;
}
li.related .commentcount{
.related .commentcount{
line-height:2em;
}
li.properties ul li{
.contentItems .properties ul li{
border:0;
float:left;
padding:.8em 0;
@@ -769,7 +768,6 @@ li.properties ul li{
background:inherit;
}
.icon {
margin:0 0 -2px 4px;
margin:0 .2em -.2em .2em;
}
.linkButton {