Update report views

This commit is contained in:
Daniel Supernault 2018-08-26 12:47:26 -06:00
parent b92cc8f41e
commit 2d26ad1968
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7
2 changed files with 17 additions and 3 deletions

View file

@ -12,6 +12,11 @@
<div class="p-5 text-center">
<p class="lead">You can <b class="font-weight-bold">unfollow</b> or <b class="font-weight-bold">mute</b> a user or hashtag from appearing in your timeline. Unless the content violates our terms of service, there is nothing we can do to remove it.</p>
</div>
<div class="col-12 col-md-8 offset-md-2">
<p><a class="font-weight-bold" href="#">
Learn more
</a> about our reporting guidelines and policy.</p>
</div>
</div>
</div>
</div>

View file

@ -13,21 +13,30 @@
<p class="lead">Please select one of the following options.</p>
</div>
<div class="row">
<div class="col-12 col-md-8 offset-md-2 my-3">
@switch(request()->query('type'))
@case('comment')
<div class="col-12 col-md-8 offset-md-2 mb-3">
<p><a class="btn btn-light btn-block p-4 font-weight-bold" href="{{route('report.spam.comment')}}">
This comment contains spam
</a></p>
</div>
<div class="col-12 col-md-8 offset-md-2 my-3">
@break
@case('post')
<div class="col-12 col-md-8 offset-md-2 mb-3">
<p><a class="btn btn-light btn-block p-4 font-weight-bold" href="{{route('report.spam.post')}}">
This post contains spam
</a></p>
</div>
<div class="col-12 col-md-8 offset-md-2 my-3">
@break
@case('user')
<div class="col-12 col-md-8 offset-md-2 mb-3">
<p><a class="btn btn-light btn-block p-4 font-weight-bold" href="{{route('report.spam.profile')}}">
This users profile contains spam
</a></p>
</div>
@break
@endswitch
<div class="col-12 col-md-8 offset-md-2 my-3">
<p><a class="font-weight-bold" href="#">
Learn more