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
b3e6aedc
Commit
b3e6aedc
authored
Feb 05, 2014
by
Tobias Munk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
toolbar UI updates
added home icon removed separators with summary sections to make browsing with the panel more intuitive updated version number display, now also shown as label
parent
646e371b
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
16 additions
and
7 deletions
+16
-7
index.php
extensions/debug/views/default/index.php
+3
-0
summary.php
extensions/debug/views/default/panels/config/summary.php
+3
-5
summary.php
extensions/debug/views/default/panels/request/summary.php
+0
-2
toolbar.php
extensions/debug/views/default/toolbar.php
+5
-0
view.php
extensions/debug/views/default/view.php
+5
-0
No files found.
extensions/debug/views/default/index.php
View file @
b3e6aedc
...
...
@@ -15,6 +15,9 @@ $this->title = 'Yii Debugger';
?>
<div
class=
"default-index"
>
<div
id=
"yii-debug-toolbar"
class=
"yii-debug-toolbar-top"
>
<a
href=
"
<?=
Yii
::
$app
->
homeUrl
?>
"
>
<span
class=
"glyphicon glyphicon-home"
></span>
</a>
<div
class=
"yii-debug-toolbar-block title"
>
Yii Debugger
</div>
...
...
extensions/debug/views/default/panels/config/summary.php
View file @
b3e6aedc
...
...
@@ -9,9 +9,6 @@ use yii\helpers\Html;
<div
class=
"yii-debug-toolbar-block"
>
<a
href=
"
<?=
$panel
->
getUrl
()
?>
"
>
<img
width=
"29"
height=
"30"
alt=
""
src=
"
<?=
$panel
->
getYiiLogo
()
?>
"
>
<span>
<
?=
$panel
->
data
[
'application'
][
'yii'
]
?
>
</span>
<span><
span
class=
"label"
>
<?=
$panel
->
data
[
'application'
][
'yii'
]
?>
</span>
PHP
<span
class=
"label"
>
<?=
$panel
->
data
[
'php'
][
'version'
]
?>
</span
></span>
</a>
</div>
<div
class=
"yii-debug-toolbar-block"
>
<?=
Html
::
a
(
'PHP '
.
$panel
->
data
[
'php'
][
'version'
],
[
'phpinfo'
],
[
'title'
=>
'Show phpinfo()'
])
?>
</div>
</div>
\ No newline at end of file
extensions/debug/views/default/panels/request/summary.php
View file @
b3e6aedc
...
...
@@ -21,7 +21,5 @@ $statusText = Html::encode(isset(Response::$httpStatuses[$statusCode]) ? Respons
?>
<div
class=
"yii-debug-toolbar-block"
>
<a
href=
"
<?=
$panel
->
getUrl
()
?>
"
title=
"Status code:
<?=
$statusCode
?>
<?=
$statusText
?>
"
>
Status
<span
class=
"label
<?=
$class
?>
"
>
<?=
$statusCode
?>
</span></a>
</div>
<div
class=
"yii-debug-toolbar-block"
>
<a
href=
"
<?=
$panel
->
getUrl
()
?>
"
>
Action
<span
class=
"label"
>
<?=
$panel
->
data
[
'action'
]
?>
</span></a>
</div>
extensions/debug/views/default/toolbar.php
View file @
b3e6aedc
...
...
@@ -26,6 +26,11 @@ EOD;
$url
=
$panels
[
'request'
]
->
getUrl
();
?>
<div
id=
"yii-debug-toolbar"
class=
"yii-debug-toolbar-
<?=
$position
?>
"
>
<div
class=
"yii-debug-toolbar-block"
>
<a
href=
"
<?=
Yii
::
$app
->
homeUrl
?>
"
>
<span
class=
"glyphicon glyphicon-home"
></span>
</a>
</div>
<?php
foreach
(
$panels
as
$panel
)
:
?>
<?=
$panel
->
getSummary
()
?>
<?php
endforeach
;
?>
...
...
extensions/debug/views/default/view.php
View file @
b3e6aedc
...
...
@@ -17,6 +17,11 @@ $this->title = 'Yii Debugger';
?>
<div
class=
"default-view"
>
<div
id=
"yii-debug-toolbar"
class=
"yii-debug-toolbar-top"
>
<div
class=
"yii-debug-toolbar-block"
>
<a
href=
"
<?=
Yii
::
$app
->
homeUrl
?>
"
>
<span
class=
"glyphicon glyphicon-home"
></span>
</a>
</div>
<div
class=
"yii-debug-toolbar-block title"
>
<?=
Html
::
a
(
'Yii Debugger'
,
[
'index'
],
[
'title'
=>
'Back to main debug page'
])
?>
</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