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