2021-05-25 22:15:29 +02:00
|
|
|
<script>
|
|
|
|
import AbuseReports from "./AbuseReports.svelte"
|
2022-10-18 14:30:50 +02:00
|
|
|
import IPBans from "./IPBans.svelte"
|
2021-05-25 22:15:29 +02:00
|
|
|
import Home from "./Home.svelte"
|
2021-09-23 22:16:53 +02:00
|
|
|
import BlockFiles from "./BlockFiles.svelte";
|
2022-10-18 14:30:50 +02:00
|
|
|
import TabMenu from "../util/TabMenu.svelte";
|
|
|
|
import UserManagement from "./UserManagement.svelte";
|
|
|
|
import EmailReporters from "./EmailReporters.svelte";
|
2023-10-11 19:49:17 +02:00
|
|
|
import MollieSettlements from "./MollieSettlements.svelte";
|
2024-01-31 18:43:08 +01:00
|
|
|
import PayPalTaxes from "./PayPalTaxes.svelte";
|
2024-06-14 17:21:31 +02:00
|
|
|
import UserBans from "./UserBans.svelte";
|
2021-05-25 22:15:29 +02:00
|
|
|
|
2022-10-18 14:30:50 +02:00
|
|
|
let pages = [
|
|
|
|
{
|
|
|
|
path: "/admin",
|
|
|
|
title: "Status",
|
|
|
|
icon: "home",
|
|
|
|
component: Home,
|
|
|
|
}, {
|
|
|
|
path: "/admin/block_files",
|
|
|
|
title: "Block Files",
|
|
|
|
icon: "block",
|
|
|
|
component: BlockFiles,
|
|
|
|
}, {
|
|
|
|
path: "/admin/abuse_reports",
|
|
|
|
title: "User Reports",
|
|
|
|
icon: "flag",
|
|
|
|
component: AbuseReports,
|
|
|
|
}, {
|
|
|
|
path: "/admin/email_reporters",
|
|
|
|
title: "E-mail Reporters",
|
|
|
|
icon: "email",
|
|
|
|
component: EmailReporters,
|
|
|
|
}, {
|
|
|
|
path: "/admin/ip_bans",
|
|
|
|
title: "IP Bans",
|
|
|
|
icon: "remove_circle",
|
|
|
|
component: IPBans,
|
2024-06-14 17:21:31 +02:00
|
|
|
}, {
|
|
|
|
path: "/admin/user_bans",
|
|
|
|
title: "User Bans",
|
|
|
|
icon: "person_remove",
|
|
|
|
component: UserBans,
|
2022-10-18 14:30:50 +02:00
|
|
|
}, {
|
|
|
|
path: "/admin/user_management",
|
|
|
|
title: "User Management",
|
|
|
|
icon: "person",
|
|
|
|
component: UserManagement,
|
2023-10-11 19:49:17 +02:00
|
|
|
}, {
|
|
|
|
path: "/admin/mollie_settlements",
|
2024-01-31 18:43:08 +01:00
|
|
|
title: "Prepaid accounting",
|
2023-10-11 19:49:17 +02:00
|
|
|
icon: "paid",
|
|
|
|
component: MollieSettlements,
|
2024-01-31 18:43:08 +01:00
|
|
|
subpages: [
|
|
|
|
{
|
|
|
|
path: "/admin/mollie_settlements",
|
|
|
|
title: "Mollie Settlements",
|
|
|
|
icon: "paid",
|
|
|
|
component: MollieSettlements,
|
|
|
|
}, {
|
|
|
|
path: "/admin/paypal_taxes",
|
|
|
|
title: "Paypal Taxes",
|
|
|
|
icon: "paypal",
|
|
|
|
component: PayPalTaxes,
|
|
|
|
},
|
|
|
|
],
|
2022-10-18 14:30:50 +02:00
|
|
|
},
|
|
|
|
]
|
2021-05-25 22:15:29 +02:00
|
|
|
</script>
|
|
|
|
|
2022-10-18 14:30:50 +02:00
|
|
|
<TabMenu pages={pages} title="Admin Panel"/>
|