diff --git a/res/static/style/layout.css b/res/static/style/layout.css index 16cde12..2b374ed 100644 --- a/res/static/style/layout.css +++ b/res/static/style/layout.css @@ -269,10 +269,8 @@ section { .highlight_blue, .highlight_yellow, .highlight_red { - position: relative; width: auto; height: auto; - overflow: hidden; text-align: center; padding: 4px; border-radius: 8px; diff --git a/svelte/src/admin_panel/PeerTable.svelte b/svelte/src/admin_panel/PeerTable.svelte index 57a41b5..7474aec 100644 --- a/svelte/src/admin_panel/PeerTable.svelte +++ b/svelte/src/admin_panel/PeerTable.svelte @@ -17,7 +17,7 @@ let update_peers = (peers) => { sort("") } -let sort_field = "address" +let sort_field = "hostname" let asc = true let sort = (field) => { if (field !== "" && field === sort_field) { @@ -54,7 +54,8 @@ let sort = (field) => { - + + @@ -67,7 +68,7 @@ let sort = (field) => { - {#each peers as peer (peer.address)} + {#each peers as peer (peer.ip)} { class:highlight_green={peer.reachable} animate:flip={{duration: 1000}} > - + + diff --git a/svelte/src/home_page/ForCreators.svelte b/svelte/src/home_page/ForCreators.svelte index f073018..9b7837d 100644 --- a/svelte/src/home_page/ForCreators.svelte +++ b/svelte/src/home_page/ForCreators.svelte @@ -19,19 +19,10 @@ import Euro from "../util/Euro.svelte"; Sunrise

Simple and affordable pricing

- - No file expiry: -
- 240 day file expiry: -
diff --git a/svelte/src/user_home/Subscription.svelte b/svelte/src/user_home/Subscription.svelte index de41bd4..6726247 100644 --- a/svelte/src/user_home/Subscription.svelte +++ b/svelte/src/user_home/Subscription.svelte @@ -65,8 +65,7 @@ onMount(() => {

Payment successful!

Thank you for supporting pixeldrain! The credit has been added - to your account balance. Activate a subscription plan below to - finish upgrading your account. + to your account balance.

If your account credit has not been updated, please check the @@ -74,7 +73,8 @@ onMount(() => { href="/user/prepaid/deposit#invoices">the invoices page. Depending on the payment processor you used it can take a while before your credit is deposited. SEPA transfers can take up to - two working days for example. If it takes too long contact + two working days for example. When the deposit is complete you + will receive an e-mail. If it takes too long, contact support@pixeldrain.com.

@@ -92,7 +92,7 @@ onMount(() => { Pixeldrain cannot modify your Patreon membership in any way.

- Prepaid subscriptions are charged daily based on usage. When you reach + The Prepaid plan is charged daily based on usage. When you reach negative balance the subscription will automatically end. You will need a positive balance to activate the subscription again.

@@ -178,63 +178,14 @@ onMount(() => { -
-
- 240 days storage
- {#if subscription === "prepaid_temp_storage_120d"} - Currently active - {:else} - - {/if} -
-
-

- You will need a positive account balance to activate this - plan. -

- -
-
Free
{#if subscription === ""} Currently active - {:else} - {/if}
-

- Switching to the free plan with another subscription active - may cause your files to expire! -

AddressHostnameAddress Err Load Ping
{peer.address}{peer.hostname}{peer.ip} {peer.unreachable_count} {peer.load_1_min.toFixed(1)} / {peer.load_5_min.toFixed(1)} / {peer.load_15_min.toFixed(1)} {(peer.latency/1000).toFixed(3)}