diff --git a/res/static/style/layout.css b/res/static/style/layout.css index 4065f1d..c7ddd05 100644 --- a/res/static/style/layout.css +++ b/res/static/style/layout.css @@ -381,7 +381,8 @@ table:not(.form) { min-width: 100%; } -tr>td { +tr>td, +tr>th { padding: 0.2em 0.5em; } diff --git a/svelte/src/admin_panel/FileInfo.svelte b/svelte/src/admin_panel/FileInfo.svelte index 1457f3c..d39c488 100644 --- a/svelte/src/admin_panel/FileInfo.svelte +++ b/svelte/src/admin_panel/FileInfo.svelte @@ -70,7 +70,6 @@ const date = (d: string) => (!d || d.startsWith("0001-")) ? "never" : formatDate
| Reason | -Reporter | -Ban time | -Expire time | -File | -
| {offence.reason} | -{offence.reporter} | -{formatDate(offence.ban_time, true, true, false)} | -{formatDate(offence.expire_time, true, true, false)} | -- {#if offence.file_link} - - {offence.file_name} - - {/if} - | -
- Your user account has been banned from uploading to - Nova due to violation of the - content policy. Below is a list of - files originating from your account which have been blocked: -
- -| File | -Reason | -Ban date | -Expiry date | -
| - {#if offence.file_link} - - {offence.file_name} - - {/if} - | -{offence.reason} | -{formatDate(offence.ban_time, false, false, false)} | -{formatDate(offence.expire_time, false, false, false)} | -
- If you would like to dispute your account ban you can mail me at - support@nova.storage. Please do not mail unless you have a - good reason. If you do not provide a valid reason why the ban - should be reversed your e-mail will be ignored. And do not - forget to put your username ({$user === null ? "" : $user.username}) in the - e-mail. -
-- Your IP address ({result.address}) has been banned from - uploading to Nova due to violation of the - content policy. Below is a list of - files originating from your IP address which have been - blocked: -
- {:else} -- Your IP address ({result.address}) has received copyright - strikes. At 10 copyright strikes your IP address will be banned - and you will be unable to upload files to Nova. Below is a - list of files originating from your IP address which have been - blocked: -
- {/if} - -| File | -Reason | -Ban date | -Expiry date | -
| - {#if offence.file_link} - - {offence.file_name} - - {/if} - | -{offence.reason} | -{formatDate(offence.ban_time, false, false, false)} | -{formatDate(offence.expire_time, false, false, false)} | -
- That these files originated from your IP address does not - necessarily mean that they were uploaded by you. It's possible - that people on your home/business network are sharing the same - IP address. If you're using a VPN then there are often many - people using the same IP address. And some ISPs deploy CGNAT, in - which case there could be hundreds of people sharing the same IP - address. In all of these cases IPv6 is the solution, but most - ISPs are decades behind on implementing internet standards. They - just don't care. -
-- Now you may be asking: If IP banning is so unreliable, why are - you still using it? Well, I need to protect my service from - abuse somehow. The alternative is authenticating every user. - This adds another barrier to entry and generally complicates - things. -
-- If you would like to dispute your IP ban you can mail me at - support@nova.storage. Please do not mail unless you have a good - reason. If you do not provide a valid reason why the IP ban should - be reversed your e-mail will be ignored. And do not forget to put - your IP address ({result.address}) in the e-mail. -
-+ Your user account has been banned from uploading to + Nova due to violation of the + content policy. Below is a list of + files originating from your account which have been blocked: +
+ +| File | +Reason | +Ban date | +Expiry date | +
| + {#if offence.file_link} + + {offence.file_name} + + {/if} + | +{offence.reason} | +{formatDate(offence.ban_time, false, false, false)} | +{formatDate(offence.expire_time, false, false, false)} | +
+ If you would like to dispute your account ban you can mail me at + support@nova.storage. Please do not mail unless you have a + good reason. If you do not provide a valid reason why the ban + should be reversed your e-mail will be ignored. And do not + forget to put your username ({$user === null ? "" : $user.username}) in the + e-mail. +
+