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
e00346e5
Commit
e00346e5
authored
Jul 08, 2013
by
Qiang Xue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor fixes.
parent
d5cd8234
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
9 deletions
+7
-9
Module.php
framework/yii/debug/Module.php
+1
-0
toolbar.css
framework/yii/debug/views/default/toolbar.css
+4
-4
toolbar.php
framework/yii/debug/views/default/toolbar.php
+2
-5
No files found.
framework/yii/debug/Module.php
View file @
e00346e5
...
...
@@ -81,6 +81,7 @@ class Module extends \yii\base\Module
echo
'<div id="yii-debug-toolbar" data-url="'
.
$url
.
'" style="display:none"></div>'
;
/** @var View $view */
$view
=
$event
->
sender
;
echo
'<style>'
.
$view
->
renderFile
(
__DIR__
.
'/views/default/toolbar.css'
)
.
'</style>'
;
echo
'<script>'
.
$view
->
renderFile
(
__DIR__
.
'/views/default/toolbar.js'
)
.
'</script>'
;
}
...
...
framework/yii/debug/views/default/toolbar.css
View file @
e00346e5
...
...
@@ -117,7 +117,7 @@
.yii-debug-toolbar-toggler
{
cursor
:
pointer
;
position
:
absolute
;
right
:
4
px
;
right
:
10
px
;
bottom
:
4px
;
width
:
15px
;
height
:
30px
;
...
...
@@ -126,7 +126,7 @@
line-height
:
28px
;
color
:
#ffffff
;
text-align
:
center
;
background
:
#
222222
;
background
:
#
666666
;
-webkit-border-radius
:
12px
;
-moz-border-radius
:
12px
;
border-radius
:
12px
;
...
...
@@ -152,7 +152,7 @@
z-index
:
1000000
;
font
:
11px
Verdana
,
Arial
,
sans-serif
;
text-align
:
left
;
width
:
57
px
;
width
:
63
px
;
height
:
38px
;
border-top
:
1px
solid
#ccc
;
border-left
:
1px
solid
#ccc
;
...
...
@@ -172,6 +172,6 @@
#yii-debug-toolbar-logo
{
position
:
fixed
;
right
:
25
px
;
right
:
31
px
;
bottom
:
4px
;
}
framework/yii/debug/views/default/toolbar.php
View file @
e00346e5
...
...
@@ -24,18 +24,15 @@ EOD;
$url
=
$panels
[
'request'
]
->
getUrl
();
?>
<style>
<?php
echo
$this
->
renderFile
(
__DIR__
.
'/toolbar.css'
);
?>
</style>
<div
id=
"yii-debug-toolbar"
>
<?php
foreach
(
$panels
as
$panel
)
:
?>
<?php
echo
$panel
->
getSummary
();
?>
<?php
endforeach
;
?>
<
a
class=
"yii-debug-toolbar-toggler"
href=
"javascript:void(0);"
onclick=
"
<?php
echo
$minJs
;
?>
"
>
›
</a
>
<
span
class=
"yii-debug-toolbar-toggler"
onclick=
"
<?php
echo
$minJs
;
?>
"
>
›
</span
>
</div>
<div
id=
"yii-debug-toolbar-min"
>
<a
href=
"
<?php
echo
$url
;
?>
"
title=
"Open Yii Debugger"
id=
"yii-debug-toolbar-logo"
>
<img
width=
"29"
height=
"30"
alt=
""
src=
"
<?php
echo
ConfigPanel
::
getYiiLogo
();
?>
"
>
</a>
<
a
class=
"yii-debug-toolbar-toggler"
href=
"javascript:void(0);"
onclick=
"
<?php
echo
$maxJs
;
?>
"
>
‹
</a
>
<
span
class=
"yii-debug-toolbar-toggler"
onclick=
"
<?php
echo
$maxJs
;
?>
"
>
‹
</span
>
</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