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
2698717b
Commit
2698717b
authored
Feb 05, 2014
by
Qiang Xue
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2320 from schmunk42/feature/toolbar-ui
toolbar UI updates
parents
0e806330
bbb0a222
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
21 additions
and
5 deletions
+21
-5
index.php
extensions/debug/views/default/index.php
+5
-0
detail.php
extensions/debug/views/default/panels/config/detail.php
+5
-2
summary.php
extensions/debug/views/default/panels/config/summary.php
+1
-1
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 @
2698717b
...
@@ -16,6 +16,11 @@ $this->title = 'Yii Debugger';
...
@@ -16,6 +16,11 @@ $this->title = 'Yii Debugger';
<div
class=
"default-index"
>
<div
class=
"default-index"
>
<div
id=
"yii-debug-toolbar"
class=
"yii-debug-toolbar-top"
>
<div
id=
"yii-debug-toolbar"
class=
"yii-debug-toolbar-top"
>
<div
class=
"yii-debug-toolbar-block title"
>
<div
class=
"yii-debug-toolbar-block title"
>
<a
href=
"
<?=
Yii
::
$app
->
homeUrl
?>
"
>
<span
class=
"glyphicon glyphicon-home"
></span>
</a>
</div>
<div
class=
"yii-debug-toolbar-block title"
>
Yii Debugger
Yii Debugger
</div>
</div>
</div>
</div>
...
...
extensions/debug/views/default/panels/config/detail.php
View file @
2698717b
...
@@ -7,6 +7,9 @@ use yii\helpers\Html;
...
@@ -7,6 +7,9 @@ use yii\helpers\Html;
$extensions
=
$panel
->
getExtensions
();
$extensions
=
$panel
->
getExtensions
();
?>
?>
<h1>
Configuration
</h1>
<h1>
Configuration
</h1>
<div>
<?=
Html
::
a
(
'Show phpinfo() »'
,
[
'phpinfo'
],
[
'class'
=>
'btn btn-info'
,
'target'
=>
'phpinfo'
])
?>
</div>
<?php
<?php
echo
$this
->
render
(
'panels/config/table'
,
[
echo
$this
->
render
(
'panels/config/table'
,
[
'caption'
=>
'Application Configuration'
,
'caption'
=>
'Application Configuration'
,
...
@@ -34,5 +37,4 @@ echo $this->render('panels/config/table', [
...
@@ -34,5 +37,4 @@ echo $this->render('panels/config/table', [
'Memcache'
=>
$panel
->
data
[
'php'
][
'memcache'
]
?
'Enabled'
:
'Disabled'
,
'Memcache'
=>
$panel
->
data
[
'php'
][
'memcache'
]
?
'Enabled'
:
'Disabled'
,
],
],
]);
]);
?>
?>
<div>
<?=
Html
::
a
(
'Show phpinfo() »'
,
[
'phpinfo'
],
[
'class'
=>
'btn btn-primary'
])
?>
</div>
\ No newline at end of file
extensions/debug/views/default/panels/config/summary.php
View file @
2698717b
...
@@ -13,5 +13,5 @@ use yii\helpers\Html;
...
@@ -13,5 +13,5 @@ use yii\helpers\Html;
</a>
</a>
</div>
</div>
<div
class=
"yii-debug-toolbar-block"
>
<div
class=
"yii-debug-toolbar-block"
>
<?=
Html
::
a
(
'PHP '
.
$panel
->
data
[
'php'
][
'version'
],
[
'phpinfo'
],
[
'title'
=>
'Show phpinfo()'
])
?>
<?=
Html
::
a
(
'PHP '
.
$panel
->
data
[
'php'
][
'version'
],
[
'phpinfo'
],
[
'title'
=>
'Show phpinfo()'
,
'target'
=>
'phpinfo'
])
?>
</div>
</div>
extensions/debug/views/default/panels/request/summary.php
View file @
2698717b
...
@@ -21,7 +21,5 @@ $statusText = Html::encode(isset(Response::$httpStatuses[$statusCode]) ? Respons
...
@@ -21,7 +21,5 @@ $statusText = Html::encode(isset(Response::$httpStatuses[$statusCode]) ? Respons
?>
?>
<div
class=
"yii-debug-toolbar-block"
>
<div
class=
"yii-debug-toolbar-block"
>
<a
href=
"
<?=
$panel
->
getUrl
()
?>
"
title=
"Status code:
<?=
$statusCode
?>
<?=
$statusText
?>
"
>
Status
<span
class=
"label
<?=
$class
?>
"
>
<?=
$statusCode
?>
</span></a>
<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>
<a
href=
"
<?=
$panel
->
getUrl
()
?>
"
>
Action
<span
class=
"label"
>
<?=
$panel
->
data
[
'action'
]
?>
</span></a>
</div>
</div>
extensions/debug/views/default/toolbar.php
View file @
2698717b
...
@@ -26,6 +26,11 @@ EOD;
...
@@ -26,6 +26,11 @@ EOD;
$url
=
$panels
[
'request'
]
->
getUrl
();
$url
=
$panels
[
'request'
]
->
getUrl
();
?>
?>
<div
id=
"yii-debug-toolbar"
class=
"yii-debug-toolbar-
<?=
$position
?>
"
>
<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
)
:
?>
<?php
foreach
(
$panels
as
$panel
)
:
?>
<?=
$panel
->
getSummary
()
?>
<?=
$panel
->
getSummary
()
?>
<?php
endforeach
;
?>
<?php
endforeach
;
?>
...
...
extensions/debug/views/default/view.php
View file @
2698717b
...
@@ -17,6 +17,11 @@ $this->title = 'Yii Debugger';
...
@@ -17,6 +17,11 @@ $this->title = 'Yii Debugger';
?>
?>
<div
class=
"default-view"
>
<div
class=
"default-view"
>
<div
id=
"yii-debug-toolbar"
class=
"yii-debug-toolbar-top"
>
<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"
>
<div
class=
"yii-debug-toolbar-block title"
>
<?=
Html
::
a
(
'Yii Debugger'
,
[
'index'
],
[
'title'
=>
'Back to main debug page'
])
?>
<?=
Html
::
a
(
'Yii Debugger'
,
[
'index'
],
[
'title'
=>
'Back to main debug page'
])
?>
</div>
</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