source: extensions/ColorStat/templates/cstat_color_table.tpl @ 15907

Last change on this file since 15907 was 15350, checked in by grum, 12 years ago

feature:2639 - Compatibility with Piwigo 2.4
Fix some problem with user interface display

File size: 854 bytes
Line 
1<table {if $data.id!=''}id="{$data.id}"{/if} {if $data.class!=''}class="{$data.class}"{/if} >
2  {foreach from=$data.colorTable item=row}
3  <tr>
4    {foreach from=$row item=col}
5    <td id="cellColor_{$col.color}" style="width:{$data.size}px;height:{$data.size}px;background-color:#{$col.color};{if $col.num!=''}cursor:pointer;{/if}" class="sTip {if $col.num!=''}csSelectable{/if}"
6        title="<table><tr style='vertical-align:middle;'><td><div style='display:inline-block;width:18px;height:18px;background-color:#{$col.color};'></div></td><td style='display:inline-block;'>{'cstat_color'|@translate}&nbsp;#{$col.color}{if $col.num!=''}&nbsp;:&nbsp;{$col.num}&nbsp;{'cstat_images'|@translate}{/if}{if $col.pct!=''} {$data.br} {'cstat_surface'|@translate}&nbsp;{$col.pct}%{/if}</td></tr></table>">
7    </td>
8    {/foreach}
9  </tr>
10  {/foreach}
11</table>
Note: See TracBrowser for help on using the repository browser.