1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-29 11:15:09 +00:00
pixelfed/resources/views/report/form.blade.php

104 lines
4.3 KiB
PHP
Raw Normal View History

2018-06-01 03:23:00 +00:00
@extends('layouts.app')
@section('content')
<div class="container px-0 mt-0 mt-md-4 mb-md-5 pb-md-5">
<div class="col-12 px-0 col-md-8 offset-md-2">
2018-06-01 03:23:00 +00:00
2018-08-26 18:59:50 +00:00
<div class="card">
<div class="card-header lead font-weight-bold bg-white">
2018-06-01 03:23:00 +00:00
Report
</div>
<div class="card-body">
2018-08-26 18:59:50 +00:00
<div class="p-3 text-center">
<p class="lead">Please select one of the following options. </p>
2018-06-01 03:23:00 +00:00
</div>
<div class="row">
<div class="col-12 col-md-8 offset-md-2 my-3">
2018-08-26 18:59:50 +00:00
<p><a class="btn btn-light btn-block p-4 font-weight-bold" href="{{route('report.not-interested', ['type' => request()->query('type'),'id' => request()->query('id')])}}">
I'm not interested in this content
2018-06-01 03:23:00 +00:00
</a></p>
</div>
2018-08-26 18:59:50 +00:00
@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', ['type' => request()->query('type'),'id' => request()->query('id')])}}">
This comment contains spam
2018-06-01 03:23:00 +00:00
</a></p>
</div>
<div class="col-12 col-md-8 offset-md-2 my-3">
2018-08-26 18:59:50 +00:00
<p>
<a class="btn btn-light btn-block p-4 font-weight-bold" href="{{route('report.sensitive.comment', ['type' => request()->query('type'),'id' => request()->query('id')])}}">
This comment contains sensitive content
</a>
</p>
2018-06-01 03:23:00 +00:00
</div>
<div class="col-12 col-md-8 offset-md-2 my-3">
2018-08-26 18:59:50 +00:00
<p>
<a class="btn btn-light btn-block p-4 font-weight-bold" href="{{route('report.abusive.comment', ['type' => request()->query('type'),'id' => request()->query('id')])}}">
Its abusive or harmful
</a>
</p>
</div>
@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', ['type' => request()->query('type'),'id' => request()->query('id')])}}">
This post contains spam
</a>
</p>
</div>
<div class="col-12 col-md-8 offset-md-2 my-3">
<p>
<a class="btn btn-light btn-block p-4 font-weight-bold" href="{{route('report.sensitive.post', ['type' => request()->query('type'),'id' => request()->query('id')])}}">
This post contains sensitive content
</a>
</p>
</div>
<div class="col-12 col-md-8 offset-md-2 my-3">
<p>
<a class="btn btn-light btn-block p-4 font-weight-bold" href="{{route('report.abusive.post', ['type' => request()->query('type'),'id' => request()->query('id')])}}">
This post is abusive or harmful
</a>
</p>
</div>
@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', ['type' => request()->query('type'),'id' => request()->query('id')])}}">
This users profile contains spam
</a>
</p>
</div>
<div class="col-12 col-md-8 offset-md-2 my-3">
<p>
<a class="btn btn-light btn-block p-4 font-weight-bold" href="{{route('report.sensitive.profile', ['type' => request()->query('type'),'id' => request()->query('id')])}}">
This users profile contains sensitive content
</a>
</p>
</div>
<div class="col-12 col-md-8 offset-md-2 my-3">
<p>
<a class="btn btn-light btn-block p-4 font-weight-bold" href="{{route('report.abusive.profile', ['type' => request()->query('type'),'id' => request()->query('id')])}}">
This profile is abusive or harmful
</a>
</p>
2018-06-01 03:23:00 +00:00
</div>
2018-08-26 18:59:50 +00:00
@break
@endswitch
2018-06-01 03:23:00 +00:00
<div class="col-12 col-md-8 offset-md-2 my-3">
<p><a class="font-weight-bold" href="#">
Learn more
</a> about our reporting guidelines and policy.</p>
</div>
</div>
</div>
</div>
</div>
</div>
@endsection