HCE Project DC service web UI  0.2
Hierarchical Cluster Engine DC service web UI
 All Classes Namespaces Files Functions Variables Pages
_detail.php
Go to the documentation of this file.
1 <?php
2 /* @var Yii2DebugPanel $this */
3 /* @var string $caption */
4 /* @var array $values */
5 ?>
6 <h3><?php echo $caption; ?></h3>
7 <?php if (!empty($values)): ?>
8  <table class="table table-condensed table-bordered table-striped table-hover" style="table-layout: fixed;">
9  <thead>
10  <tr>
11  <th style="width: 300px;">Name</th>
12  <th>Value</th>
13  </tr>
14  </thead>
15  <tbody>
16  <?php foreach ($values as $name => $value): ?>
17  <tr>
18  <th style="width:300px;word-break:break-all;">
19  <?php echo CHtml::encode($name); ?>
20  </th>
21  <td>
22  <div style="overflow:auto">
23  <?php if (is_string($value)): ?>
24  <?php echo CHtml::encode($value); ?>
25  <?php else: ?>
26  <div class="src <?php echo $this->highlightCode ? 'hl' : 'no-hl'; ?>"><?php
27  CVarDumper::dump($value, 10, $this->highlightCode);
28  ?></div>
29  <?php endif; ?>
30  </div>
31  </td>
32  </tr>
33  <?php endforeach; ?>
34  </tbody>
35  </table>
36 <?php else: ?>
37  <p>Empty</p>
38 <?php endif; ?>