Commit ebf03d33 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

More theming on group search, group sideblock, forum pages

parent 9c992dd1
......@@ -8,10 +8,10 @@
{include file="interaction:forum:simplepost.tpl" post=$post groupadmins=$groupadmins nosubject=true}
{/if}
<div class="postbtns">
{if $moderator || ($membership && !$closed)}<a href="{$WWWROOT}interaction/forum/editpost.php?parent={$post->id|escape}" id="btn-reply">{str tag="Reply" section=interaction.forum}</a>{/if}
{if $moderator || ($membership && !$closed)}<a href="{$WWWROOT}interaction/forum/editpost.php?parent={$post->id|escape}" class="btn-reply">{str tag="Reply" section=interaction.forum}</a>{/if}
{if ($moderator || !$closed) && $post->canedit} | {/if}
{if $post->canedit}<a href="{$WWWROOT}interaction/forum/editpost.php?id={$post->id|escape}" id="btn-edit"> {str tag="edit"}</a>{/if}
{if $moderator && $post->parent} | <a href="{$WWWROOT}interaction/forum/deletepost.php?id={$post->id|escape}" id="btn-delete"> {str tag="delete"}</a>{/if}
{if $post->canedit}<a href="{$WWWROOT}interaction/forum/editpost.php?id={$post->id|escape}" class="btn-edit"> {str tag="edit"}</a>{/if}
{if $moderator && $post->parent} | <a href="{$WWWROOT}interaction/forum/deletepost.php?id={$post->id|escape}" class="btn-del"> {str tag="delete"}</a>{/if}
</div>
{/if}
{if $children}
......
......@@ -9,11 +9,13 @@
{/if}
<tr>
<td class="forumpostleft">
<div class="posttime">{$post->ctime}</div>
<div><img src="{$WWWROOT}thumb.php?type=profileicon&amp;maxsize=100&amp;id={$post->poster}" alt=""></div>
<h6><a href="{$WWWROOT}user/view.php?id={$post->poster}"{if in_array($post->poster, $groupadmins)} class="groupadmin"{elseif $post->moderator} class="moderator"{/if}>
{$post->poster|display_name|escape}</a></h6>
<h6>{$post->postcount}</h6></td>
<div class="posttime">{$post->ctime}</div>
<div class="author">
<img src="{$WWWROOT}thumb.php?type=profileicon&amp;maxsize=40&amp;id={$post->poster}" alt="" class="fl">
<p><a href="{$WWWROOT}user/view.php?id={$post->poster}"{if in_array($post->poster, $groupadmins)} class="groupadmin"{elseif $post->moderator} class="moderator"{/if}>{$post->poster|display_name|escape}</a></p>
<p>{$post->postcount}</p>
</div>
</td>
<td class="postedits">{$post->body|clean_html}
{if $post->edit}
<h5>{str tag="editstothispost" section="interaction.forum}</h5>
......
......@@ -86,13 +86,16 @@
border-bottom: 1px solid #f1f1f1;
}
.forumpostleft {
text-align: center;
width: 160px;
border-right: 1px solid #f1f1f1;
}
.forumpostleft h6 {
text-align: center;
.forumpostleft .author p {
color: #999999;
font-weight: bold;
margin: 0;
}
.forumpostleft .author img {
margin: .25em .5em .25em .25em;
}
.posttime {
font-size: .9em;
......@@ -103,6 +106,7 @@
}
.postbtns {
font-size: .9em;
font-weight: bold;
text-align: right;
background-color: #f1f1f1;
border-bottom: 3px solid #d1d1d1;
......
......@@ -220,6 +220,9 @@ td {
.listing {
font-size: .9em;
}
.listing h3, .listing h5 {
margin: 0;
}
/* Informational messages */
#messages {
......@@ -357,8 +360,13 @@ div.sideblock h3 {
padding: 0;
list-style: none;
}
#sb-profile ul {
font-weight: bold;
}
#sb-profile ul ul {
font-size: .9em;
font-weight: normal;
padding-left: 2em;
list-style-type: disc;
}
#changeuser {
......@@ -421,7 +429,7 @@ div.sideblock h3 {
padding: .2em .5em;
text-decoration: none;
}
.btn-del, .btn-msg, .btn-req, .btn-edit, .btn-pending, .btn-leavegroup {
.btn-del, .btn-msg, .btn-req, .btn-edit, .btn-pending, .btn-reply, .btn-leavegroup, .btn-link {
padding-left: 1em;
}
.btn-del, .btn-leavegroup {
......@@ -441,6 +449,9 @@ div.sideblock h3 {
.btn-pending {
background: url(../images/icon-pending.gif) no-repeat left 3px;
}
.btn-reply {
background: url(../images/icon-reply.gif) no-repeat left 4px;
}
input#addfriend_add,
input#myfriends_addfriend_add {
background: transparent url(../images/icon-add.gif) no-repeat left;
......@@ -566,11 +577,12 @@ ul.groupuserstatus li {
ul.groupuserstatus li.last {
border-bottom: none;
}
form#search {
form#search, form#filter {
/* Also applies to Find Friends */
margin-bottom: 1em;
}
/* My Friends */
#friendslist ul.viewlist {
margin: 0;
......@@ -726,24 +738,18 @@ p.progress-text {
/* Group members */
#results .twocolumn form input {
border: none;
font-weight: normal;
font-size: .9em;
line-height: .9em;
}
#results .twocolumn {
font-size: .9em;
}
#results .twocolumn td {
.listing.twocolumn td {
width: 50%;
border: 4px solid #FFF;
}
#results .twocolumn td img {
.listing.twocolumn td img {
margin-right: .5em;
}
#results .twocolumn h3 {
margin: 0;
.listing.twocolumn form input {
border: none;
font-weight: normal;
font-size: .9em;
line-height: .9em;
}
/*
......
......@@ -12,7 +12,7 @@
</form>
{if $membershiptype}<h3>{str tag=pendingmembers section=group}</h3>{/if}
<div id="results">
<table id="membersearchresults" class="tablerenderer fullwidth twocolumn">
<table id="membersearchresults" class="tablerenderer fullwidth listing twocolumn">
<tbody>
{$results}
</tbody>
......
......@@ -56,8 +56,8 @@
{/if}
</ul>
<div class="center">
<a href="{$WWWROOT}?logout" class="btn" id="btn-logout">{str tag="logout"}</a>
<a href="{$WWWROOT}account/" class="btn">{str tag="settings"}</a>
<a href="{$WWWROOT}?logout" class="btn-link" id="btn-logout">{str tag="logout"}</a>
<a href="{$WWWROOT}account/" class="btn-link">{str tag="settings"}</a>
</div>
{if $USERMASQUERADING} <div id="changeuser">{$becomeyouagain}</div>
{/if}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment