$panel) {
$label = '' . Html::encode($panel->getName());
echo Html::a($label, ['view', 'tag' => $tag, 'panel' => $id], [
'class' => $panel === $activePanel ? 'list-group-item active' : 'list-group-item',
]);
}
?>
= 200 && $statusCode < 300) {
$calloutClass = 'callout-success';
} elseif ($statusCode >= 300 && $statusCode < 400) {
$calloutClass = 'callout-info';
} else {
$calloutClass = 'callout-important';
}
?>
$meta['tag'], 'panel' => $activePanel->id];
$items[] = [
'label' => $label,
'url' => $url,
];
if (++$count >= 10) {
break;
}
}
echo ButtonGroup::widget([
'options'=>['class'=>'btn-group-sm'],
'buttons' => [
Html::a('All', ['index'], ['class' => 'btn btn-default']),
Html::a('Latest', ['view', 'panel' => $activePanel->id], ['class' => 'btn btn-default']),
ButtonDropdown::widget([
'label' => 'Last 10',
'options' => ['class' => 'btn-default btn-sm'],
'dropdown' => ['items' => $items, 'encodeLabels' => false],
]),
],
]);
echo "\n" . $summary['tag'] . ': ' . $summary['method'] . ' ' . Html::a(Html::encode($summary['url']), $summary['url']);
echo ' at ' . date('Y-m-d h:i:s a', $summary['time']) . ' by ' . $summary['ip'];
?>
= $activePanel->getDetail() ?>