index.php 1.04 KB
Newer Older
Qiang Xue committed
1 2 3 4 5
<?php

use yii\helpers\Html;

/**
Alexander Makarov committed
6
 * @var \yii\web\View $this
Qiang Xue committed
7
 * @var array $manifest
Qiang Xue committed
8
 */
Qiang Xue committed
9

Qiang Xue committed
10
$this->title = 'Yii Debugger';
Qiang Xue committed
11
?>
Qiang Xue committed
12
<div class="default-index">
13 14 15
	<div id="yii-debug-toolbar">
		<div class="yii-debug-toolbar-block title">
			Yii Debugger
Qiang Xue committed
16 17
		</div>
	</div>
Qiang Xue committed
18

19 20
	<div class="container">
		<div class="row">
Qiang Xue committed
21 22 23 24 25
			<h1>Available Debug Data</h1>
			<table class="table table-condensed table-bordered table-striped table-hover" style="table-layout: fixed;">
				<thead>
					<tr>
						<th style="width: 120px;">Tag</th>
26
						<th style="width: 170px;">Time</th>
Qiang Xue committed
27
						<th style="width: 120px;">IP</th>
Qiang Xue committed
28
						<th style="width: 70px;">Method</th>
Qiang Xue committed
29 30 31 32 33 34
						<th>URL</th>
					</tr>
				</thead>
				<tbody>
					<?php foreach ($manifest as $tag => $data): ?>
					<tr>
Alexander Makarov committed
35 36 37 38 39
						<td><?= Html::a($tag, ['view', 'tag' => $tag]) ?></td>
						<td><?= date('Y-m-d h:i:sa', $data['time']) ?></td>
						<td><?= $data['ip'] ?></td>
						<td><?= $data['method'] ?></td>
						<td><?= $data['url'] ?></td>
Qiang Xue committed
40 41 42 43 44 45
					</tr>
					<?php endforeach; ?>
				</tbody>
			</table>
		</div>
	</div>
Qiang Xue committed
46
</div>