root/templates/bananas.tpl @ 104

Revision 104, 1.0 KB (checked in by dez, 7 years ago)

Adds curved corners to the bottom border of ".box"es (dez)

Line 
1{* Banana viewer template, classic style *}
2
3{if $mode == "detail"}
4        <div class="box">
5        <div class="boxhead"><h2>Banana Details for {$who}</h2></div>
6        <div class="boxcontent">
7       
8        {if $awards|@count < 1}
9                <p>{$who} doesn't have any bananas yet</p>
10        {else}
11                <table cellpadding="10">
12                <tr>
13                        <th colspan="2">Bananas</th>
14                        <th>When</th>
15                        <th>Why</th>
16                </tr>
17                {foreach name=awards from=$awards key=key item=award}
18                        <tr>
19                                <td>{$award.score}</td>
20                                <td>{bananaprint score=$award.score}</td>
21                                <td>{$award.whn}</td>
22                                <td>Awarded by {$award.who}:<br/>
23                                {$award.why}
24                                </td>
25                        </tr>
26                {/foreach}
27                </table>
28        {/if}
29        </div>
30        <div class="hollowfoot"><div><div></div></div></div>
31        </div>
32{/if}
33
34<h3>Banana Summary</h3>
35<table border="0" cellpadding="5">
36
37{foreach name=users from=$users key=key2 item=user}
38<tr>
39        <td><a href="/Info/Bananas/{$user.username}">{$user.username}</a></td>
40        <td>{$user.sum}</td>
41        <td>{bananaprint score=$user.sum}</td>
42</tr>
43{/foreach}
44</table>
Note: See TracBrowser for help on using the browser.