Commit bd0eed54 authored by Evonne Cheung's avatar Evonne Cheung Committed by Hugh Davenport
Browse files

Theme update for blocktypes



Responsive theme

Bug #1041645

Change-Id: Ibea534518615610773776a301f1b19259e0d0969
Signed-off-by: default avatarHugh Davenport <hugh@catalyst.net.nz>
parent a0937634
......@@ -8,7 +8,7 @@
<p>
<a href="http://www.roytanck.com">Roy Tanck</a>'s Flickr Widget requires Flash Player 9 or better.</p>
</object>
<span style="font-size:9px;"><a href="http://www.roytanck.com">roytanck.com</a></span>
<span class="s"><a href="http://www.roytanck.com">roytanck.com</a></span>
</div>
{else}
{str tag=noimagesfound section=artefact.file}
......
{if $images}
<div class="slideshow" id="slideshow{$instanceid}">
<table class="images">
<table class="images fullwidth">
<tr>
<td class="control">
<span class="first hidden">&laquo;</span>
......
<div class="thumbnails">
{foreach from=$images item=image}
<span style="float:left;{if $frame} padding:0.3em;{/if}">
<span style="float:left;{if $frame} padding: 3px;{/if}">
<a rel="{$image.slimbox2}" href="{$image.link}" title="{$image.title}" target="_blank">
<img src="{$image.source}" alt="{$image.title}" title="{$image.title}" width="{$width}" height="{$width}" {if $frame}class="frame"{/if}/>
</a>
</span>
{/foreach}
<div class="cb"></div>
</div>
{if isset($copyright)}<div class="cb" id="lbBottom">{$copyright|safe}</div>{/if}
<div class="thumbnails">
{foreach from=$images item=image}
<span style="float:left;{if $frame} padding:0.3em;{/if}">
<span style="float:left;{if $frame} padding: 3px;{/if}">
<a rel="{$image.slimbox2}" href="{$image.link}" title="{$image.title}" target="_blank">
<img src="{$image.source}" alt="{$image.title}" title="{$image.title}" {if $frame}class="frame"{/if} />
</a>
</span>
{/foreach}
<div class="cb"></div>
</div>
{if isset($copyright)}<div class="cb" id="lbBottom">{$copyright|safe}</div>{/if}
{if $groupviews}
<div class="groupviewsection">
<h5>{str tag="groupviews" section="view"}</h5>
<h4>{str tag="groupviews" section="view"}</h4>
<table class="fullwidth listing">
{foreach from=$groupviews item=view}
<tr class="{cycle values='r0,r1'}">
<td>
{if $view.template}
<div class="s fr valign">{$view.form|safe}</div>
<div class="s fr">{$view.form|safe}</div>
{/if}
<h3><a href="{$view.fullurl}">{$view.title}</a></h3>
<div class="s">{$view.description|str_shorten_html:100:true|strip_tags|safe}</div>
{if $view.tags}<div class="tags"><label>{str tag=tags}:</label> {list_tags owner=$view.owner tags=$view.tags}</div>{/if}
<h5 class="inline"><a href="{$view.fullurl}">{$view.title}</a></h5>
<div class="groupviewdescription">{$view.description|str_shorten_html:100:true|strip_tags|safe}</div>
{if $view.tags}<div class="s tags"><label>{str tag=tags}:</label> {list_tags owner=$view.owner tags=$view.tags}</div>{/if}
</td>
</tr>
{/foreach}
......@@ -20,17 +20,17 @@
{if $sharedviews}
<div class="groupviewsection">
<h5>{str tag="viewssharedtogroupbyothers" section="view"}</h5>
<h4>{str tag="viewssharedtogroupbyothers" section="view"}</h4>
<table class="fullwidth listing">
{foreach from=$sharedviews item=view}
<tr class="{cycle values='r0,r1'}">
<td>
{if $view.template}
<div class="s fr valign">{$view.form|safe}</div>
<div class="s fr">{$view.form|safe}</div>
{/if}
<h3><a href="{$view.fullurl}">{$view.title}</a></h3>
<h5 class="inline"><a href="{$view.fullurl}">{$view.title}</a></h5>
{if $view.sharedby}
<span class="owner">{str tag=by section=view}
<span class="owner"> {str tag=by section=view}
{if $view.group}
<a href="{group_homepage_url($view.groupdata)}">{$view.sharedby}</a>
{elseif $view.owner}
......@@ -40,8 +40,8 @@
{/if}
</span>
{/if}
<div class="s">{$view.description|str_shorten_html:100:true|strip_tags|safe}</div>
{if $view.tags}<div class="tags"><label>{str tag=tags}:</label> {list_tags owner=$view.owner tags=$view.tags}</div>{/if}
<div class="groupviewdescription">{$view.description|str_shorten_html:100:true|strip_tags|safe}</div>
{if $view.tags}<div class="s tags"><label>{str tag=tags}:</label> {list_tags owner=$view.owner tags=$view.tags}</div>{/if}
</td>
</tr>
{/foreach}
......@@ -53,7 +53,7 @@
{if $mysubmitted || $group_view_submission_form}
<div class="groupviewsection">
{if $group_view_submission_form}
<h5>{str tag="submittogroup" section="view"}</h5>
<h4>{str tag="submittogroup" section="view"}</h4>
{/if}
<table class="fullwidth listing">
{if $mysubmitted}
......
......@@ -3,7 +3,7 @@
{foreach from=$USERGROUPS item=item}
<tr>
<td class="{cycle values='r0,r1'}">
<h4><a href="{group_homepage_url($item)}">{$item->name}</a> - {$item->roledisplay}</h4>
<h4><a href="{group_homepage_url($item)}">{$item->name}</a><span class="roledisplay"> - {$item->roledisplay}</span></h4>
{if $item->description}
<div class="details">{$item->description|str_shorten_html:100:true|safe}</div>
{/if}
......
......@@ -2,7 +2,7 @@
<table class="fullwidth" id="latestforumposts">
{foreach from=$foruminfo item=postinfo}
<tr class="{cycle values='r0,r1'}">
<td><h4><a href="{$WWWROOT}interaction/forum/topic.php?id={$postinfo->topic|escape}&post={$postinfo->id}">{$postinfo->topicname}</a></h4><div class="s">{$postinfo->body|str_shorten_html:100:true|safe}</div></td>
<td><h5><a href="{$WWWROOT}interaction/forum/topic.php?id={$postinfo->topic|escape}&post={$postinfo->id}">{$postinfo->topicname}</a></h5><div class="s">{$postinfo->body|str_shorten_html:100:true|safe}</div></td>
<td class="valign s right"><a href="{profile_url($postinfo->author)}"><img src="{profile_icon_url user=$postinfo->author maxheight=16 maxwidth=16}" alt=""> {$postinfo->author|display_name}</a>
</td>
</tr>
......
Supports Markdown
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