mirror of
https://github.com/pixelfed/pixelfed.git
synced 2025-01-30 19:03:21 +00:00
Update views with noscript warnings
This commit is contained in:
parent
25a7d91b7f
commit
eaca43a629
4 changed files with 24 additions and 24 deletions
|
@ -11,6 +11,13 @@
|
|||
@if($profile->website)
|
||||
<a class="d-none" href="{{$profile->website}}" rel="me">{{$profile->website}}</a>
|
||||
@endif
|
||||
|
||||
<noscript>
|
||||
<div class="container">
|
||||
<p class="pt-5 text-center lead">Please enable javascript to view this content.</p>
|
||||
</div>
|
||||
</noscript>
|
||||
|
||||
@endsection
|
||||
|
||||
@push('meta')<meta property="og:description" content="{{$profile->bio}}">
|
||||
|
@ -22,20 +29,7 @@
|
|||
@endif
|
||||
@endpush
|
||||
|
||||
@push('styles')
|
||||
<style type="text/css">
|
||||
.navbar {
|
||||
border: none !important;
|
||||
}
|
||||
</style>
|
||||
@endpush
|
||||
@push('scripts')<script type="text/javascript" src="{{ mix('js/profile.js') }}"></script>
|
||||
<script type="text/javascript" defer>App.boot();</script>
|
||||
|
||||
@push('scripts')
|
||||
<script type="text/javascript" src="{{ mix('js/profile.js') }}"></script>
|
||||
<script type="text/javascript" src="{{ mix('js/compose.js') }}"></script>
|
||||
<script type="text/javascript">
|
||||
new Vue({
|
||||
el: '#content'
|
||||
});
|
||||
</script>
|
||||
@endpush
|
||||
|
|
|
@ -2,10 +2,8 @@
|
|||
|
||||
@section('content')
|
||||
<noscript>
|
||||
<div class="card">
|
||||
<div class="card-body container text-center font-weight-bold">
|
||||
This website requires javascript, please enable it and refresh the page.
|
||||
</div>
|
||||
<div class="container">
|
||||
<p class="pt-5 text-center lead">Please enable javascript to view this content.</p>
|
||||
</div>
|
||||
</noscript>
|
||||
<div class="mt-md-4"></div>
|
||||
|
|
|
@ -4,6 +4,12 @@
|
|||
|
||||
<timeline scope="home" layout="feed"></timeline>
|
||||
|
||||
<noscript>
|
||||
<div class="container">
|
||||
<p class="pt-5 text-center lead">Please enable javascript to view this content.</p>
|
||||
</div>
|
||||
</noscript>
|
||||
|
||||
@endsection
|
||||
|
||||
@push('scripts')
|
||||
|
|
|
@ -4,14 +4,16 @@
|
|||
|
||||
<timeline scope="local" layout="feed"></timeline>
|
||||
|
||||
<noscript>
|
||||
<div class="container">
|
||||
<p class="pt-5 text-center lead">Please enable javascript to view this content.</p>
|
||||
</div>
|
||||
</noscript>
|
||||
|
||||
@endsection
|
||||
|
||||
@push('scripts')
|
||||
<script type="text/javascript" src="{{ mix('js/timeline.js') }}"></script>
|
||||
<script type="text/javascript" src="{{ mix('js/compose.js') }}"></script>
|
||||
<script type="text/javascript">
|
||||
new Vue({
|
||||
el: '#content'
|
||||
});
|
||||
</script>
|
||||
<script type="text/javascript">window.App.boot()</script>
|
||||
@endpush
|
Loading…
Reference in a new issue