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> </h1>
<%--<form> <%--<form>
<fieldset class="actions bulk"> <div class="actions bulk">
<fieldset>
<label for="filterResults"><%=_Encoded("Filter:")%></label> <label for="filterResults"><%=_Encoded("Filter:")%></label>
<select id="filterResults" name=""> <select id="filterResults" name="">
<option value="">All Posts</option> <option value="">All Posts</option>
@@ -15,9 +16,10 @@
</select> </select>
<input class="button" type="submit" name="submit.Filter" value="<%=_Encoded("Apply") %>"/> <input class="button" type="submit" name="submit.Filter" value="<%=_Encoded("Apply") %>"/>
</fieldset> </fieldset>
</div>
</form>--%> </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.Zone("primary");
Html.ZonesAny(); %> Html.ZonesAny(); %>

View File

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

View File

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