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
369f82b4
Commit
369f82b4
authored
Aug 13, 2013
by
Qiang Xue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
css fixes.
parent
d4c8f47c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
4 deletions
+13
-4
main.css
framework/yii/debug/assets/main.css
+4
-0
ConfigPanel.php
framework/yii/debug/panels/ConfigPanel.php
+7
-2
LogPanel.php
framework/yii/debug/panels/LogPanel.php
+1
-1
RequestPanel.php
framework/yii/debug/panels/RequestPanel.php
+1
-1
No files found.
framework/yii/debug/assets/main.css
View file @
369f82b4
...
...
@@ -146,3 +146,7 @@ ul.trace {
float
:
right
;
margin-right
:
-15px
;
}
td
,
th
{
overflow
:
auto
;
}
framework/yii/debug/panels/ConfigPanel.php
View file @
369f82b4
...
...
@@ -64,7 +64,12 @@ EOD;
return
"<h1>Configuration</h1>
\n
"
.
$this
->
renderData
(
'Application Configuration'
,
$app
)
.
"
\n
"
.
$this
->
renderData
(
'PHP Configuration'
,
$php
)
.
"
\n
"
.
'<div>'
.
Html
::
a
(
'phpinfo()'
,
array
(
'phpinfo'
),
array
(
'class'
=>
'btn btn-info'
))
.
"</div>
\n
"
;
.
$this
->
getPhpInfo
();
}
protected
function
getPhpInfo
()
{
return
'<div>'
.
Html
::
a
(
'Show phpinfo »'
,
array
(
'phpinfo'
),
array
(
'class'
=>
'btn btn-primary'
))
.
"</div>
\n
"
;
}
protected
function
renderData
(
$caption
,
$values
)
...
...
@@ -74,7 +79,7 @@ EOD;
}
$rows
=
array
();
foreach
(
$values
as
$name
=>
$value
)
{
$rows
[]
=
'<tr><th style="width:
200px;">'
.
Html
::
encode
(
$name
)
.
'</th><td><div style="overflow:auto">'
.
Html
::
encode
(
$value
)
.
'</div>
</td></tr>'
;
$rows
[]
=
'<tr><th style="width:
200px;">'
.
Html
::
encode
(
$name
)
.
'</th><td style="overflow:auto">'
.
Html
::
encode
(
$value
)
.
'
</td></tr>'
;
}
$rows
=
implode
(
"
\n
"
,
$rows
);
return
<<<EOD
...
...
framework/yii/debug/panels/LogPanel.php
View file @
369f82b4
...
...
@@ -74,7 +74,7 @@ EOD;
$class
=
''
;
}
$level
=
Logger
::
getLevelName
(
$level
);
$rows
[]
=
"<tr
$class
><td style=
\"
width: 100px;
\"
>
$time
</td><td style=
\"
width: 100px;
\"
>
$level
</td><td style=
\"
width: 250px;
\"
>
$category
</td><td><div
style=
\"
overflow:auto
\"
>
$message
</div></td></tr>"
;
$rows
[]
=
"<tr
$class
><td style=
\"
width: 100px;
\"
>
$time
</td><td style=
\"
width: 100px;
\"
>
$level
</td><td style=
\"
width: 250px;
\"
>
$category
</td><td><div>
$message
</div></td></tr>"
;
}
$rows
=
implode
(
"
\n
"
,
$rows
);
return
<<<EOD
...
...
framework/yii/debug/panels/RequestPanel.php
View file @
369f82b4
...
...
@@ -151,7 +151,7 @@ EOD;
}
$rows
=
array
();
foreach
(
$values
as
$name
=>
$value
)
{
$rows
[]
=
'<tr><th style="width: 200px;">'
.
Html
::
encode
(
$name
)
.
'</th><td>
<div style="overflow:auto">'
.
Html
::
encode
(
var_export
(
$value
,
true
))
.
'</div>
</td></tr>'
;
$rows
[]
=
'<tr><th style="width: 200px;">'
.
Html
::
encode
(
$name
)
.
'</th><td>
'
.
Html
::
encode
(
var_export
(
$value
,
true
))
.
'
</td></tr>'
;
}
$rows
=
implode
(
"
\n
"
,
$rows
);
return
<<<EOD
...
...
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