nicer footer

This commit is contained in:
Adrian Goldner
2019-02-07 09:47:17 +01:00
parent 8d92cbd697
commit 55a9d493ca
2 changed files with 18 additions and 14 deletions
+14 -12
View File
@@ -1,14 +1,16 @@
<nav class="navbar navbar-expand-lg navbar-light bg-light"> <footer>
<p class="text-muted"> <div class="container">
This page took {{ number_format(microtime(true) - LARAVEL_START, 3) }} seconds to render. <div class="row text-center">
</p> <div class="col">
<p class="text-muted m-0">
This page took {{ number_format(microtime(true) - LARAVEL_START, 3) }} seconds to render.
</p>
</div>
</div>
</div>
@auth @auth
<form id="logout-form" action="{{ route('logout') }}" <a class='btn btn-sm btn-outline-primary ml-2' href="{{ route('logout') }}">
method="POST">
@csrf
<button class='btn btn-outline-primary ml-' type='submit' id='submit'>
Logout
</button>
</form>
@endauth @endauth
</nav> </footer>
+4 -2
View File
@@ -22,9 +22,11 @@
.footer { .footer {
margin-top: 100px; margin-top: 100px;
width: 100%; width: 100%;
height: 60px; /*height: 60px;*/
line-height: 60px;
background-color: #f5f5f5; background-color: #f5f5f5;
padding: 1.5rem 0 !important;
position: absolute;
bottom: 0;
} }
</style> </style>
</head> </head>