From a0a64669ffefca1a978b03223501675f5da69022 Mon Sep 17 00:00:00 2001
From: Daniel Supernault <danielsupernault@gmail.com>
Date: Thu, 23 Aug 2018 19:17:21 -0600
Subject: [PATCH] Add sensitive report forms

---
 .../views/report/sensitive/comment.blade.php  | 45 +++++++++++++++++++
 .../views/report/sensitive/post.blade.php     | 45 +++++++++++++++++++
 .../views/report/sensitive/profile.blade.php  | 45 +++++++++++++++++++
 3 files changed, 135 insertions(+)
 create mode 100644 resources/views/report/sensitive/comment.blade.php
 create mode 100644 resources/views/report/sensitive/post.blade.php
 create mode 100644 resources/views/report/sensitive/profile.blade.php

diff --git a/resources/views/report/sensitive/comment.blade.php b/resources/views/report/sensitive/comment.blade.php
new file mode 100644
index 00000000..5313098b
--- /dev/null
+++ b/resources/views/report/sensitive/comment.blade.php
@@ -0,0 +1,45 @@
+@extends('layouts.app')
+
+@section('content')
+
+<div class="container mt-4 mb-5 pb-5">
+  <div class="col-12 col-md-8 offset-md-2">
+    <div class="card">
+      <div class="card-header lead font-weight-bold">
+        Report Sensitive Comment
+      </div>
+      <div class="card-body">
+        <div class="row">
+          <div class="col-12 col-md-10 offset-md-1 my-3">
+            <form method="post" action="{{route('report.form')}}">
+              @csrf
+              <input type="hidden" name="report" value="sensitive"></input>
+              <input type="hidden" name="type" value="{{request()->query('type')}}"></input>
+              <input type="hidden" name="id" value="{{request()->query('id')}}"></input>
+              <div class="form-group row">
+                <label class="col-sm-3 col-form-label font-weight-bold text-right">Message</label>
+                <div class="col-sm-9">
+                  <textarea class="form-control" name="msg" placeholder="Add an optional message for mods/admins" rows="4"></textarea>
+                </div>
+              </div>
+              <hr>
+              <div class="form-group row">
+                <div class="col-12">
+                  <button type="submit" class="btn btn-primary btn-block font-weight-bold">Submit</button>
+                </div>
+              </div>
+            </form>
+          </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>
+  </div>
+</div>
+
+@endsection
\ No newline at end of file
diff --git a/resources/views/report/sensitive/post.blade.php b/resources/views/report/sensitive/post.blade.php
new file mode 100644
index 00000000..bb6e47e1
--- /dev/null
+++ b/resources/views/report/sensitive/post.blade.php
@@ -0,0 +1,45 @@
+@extends('layouts.app')
+
+@section('content')
+
+<div class="container mt-4 mb-5 pb-5">
+  <div class="col-12 col-md-8 offset-md-2">
+    <div class="card">
+      <div class="card-header lead font-weight-bold">
+        Report Sensitive Post
+      </div>
+      <div class="card-body">
+        <div class="row">
+          <div class="col-12 col-md-10 offset-md-1 my-3">
+            <form method="post" action="{{route('report.form')}}">
+              @csrf
+              <input type="hidden" name="report" value="sensitive"></input>
+              <input type="hidden" name="type" value="{{request()->query('type')}}"></input>
+              <input type="hidden" name="id" value="{{request()->query('id')}}"></input>
+              <div class="form-group row">
+                <label class="col-sm-3 col-form-label font-weight-bold text-right">Message</label>
+                <div class="col-sm-9">
+                  <textarea class="form-control" name="msg" placeholder="Add an optional message for mods/admins" rows="4"></textarea>
+                </div>
+              </div>
+              <hr>
+              <div class="form-group row">
+                <div class="col-12">
+                  <button type="submit" class="btn btn-primary btn-block font-weight-bold">Submit</button>
+                </div>
+              </div>
+            </form>
+          </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>
+  </div>
+</div>
+
+@endsection
\ No newline at end of file
diff --git a/resources/views/report/sensitive/profile.blade.php b/resources/views/report/sensitive/profile.blade.php
new file mode 100644
index 00000000..c6b00bef
--- /dev/null
+++ b/resources/views/report/sensitive/profile.blade.php
@@ -0,0 +1,45 @@
+@extends('layouts.app')
+
+@section('content')
+
+<div class="container mt-4 mb-5 pb-5">
+  <div class="col-12 col-md-8 offset-md-2">
+    <div class="card">
+      <div class="card-header lead font-weight-bold">
+        Report Sensitive Profile
+      </div>
+      <div class="card-body">
+        <div class="row">
+          <div class="col-12 col-md-10 offset-md-1 my-3">
+            <form method="post" action="{{route('report.form')}}">
+              @csrf
+              <input type="hidden" name="report" value="sensitive"></input>
+              <input type="hidden" name="type" value="{{request()->query('type')}}"></input>
+              <input type="hidden" name="id" value="{{request()->query('id')}}"></input>
+              <div class="form-group row">
+                <label class="col-sm-3 col-form-label font-weight-bold text-right">Message</label>
+                <div class="col-sm-9">
+                  <textarea class="form-control" name="msg" placeholder="Add an optional message for mods/admins" rows="4"></textarea>
+                </div>
+              </div>
+              <hr>
+              <div class="form-group row">
+                <div class="col-12">
+                  <button type="submit" class="btn btn-primary btn-block font-weight-bold">Submit</button>
+                </div>
+              </div>
+            </form>
+          </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>
+  </div>
+</div>
+
+@endsection
\ No newline at end of file