Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
da13b336
Commit
da13b336
authored
Feb 24, 2014
by
Qiang Xue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor css fixes.
parent
14064492
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
10 deletions
+7
-10
toolbar.css
extensions/debug/assets/toolbar.css
+0
-1
summary.php
extensions/debug/views/default/panels/config/summary.php
+2
-2
summary.php
extensions/debug/views/default/panels/db/summary.php
+1
-1
summary.php
extensions/debug/views/default/panels/profile/summary.php
+2
-2
toolbar.php
extensions/debug/views/default/toolbar.php
+0
-1
exception.php
framework/views/errorHandler/exception.php
+2
-3
No files found.
extensions/debug/assets/toolbar.css
View file @
da13b336
...
...
@@ -36,7 +36,6 @@
border-right
:
1px
solid
#e4e4e4
;
padding
:
4px
8px
;
line-height
:
32px
;
height
:
40px
;
white-space
:
nowrap
;
}
...
...
extensions/debug/views/default/panels/config/summary.php
View file @
da13b336
...
...
@@ -9,8 +9,8 @@ use yii\helpers\Html;
<div
class=
"yii-debug-toolbar-block"
>
<a
href=
"
<?=
$panel
->
getUrl
()
?>
"
>
Yii
<span
class=
"label
label-info
"
>
<?=
$panel
->
data
[
'application'
][
'yii'
]
?>
</span>
<span
class=
"label"
>
<?=
$panel
->
data
[
'application'
][
'yii'
]
?>
</span>
PHP
<span
class=
"label
label-info
"
>
<?=
$panel
->
data
[
'php'
][
'version'
]
?>
</span>
<span
class=
"label"
>
<?=
$panel
->
data
[
'php'
][
'version'
]
?>
</span>
</a>
</div>
extensions/debug/views/default/panels/db/summary.php
View file @
da13b336
<?php
if
(
$queryCount
)
:
?>
<div
class=
"yii-debug-toolbar-block"
>
<a
href=
"
<?=
$panel
->
getUrl
()
?>
"
title=
"Executed
<?php
echo
$queryCount
;
?>
database queries which took
<?=
$queryTime
?>
."
>
DB
<span
class=
"label"
>
<?=
$queryCount
?>
</span>
<span
class=
"label"
>
<?=
$queryTime
?>
</span>
DB
<span
class=
"label
label-info
"
>
<?=
$queryCount
?>
</span>
<span
class=
"label"
>
<?=
$queryTime
?>
</span>
</a>
</div>
<?php
endif
;
?>
extensions/debug/views/default/panels/profile/summary.php
View file @
da13b336
<div
class=
"yii-debug-toolbar-block"
>
<a
href=
"
<?=
$panel
->
getUrl
()
?>
"
title=
"Total request processing time was
<?=
$time
?>
"
>
Time
<span
class=
"label"
>
<?=
$time
?>
</span></a>
<a
href=
"
<?=
$panel
->
getUrl
()
?>
"
title=
"Peak memory consumption"
>
Memory
<span
class=
"label"
>
<?=
$memory
?>
</span></a>
<a
href=
"
<?=
$panel
->
getUrl
()
?>
"
title=
"Total request processing time was
<?=
$time
?>
"
>
Time
<span
class=
"label
label-info
"
>
<?=
$time
?>
</span></a>
<a
href=
"
<?=
$panel
->
getUrl
()
?>
"
title=
"Peak memory consumption"
>
Memory
<span
class=
"label
label-info
"
>
<?=
$memory
?>
</span></a>
</div>
extensions/debug/views/default/toolbar.php
View file @
da13b336
...
...
@@ -6,7 +6,6 @@
* @var string $position
*/
use
yii\helpers\Html
;
use
yii\debug\panels\ConfigPanel
;
$minJs
=
<<<EOD
document.getElementById('yii-debug-toolbar').style.display = 'none';
...
...
framework/views/errorHandler/exception.php
View file @
da13b336
...
...
@@ -81,6 +81,7 @@ html,body{
}
.header
h2
{
font-size
:
20px
;
line-height
:
1.25
;
}
/* previous exceptions */
...
...
@@ -360,9 +361,7 @@ pre .diff .change{
?>
</h1>
<?php
endif
;
?>
<h2>
<?=
nl2br
(
$handler
->
htmlEncode
(
$exception
->
getMessage
()))
?>
</h2>
<?php
if
(
$exception
instanceof
\yii\db\Exception
&&
$exception
->
errorInfo
!==
null
)
:
?>
<pre>
<?=
var_export
(
$exception
->
errorInfo
,
true
)
?>
</pre>
<?php
endif
;
?>
<?=
$handler
->
renderPreviousExceptions
(
$exception
)
?>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment