1
0
mirror of https://github.com/flarum/core.git synced 2025-08-12 03:14:33 +02:00

Build very rough HTML-only content

And redirect to the "no JS" mode if the JS app crashes on boot.

ClientView/ClientAction is all a bit of a mess and will need to be
radically cleaned up at some point...
This commit is contained in:
Toby Zerner
2015-08-06 12:21:11 +09:30
parent 80e13ae289
commit fa5c7cb123
9 changed files with 128 additions and 42 deletions

6
views/content.blade.php Normal file
View File

@@ -0,0 +1,6 @@
@if (! $noJs) <noscript> @endif
<div class="container">
<div class="Alert">You're viewing the HTML-only version of {{ $forum->attributes->title }}. Upgrade your browser for the full version.</div>
</div>
{!! $content !!}
@if (! $noJs) </noscript> @endif