Added futter. Fixes #1822
This commit is contained in:
parent
bffdcdd416
commit
ca6da5de54
@ -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);
|
|||||||
]) ?>
|
]) ?>
|
||||||
<?= $content ?>
|
<?= $content ?>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<footer class="footer">
|
<footer class="footer">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
@ -1,12 +1,24 @@
|
|||||||
|
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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user