mirror of
https://github.com/humhub/humhub.git
synced 2025-01-17 22:28:51 +01:00
Reworked Style of TabMenu.
This commit is contained in:
parent
4be7397eac
commit
3443ef1128
@ -4,14 +4,14 @@
|
||||
*
|
||||
* @package humhub.widgets
|
||||
* @since 0.5 */
|
||||
|
||||
use \yii\helpers\Html
|
||||
?>
|
||||
<ul class="nav nav-tabs">
|
||||
<?php foreach ($this->getItems() as $item) : ?>
|
||||
<li class="<?php if ($item['isActive']): ?>active<?php endif; ?>">
|
||||
<a href="<?php echo $item['url']; ?>" target="<?php echo $item['target']; ?>">
|
||||
<?php //echo $item['icon']; ?>
|
||||
<?php echo $item['label']; ?>
|
||||
</a>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
<ul class="nav nav-pills">
|
||||
|
||||
<?php foreach ($this->context->getItems() as $item) {?>
|
||||
<li <?php echo Html::renderTagAttributes($item['htmlOptions'])?>>
|
||||
<?php echo Html::a($item['label'], $item['url']); ?>
|
||||
</li>
|
||||
<?php }; ?>
|
||||
</ul>
|
Loading…
x
Reference in New Issue
Block a user