Update views

This commit is contained in:
Daniel Supernault 2019-12-11 01:25:56 -07:00
parent c369882b48
commit b94af397c9
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7
6 changed files with 4 additions and 41 deletions

View file

@ -7,7 +7,9 @@
<div class="d-flex justify-content-between align-items-center"> <div class="d-flex justify-content-between align-items-center">
<div></div> <div></div>
<a href="/account/activity" class="cursor-pointer font-weight-bold text-primary">Notifications</a> <a href="/account/activity" class="cursor-pointer font-weight-bold text-primary">Notifications</a>
@if(request()->user()->profile->is_private)
<a href="/account/follow-requests" class="cursor-pointer font-weight-bold text-dark">Follow Requests</a> <a href="/account/follow-requests" class="cursor-pointer font-weight-bold text-dark">Follow Requests</a>
@endif
<div></div> <div></div>
</div> </div>
</div> </div>
@ -17,11 +19,6 @@
@endsection @endsection
@push('scripts') @push('scripts')
<script type="text/javascript" src="{{ mix('js/compose.js') }}"></script>
<script type="text/javascript" src="{{ mix('js/activity.js') }}"></script> <script type="text/javascript" src="{{ mix('js/activity.js') }}"></script>
<script type="text/javascript"> <script type="text/javascript">window.App.boot();</script>
new Vue({
el: '#content'
});
</script>
@endpush @endpush

View file

@ -49,6 +49,7 @@
@push('scripts') @push('scripts')
<script type="text/javascript"> <script type="text/javascript">
App.boot();
$(document).ready(function() { $(document).ready(function() {
$(document).on('click', '.request-action', function(e) { $(document).on('click', '.request-action', function(e) {
e.preventDefault(); e.preventDefault();

View file

@ -24,9 +24,6 @@
@push('styles') @push('styles')
<style type="text/css"> <style type="text/css">
body {
background: #fff !important;
}
.navbar { .navbar {
border: none !important; border: none !important;
} }

View file

@ -24,16 +24,6 @@
<meta property="og:video" content="{{$status->mediaUrl()}}"> <meta property="og:video" content="{{$status->mediaUrl()}}">
@endif @endif
@endpush @endpush
@push('styles')
<style type="text/css">
body {
background: #fff !important;
}
.navbar {
border: none !important;
}
</style>
@endpush
@push('scripts') @push('scripts')
<script type="text/javascript" src="{{ mix('js/status.js') }}"></script> <script type="text/javascript" src="{{ mix('js/status.js') }}"></script>

View file

@ -6,17 +6,6 @@
@endsection @endsection
@push('styles')
<style type="text/css">
body {
background: #fff !important;
}
.navbar {
border: none !important;
}
</style>
@endpush
@push('scripts') @push('scripts')
<script type="text/javascript" src="{{ mix('js/timeline.js') }}"></script> <script type="text/javascript" src="{{ mix('js/timeline.js') }}"></script>
<script type="text/javascript" src="{{ mix('js/compose.js') }}"></script> <script type="text/javascript" src="{{ mix('js/compose.js') }}"></script>

View file

@ -6,17 +6,6 @@
@endsection @endsection
@push('styles')
<style type="text/css">
body {
background: #fff !important;
}
.navbar {
border: none !important;
}
</style>
@endpush
@push('scripts') @push('scripts')
<script type="text/javascript" src="{{ mix('js/timeline.js') }}"></script> <script type="text/javascript" src="{{ mix('js/timeline.js') }}"></script>
<script type="text/javascript" src="{{ mix('js/compose.js') }}"></script> <script type="text/javascript" src="{{ mix('js/compose.js') }}"></script>