HCE Project DC service web UI  0.2
Hierarchical Cluster Engine DC service web UI
 All Classes Namespaces Files Functions Variables Pages
_tabs.php
Go to the documentation of this file.
1 <?php
2 /* @var Yii2DebugPanel $this */
3 /* @var string $id */
4 /* @var array $items */
5 ?>
6 <ul id="<?php echo $id; ?>" class="nav nav-tabs">
7 <?php foreach ($items as $num => $item): ?>
8  <li class="<?php echo isset($item['active']) && $item['active'] ? 'active' : ''; ?>">
9  <a href="<?php echo "#$id-tab$num"; ?>" data-toggle="tab">
10  <?php echo CHtml::encode($item['label']); ?>
11  </a>
12  </li>
13 <?php endforeach; ?>
14 </ul>
15 <div class="tab-content">
16 <?php foreach ($items as $num => $item): ?>
17  <div id="<?php echo "$id-tab$num"; ?>" class="tab-pane<?php echo isset($item['active']) && $item['active'] ? ' active' : ''; ?>">
18  <?php echo $item['content']; ?>
19  </div>
20 <?php endforeach; ?>
21 </div>