-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbar.requests.panel.phtml
52 lines (45 loc) · 1.37 KB
/
bar.requests.panel.phtml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
<h1>Requests (<?php echo count($logs)?>)</h1>
<div class="nette-inner">
<?php if (count($logs) > 0) { ?>
<table>
<tbody>
<?php foreach ($logs as $name => $entry): ?>
<tr>
<th colspan=2>
<?php echo $entry['info']['request'] . " " . $entry['info']['uriPath']?>
⇒
<?php echo $entry['info']['presenter']?>
⇒
<?php echo $entry['info']['response']?>
[<?php echo $entry['info']['time'] ?> ms]
</th>
</tr>
<tr>
<td nowrap>
<table width=100%>
<tr><th>Uri</th><td><a style="color:blue !important; text-decoration:underline" href="<?php echo $entry['info']['uri']?>"><?php echo $entry['info']['uri']?></a></td></tr>
<?php if ($entry['info']['signal']) :?><tr><th>Signal</th><td><?php echo $entry['info']['signal']?></td></tr><?php endif ?>
<tr>
<th>Dumps</th>
<td width=100%>
<a class="nette-toggler" rel="next" href="#"><abbr>►</abbr></a>
<table class="nette-hidden">
<?php foreach ($entry['dumps'] as $key => $dump): ?>
<tr>
<th><strong><?php if (!is_numeric($key)) echo $key;?></strong></th>
<td>
<?php echo $dump ?>
</td>
</tr>
<?php endforeach ?>
</table>
</td>
</tr>
</tbody>
</table>
<?php endforeach ?>
</table>
<?php } else { ?>
<p>No requests</p>
<?php } ?>
</div>