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
5f659f90
Commit
5f659f90
authored
Dec 25, 2013
by
Qiang Xue
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1614 from tanakahisateru/gii-nav-layout
Gii should keep horizontal layout
parents
9ed1ed6e
11ff78e4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
view.php
extensions/yii/gii/views/default/view.php
+1
-1
generator.php
extensions/yii/gii/views/layouts/generator.php
+2
-2
No files found.
extensions/yii/gii/views/default/view.php
View file @
5f659f90
...
...
@@ -33,7 +33,7 @@ foreach ($generator->templates as $name => $path) {
'fieldConfig'
=>
[
'class'
=>
ActiveField
::
className
()],
]);
?>
<div
class=
"row"
>
<div
class=
"col-lg-8"
>
<div
class=
"col-lg-8
col-md-10
"
>
<?=
$this
->
renderFile
(
$generator
->
formView
(),
[
'generator'
=>
$generator
,
'form'
=>
$form
,
...
...
extensions/yii/gii/views/layouts/generator.php
View file @
5f659f90
...
...
@@ -12,7 +12,7 @@ $activeGenerator = Yii::$app->controller->generator;
?>
<?php
$this
->
beginContent
(
'@yii/gii/views/layouts/main.php'
);
?>
<div
class=
"row"
>
<div
class=
"col-
lg-3
"
>
<div
class=
"col-
md-3 col-sm-4
"
>
<div
class=
"list-group"
>
<?php
foreach
(
$generators
as
$id
=>
$generator
)
{
...
...
@@ -24,7 +24,7 @@ $activeGenerator = Yii::$app->controller->generator;
?>
</div>
</div>
<div
class=
"col-
lg-9
"
>
<div
class=
"col-
md-9 col-sm-8
"
>
<?=
$content
?>
</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