Skip to content
Snippets Groups Projects
Commit 30916180 authored by Graham Cole's avatar Graham Cole
Browse files

give nice headings to junk page boxes

parent 80adfe77
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,7 @@ h1, h2, h3, h4, h5, h6 {
margin-bottom: 0;
}
h2+p, h2+ul, h2+ol, h3+p, h3+ul, h3+ol {
h2+p, h2+ul, h2+ol, h3+p, h3+ul, h3+ol, h4+p, h4+ul, h4+ol {
margin-top: 0;
}
......
{if $mode == 'list'}
{include file="../static/fragments/Junk.txt"}
{foreach name=junk from=$junk key=status item=statusitems}
<div class="box">
<div class="boxhead"> <h3>{$status}</h3></div>
<div class="boxhead">
{if $status == 'available'} <h3>Free Stuff!</h3>
{elseif $status == 'requested'} <h3>Reserved Items</h3>
{elseif $status == 'taken'} <h3>Recently Taken</h3>
{else} <h3>Not Junk</h3> {/if}
</div>
<div class="boxcontent">
{foreach from=$statusitems item=category key=categoryname}
<h3>{$categoryname}</h3>
<h4>{$categoryname}</h4>
<ul>
{foreach from=$category item=item}
<li>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment