version 0.2 beta nibiru framework, added onclick to the navbar json configuration, added a new dispatcher class that can handle actions as well, removed the dirty method calls fro the constructor $this->pageAction() and the navbar call, added ODBC support, and a postgress class. Overall improved the core functions of the framework.
This commit is contained in:
@@ -6,10 +6,17 @@
|
||||
<ul class="nav nav-pills iconav-nav">
|
||||
{foreach $navigationJson as $naventry}
|
||||
<li >
|
||||
<a href="{$naventry.link}" title="{$naventry.tooltip}" data-toggle="tooltip" data-placement="right" data-container="body">
|
||||
<span class="icon {$naventry.icon}"></span>
|
||||
<small class="iconav-nav-label visible-xs-block">{$naventry.title}</small>
|
||||
</a>
|
||||
{if $naventry.onclick}
|
||||
<a title="{$naventry.tooltip}" data-toggle="tooltip" data-placement="right" data-container="body" onclick="{$naventry.onclick}">
|
||||
<span class="{$naventry.icon}"></span>
|
||||
<small class="iconav-nav-label visible-xs-block">{$naventry.title}</small>
|
||||
</a>
|
||||
{elseif $naventry.link}
|
||||
<a href="{$naventry.link}" title="{$naventry.tooltip}" data-toggle="tooltip" data-placement="right" data-container="body">
|
||||
<span class="{$naventry.icon}"></span>
|
||||
<small class="iconav-nav-label visible-xs-block">{$naventry.title}</small>
|
||||
</a>
|
||||
{/if}
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user