Permalink
Browse files

Fix classes for debug panel sample (#178)

  • Loading branch information...
1 parent 0177f7a commit 7b0e057815538db776d0a9c74532faa41ef7cb40 @bashkarev bashkarev committed with samdark Dec 12, 2016
@@ -51,7 +51,7 @@ class ViewsPanel extends Panel
{
$url = $this->getUrl();
$count = count($this->data);
- return "<div class=\"yii-debug-toolbar-block\"><a href=\"$url\">Views <span class=\"label\">$count</span></a></div>";
+ return "<div class=\"yii-debug-toolbar__block\"><a href=\"$url\">Views <span class=\"yii-debug-toolbar__label yii-debug-toolbar__label_info\">$count</span></a></div>";
}
/**
@@ -51,7 +51,7 @@ class ViewsPanel extends Panel
{
$url = $this->getUrl();
$count = count($this->data);
- return "<div class=\"yii-debug-toolbar-block\"><a href=\"$url\">ビュー数 <span class=\"label\">$count</span></a></div>";
+ return "<div class=\"yii-debug-toolbar__block\"><a href=\"$url\">Views <span class=\"yii-debug-toolbar__label yii-debug-toolbar__label_info\">$count</span></a></div>";
}
/**
@@ -50,7 +50,7 @@ class ViewsPanel extends Panel
{
$url = $this->getUrl();
$count = count($this->data);
- return "<div class=\"yii-debug-toolbar-block\"><a href=\"$url\">Views <span class=\"label\">$count</span></a></div>";
+ return "<div class=\"yii-debug-toolbar__block\"><a href=\"$url\">Views <span class=\"yii-debug-toolbar__label yii-debug-toolbar__label_info\">$count</span></a></div>";
}
/**
@@ -50,7 +50,7 @@ class ViewsPanel extends Panel
{
$url = $this->getUrl();
$count = count($this->data);
- return "<div class=\"yii-debug-toolbar-block\"><a href=\"$url\">Views <span class=\"label\">$count</span></a></div>";
+ return "<div class=\"yii-debug-toolbar__block\"><a href=\"$url\">Views <span class=\"yii-debug-toolbar__label yii-debug-toolbar__label_info\">$count</span></a></div>";
}
/**

0 comments on commit 7b0e057

Please sign in to comment.