Views: Put footer below the last content block
This commit is contained in:
@@ -81,6 +81,4 @@ use \App\Classes\Config;
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<div class="pb-5"></div>
|
||||
</div>
|
||||
|
||||
@@ -56,8 +56,6 @@
|
||||
|
||||
<input type="hidden" name="_token" value="<?= $this->csrfToken; ?>" />
|
||||
</form>
|
||||
|
||||
<div class="pb-5"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -61,8 +61,6 @@
|
||||
|
||||
<input type="hidden" name="_token" value="<?= $this->csrfToken; ?>" />
|
||||
</form>
|
||||
|
||||
<div class="pb-5"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -64,8 +64,6 @@
|
||||
<a class="btn btn-dark" href="<?= $this->url ?>/create">New <?= $this->title; ?></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="pb-5"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -33,8 +33,6 @@
|
||||
<?php } ?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div class="pb-5"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -8,6 +8,4 @@
|
||||
<?= !empty($this->user->last_name) ? ' ' . $this->user->last_name : ''; ?>
|
||||
</h3>
|
||||
</div>
|
||||
|
||||
<div class="pb-5"></div>
|
||||
</div>
|
||||
|
||||
@@ -84,7 +84,6 @@
|
||||
|
||||
<?= $this->partial('../app/views/partials/pagination.php'); ?>
|
||||
|
||||
<div class="pb-5"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -28,6 +28,4 @@
|
||||
|
||||
<div id="syntax-parse"><pre class="line-numbers mb-4"><code class=""></code></pre></div>
|
||||
<textarea id="syntax-parse-copy" class="admin-hidden"></textarea>
|
||||
|
||||
<div class="pb-5"></div>
|
||||
</div>
|
||||
|
||||
@@ -17,10 +17,6 @@
|
||||
<?php if ($this->injectView != '') { ?>
|
||||
<?= $this->partial($this->injectView); ?>
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($key === array_key_last($this->contents)) { ?>
|
||||
<div class="pb-5"></div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
@@ -3,6 +3,4 @@
|
||||
<p>Error <strong>404</strong>.</p>
|
||||
<p>requested URL <?= $_SERVER["REQUEST_URI"] ?> was not found on this server.</p>
|
||||
</div>
|
||||
|
||||
<div class="pb-5"></div>
|
||||
</div>
|
||||
|
||||
@@ -22,6 +22,4 @@
|
||||
<br>
|
||||
<a href="<?= Config::c('APP_URL'); ?>/reset-password">Forgot password</a>?
|
||||
<?php } ?>
|
||||
|
||||
<div class="pb-5"></div>
|
||||
</div>
|
||||
|
||||
@@ -2,10 +2,8 @@
|
||||
use App\Classes\Config;
|
||||
?>
|
||||
|
||||
<footer class="mb-4">
|
||||
<div class="row">
|
||||
<div class="col-12 col-lg-12">
|
||||
<footer class="row mb-2">
|
||||
<div class="col-12">
|
||||
© <?= date('Y'); ?> Rick van Vonderen
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
@@ -9,6 +9,4 @@
|
||||
<?php } ?>
|
||||
|
||||
<?= $this->partial($this->injectView); ?>
|
||||
|
||||
<div class="pb-5"></div>
|
||||
</div>
|
||||
|
||||
@@ -30,8 +30,7 @@ nav.shadow {
|
||||
|
||||
.content {
|
||||
position: relative;
|
||||
/* height: calc(100% - 56px); */
|
||||
min-height: calc(100vh - 80px);
|
||||
min-height: calc(100vh - 104px - .5rem);
|
||||
padding: 20px 20px 50px 20px;
|
||||
|
||||
background-color: #fff;
|
||||
@@ -124,12 +123,6 @@ h3 span {
|
||||
/*----------------------------------------*/
|
||||
|
||||
footer {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
width: calc(100% - 30px);
|
||||
height: 50px;
|
||||
padding-top: 10px;
|
||||
|
||||
text-align: center;
|
||||
color: #909090;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user