Commit 5f659f90 by Qiang Xue

Merge pull request #1614 from tanakahisateru/gii-nav-layout

Gii should keep horizontal layout
parents 9ed1ed6e 11ff78e4
...@@ -33,7 +33,7 @@ foreach ($generator->templates as $name => $path) { ...@@ -33,7 +33,7 @@ foreach ($generator->templates as $name => $path) {
'fieldConfig' => ['class' => ActiveField::className()], 'fieldConfig' => ['class' => ActiveField::className()],
]); ?> ]); ?>
<div class="row"> <div class="row">
<div class="col-lg-8"> <div class="col-lg-8 col-md-10">
<?= $this->renderFile($generator->formView(), [ <?= $this->renderFile($generator->formView(), [
'generator' => $generator, 'generator' => $generator,
'form' => $form, 'form' => $form,
......
...@@ -12,7 +12,7 @@ $activeGenerator = Yii::$app->controller->generator; ...@@ -12,7 +12,7 @@ $activeGenerator = Yii::$app->controller->generator;
?> ?>
<?php $this->beginContent('@yii/gii/views/layouts/main.php'); ?> <?php $this->beginContent('@yii/gii/views/layouts/main.php'); ?>
<div class="row"> <div class="row">
<div class="col-lg-3"> <div class="col-md-3 col-sm-4">
<div class="list-group"> <div class="list-group">
<?php <?php
foreach ($generators as $id => $generator) { foreach ($generators as $id => $generator) {
...@@ -24,7 +24,7 @@ $activeGenerator = Yii::$app->controller->generator; ...@@ -24,7 +24,7 @@ $activeGenerator = Yii::$app->controller->generator;
?> ?>
</div> </div>
</div> </div>
<div class="col-lg-9"> <div class="col-md-9 col-sm-8">
<?= $content ?> <?= $content ?>
</div> </div>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment