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

use yii\helpers\Html;

/**
 * @var \yii\base\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">
Qiang Xue committed
13 14 15
	<div class="navbar">
		<div class="navbar-inner">
			<div class="container">
16 17 18
				<div class="yii-debug-toolbar-block title">
					Yii Debugger
				</div>
Qiang Xue committed
19 20 21
			</div>
		</div>
	</div>
Qiang Xue committed
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49

	<div class="container-fluid">
		<div class="row-fluid">
			<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>
						<th style="width: 160px;">Time</th>
						<th style="width: 120px;">IP</th>
						<th style="width: 60px;">Method</th>
						<th>URL</th>
					</tr>
				</thead>
				<tbody>
					<?php foreach ($manifest as $tag => $data): ?>
					<tr>
						<td><?php echo Html::a($tag, array('view', 'tag' => $tag)); ?></td>
						<td><?php echo date('Y-m-d h:i:sa', $data['time']); ?></td>
						<td><?php echo $data['ip']; ?></td>
						<td><?php echo $data['method']; ?></td>
						<td><?php echo $data['url']; ?></td>
					</tr>
					<?php endforeach; ?>
				</tbody>
			</table>
		</div>
	</div>
Qiang Xue committed
50
</div>