Skip to content

Commit

Permalink
add frontend for report page
Browse files Browse the repository at this point in the history
  • Loading branch information
kuldp18 committed Apr 21, 2024
1 parent 69eacf1 commit 7ae0363
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 8 deletions.
10 changes: 10 additions & 0 deletions css/report_page.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
.container {
font-size: 1.5rem;
}

form,
.form-control,
.btn,
input {
font-size: inherit;
}
32 changes: 24 additions & 8 deletions pages/report_page.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,14 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Admin Dashboard - User Management</title>
<title>Quirx - Report Page</title>
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css" integrity="sha512-SnH5WK+bZxgPHs44uWIX+LLJAJ9/2PkPKZ5QiAj6Ta86w+fsb2TkcmfRyVX3pBnMFcV7oQPJkl9QevSCWr3W6A==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.3/css/bootstrap.min.css" integrity="sha512-jnSuA4Ss2PkkikSOLtYs8BlYIeeIK1h99ty4YfvRPAlzr377vr3CXDb7sb7eEEBYjDtcYj+AjBH3FLv5uSJuXg==" crossorigin="anonymous" referrerpolicy="no-referrer" />

<link rel="stylesheet" href="../css/global.css">
<link rel="stylesheet" href="../css/navbar.css" />
<link rel="stylesheet" href="../css/report_page.css" />
</head>

<body>
Expand All @@ -44,13 +45,28 @@

?>

<div class="container mt-3">
<h1 class="mb-4 heading">Report Page</h1>




</div>
<main class="container">
<h1 class="mt-5 mb-5 heading">Submit a report</h1>
<form action="../includes/submit_report.inc.php" method="post">
<div class="form-check">
<input class="form-check-input" type="radio" name="report_type" id="videoReport" value="video" checked>
<label class="form-check-label" for="videoReport">
Report the video
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="report_type" id="userReport" value="user">
<label class="form-check-label" for="userReport">
Report the user who uploaded the video
</label>
</div>
<div class="form-group mt-3">
<label for="reason">Reason</label>
<textarea class="form-control" id="reason" name="reason" rows="2" placeholder="describe your issue here.." required></textarea>
</div>
<button type="submit" class="btn btn-danger mt-3">Report</button>
</form>
</main>



Expand Down

0 comments on commit 7ae0363

Please sign in to comment.