Commit 98e9f307 by Nikola Trifunovic

Added futter. Fixes #1822

parent 11fb738c
...@@ -22,6 +22,7 @@ AppAsset::register($this); ...@@ -22,6 +22,7 @@ AppAsset::register($this);
</head> </head>
<body> <body>
<?php $this->beginBody() ?> <?php $this->beginBody() ?>
<div class="wrap">
<?php <?php
NavBar::begin([ NavBar::begin([
'brandLabel' => 'My Company', 'brandLabel' => 'My Company',
...@@ -51,6 +52,7 @@ AppAsset::register($this); ...@@ -51,6 +52,7 @@ AppAsset::register($this);
]) ?> ]) ?>
<?= $content ?> <?= $content ?>
</div> </div>
</div>
<footer class="footer"> <footer class="footer">
<div class="container"> <div class="container">
......
html,
body { body {
padding-top: 70px; height: 100%;
}
.wrap {
min-height: 100%;
height: auto;
margin: 0 auto -60px;
padding: 0 0 60px;
}
.wrap > .container {
padding: 70px 15px 20px;
} }
.footer { .footer {
height: 60px;
background-color: #f5f5f5;
border-top: 1px solid #ddd; border-top: 1px solid #ddd;
margin-top: 30px; padding-top: 20px;
padding-top: 15px;
padding-bottom: 30px;
} }
.jumbotron { .jumbotron {
......
...@@ -23,6 +23,7 @@ AppAsset::register($this); ...@@ -23,6 +23,7 @@ AppAsset::register($this);
</head> </head>
<body> <body>
<?php $this->beginBody() ?> <?php $this->beginBody() ?>
<div class="wrap">
<?php <?php
NavBar::begin([ NavBar::begin([
'brandLabel' => 'My Company', 'brandLabel' => 'My Company',
...@@ -56,6 +57,7 @@ AppAsset::register($this); ...@@ -56,6 +57,7 @@ AppAsset::register($this);
<?= Alert::widget() ?> <?= Alert::widget() ?>
<?= $content ?> <?= $content ?>
</div> </div>
</div>
<footer class="footer"> <footer class="footer">
<div class="container"> <div class="container">
......
html,
body { body {
padding-top: 70px; height: 100%;
}
.wrap {
min-height: 100%;
height: auto;
margin: 0 auto -60px;
padding: 0 0 60px;
}
.wrap > .container {
padding: 70px 15px 20px;
} }
.footer { .footer {
height: 60px;
background-color: #f5f5f5;
border-top: 1px solid #ddd; border-top: 1px solid #ddd;
margin-top: 30px; padding-top: 20px;
padding-top: 15px;
padding-bottom: 30px;
} }
.jumbotron { .jumbotron {
......
...@@ -21,7 +21,9 @@ AppAsset::register($this); ...@@ -21,7 +21,9 @@ AppAsset::register($this);
<?php $this->head() ?> <?php $this->head() ?>
</head> </head>
<body> <body>
<?php $this->beginBody() ?> <?php $this->beginBody() ?>
<div class="wrap">
<?php <?php
NavBar::begin([ NavBar::begin([
'brandLabel' => 'My Company', 'brandLabel' => 'My Company',
...@@ -52,6 +54,7 @@ AppAsset::register($this); ...@@ -52,6 +54,7 @@ AppAsset::register($this);
]) ?> ]) ?>
<?= $content ?> <?= $content ?>
</div> </div>
</div>
<footer class="footer"> <footer class="footer">
<div class="container"> <div class="container">
......
html,
body { body {
padding-top: 70px; height: 100%;
}
.wrap {
min-height: 100%;
height: auto;
margin: 0 auto -60px;
padding: 0 0 60px;
}
.wrap > .container {
padding: 70px 15px 20px;
} }
.footer { .footer {
height: 60px;
background-color: #f5f5f5;
border-top: 1px solid #ddd; border-top: 1px solid #ddd;
margin-top: 30px; padding-top: 20px;
padding-top: 15px;
padding-bottom: 30px;
} }
.jumbotron { .jumbotron {
......
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