nojs layout

This commit is contained in:
noxy
2019-08-28 04:31:40 +00:00
parent da71b95aa2
commit 19f4b7d26f
11 changed files with 157 additions and 18 deletions

View File

@@ -31,6 +31,12 @@
<div class="col-md p-0">
@include('partials.navigation')
@include('partials.flash')
<noscript>
<div class="alert alert-warning alert-dismissible fade show" role="alert">
<strong>Javascript is disabled :(</strong> be a good neckbeard and turn it on, otherwise this Layout wont work as it should. However I can offer you to either reset to a <a href="/api/user/layout?layout=1">Layout that is nojs friendly</a> or just mind your own biz and simply block this message with your adblocker for example. Anyways have a nice day.
</button>
</div>
</noscript>
@yield('floatvid')
@include('partials.comments')
</div>