-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcustom.tpl
31 lines (28 loc) · 1017 Bytes
/
custom.tpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{include file='header.tpl'}
{include file='navbar.tpl'}
<h2 class="ui header">{$TITLE}</h2>
<div class="ui stackable grid">
<div class="ui centered row">
{if count($WIDGETS_LEFT)}
<div class="ui six wide tablet four wide computer column">
{foreach from=$WIDGETS_LEFT item=widget}
{$widget}
{/foreach}
</div>
{/if}
<div
class="ui {if count($WIDGETS_LEFT) && count($WIDGETS_RIGHT) }four wide tablet eight wide computer{elseif count($WIDGETS_LEFT) || count($WIDGETS_RIGHT)}ten wide tablet twelve wide computer{else}sixteen wide{/if} column">
<div class="ui fluid segment">
{$CONTENT}
</div>
</div>
{if count($WIDGETS_RIGHT)}
<div class="ui six wide tablet four wide computer column">
{foreach from=$WIDGETS_RIGHT item=widget}
{$widget}
{/foreach}
</div>
{/if}
</div>
</div>
{include file='footer.tpl'}