Add option to add description to abuse report

This commit is contained in:
Pixeldrain-Server committed 2023-11-01 13:39:53 +01:00
1 parent c5b6b7d773
commit 611a905da7
3 files changed
+30 -9

No files matched your search

@@ -99,6 +99,14 @@ let set_status = async (action, report_type) => {
{/if}
</td>
</tr>
{#if user_report.description !== ""}
<tr>
<td>Description</td>
<td colspan="4" style="white-space: pre;">
{user_report.description}
</td>
</tr>
{/if}
{/each}
</table>
</div>
+1 -2
View File
@@ -160,9 +160,8 @@ onMount(() => {
<div class="toolbar" style="text-align: left;">
<div>Reports: {reports.length}</div>
<div class="toolbar_spacer"></div>
<div>Start:</div>
<div>Range:</div>
<input type="date" bind:this={startPicker}/>
<div>End:</div>
<input type="date" bind:this={endPicker}/>
<button on:click={get_reports}>Go</button>
</div>