|
@@ -53,7 +53,14 @@
|
|
|
|
|
|
<ul id="anbu-open-tabs" class="anbu-tabs">
|
|
|
<li><a data-anbu-tab="anbu-log" class="anbu-tab" href="#">Log <span class="anbu-count">{{ count($logs) }}</span></a></li>
|
|
|
- <li><a data-anbu-tab="anbu-sql" class="anbu-tab" href="#">SQL <span class="anbu-count">{{ count($queries) }}</span></a></li>
|
|
|
+ <li>
|
|
|
+ <a data-anbu-tab="anbu-sql" class="anbu-tab" href="#">SQL
|
|
|
+ <span class="anbu-count">{{ count($queries) }}</span>
|
|
|
+ @if (count($queries))
|
|
|
+ <span class="anbu-count">{{ array_sum(array_map(function($q) { return $q[1]; }, $queries)) }}ms</span>
|
|
|
+ @endif
|
|
|
+ </a>
|
|
|
+ </li>
|
|
|
<li class="anbu-tab-right"><a id="anbu-hide" href="#">↦</a></li>
|
|
|
<li class="anbu-tab-right"><a id="anbu-close" href="#">×</a></li>
|
|
|
<li class="anbu-tab-right"><a id="anbu-zoom" href="#">⇅</a></li>
|