11 $this->
pageTitle = $activePanel->getName() .
' - Yii Debugger';
13 <div
class=
"default-view">
14 <?php $this->renderPartial(
'_toolbar', array(
'panels' => $panels)); ?>
15 <div
class=
"container-fluid">
16 <div
class=
"row-fluid">
18 <ul
class=
"nav nav-pills nav-stacked">
20 foreach ($panels as $id => $panel) {
21 $link = CHtml::link(CHtml::encode($panel->getName()), array(
'view',
'tag' => $tag,
'panel' => $id));
22 echo CHtml::tag(
'li', array(
'class' => $panel === $activePanel ?
'active' : null), $link);
28 <div
class=
"callout alert alert-info">
29 <div
class=
"btn-group">
30 <?php echo CHtml::link(
'All', array(
'index'), array(
'class' =>
'btn')); ?>
31 <?php echo CHtml::link(
'Latest', array(
'view',
'panel' => $activePanel->id), array(
'class' =>
'btn')); ?>
32 <button
class=
"btn dropdown-toggle" data-toggle=
"dropdown">
34 <span
class=
"caret"></span>
36 <ul
class=
"dropdown-menu">
39 foreach ($manifest as $meta) {
40 $label = $meta[
'method'] .
' ' . urldecode($meta[
'url']) . ($meta[
'ajax'] ?
' (AJAX)' :
'')
41 .
', ' . date(
'Y-m-d h:i:s', $meta[
'time'])
43 $url = array(
'view',
'tag' => $meta[
'tag'],
'panel' => $activePanel->id);
44 if ($meta[
'tag'] == $tag &&
$count > 0) {
45 echo
'<li class="divider"></li>';
53 if ($meta[
'tag'] == $tag) {
54 echo
'<li class="divider"></li>';
60 <?php echo CHtml::link(
61 '<i class="icon-star' . (!$this->owner->getLock($tag) ?
'-empty' :
'') .
'"></i>',
62 array(
'lock',
'tag' => $tag),
64 'class' =>
'lock btn' . ($this->owner->getLock($tag) ?
' active' :
''),
65 'data-toggle' =>
'button',
66 'title' =>
'Lock or unlock of deleting',
69 <?php echo $summary[
'method']; ?>
70 <?php echo CHtml::link(CHtml::encode(urldecode($summary[
'url'])), $summary[
'url']); ?>
71 <?php echo $summary[
'ajax'] ?
' (AJAX)' :
''; ?>
72 at <?php echo date(
'Y-m-d h:i:s', $summary[
'time']); ?>
73 by <?php echo $summary['ip']; ?>
75 <?php echo $activePanel->getDetail(); ?>
81 Yii::app()->clientScript->registerScript(__CLASS__ .
'#view', <<<JS
82 $(
'a.lock').tooltip().click(
function(e){
85 $.get(el.attr(
'href'),
function(data){
87 $(el).addClass(
'active').children(
'i').addClass(
'icon-star').removeClass(
'icon-star-empty');
89 $(el).removeClass(
'active').children(
'i').addClass(
'icon-star-empty').removeClass(
'icon-star');