Graphical overhaul.
Remove all legacy pixeldrain pages, handlers and assets. Remove old theming engine. Make logo responsive to the accent colour. Lots of other stuff.
This commit is contained in:
1 parent
7b2e4b4240
commit
58db683fc8
98 files changed
+1025
-6475
No files matched your search
@@ -3,6 +3,7 @@ import { preventDefault } from 'svelte/legacy';
|
||||
import { loading_finish, loading_start } from "lib/Loading";
|
||||
import { formatDate } from "util/Formatting";
|
||||
import CopyButton from 'layout/CopyButton.svelte';
|
||||
import NovaLogo from "util/NovaLogo.svelte";
|
||||
|
||||
let loaded = $state(false)
|
||||
let rows = $state([])
|
||||
@@ -147,7 +148,7 @@ const logout = async (key) => {
|
||||
<tr>
|
||||
<td colspan="1">
|
||||
{#if row.app_name === "website login"}
|
||||
<img src="/res/img/nova_32.png" alt="Nova logo" class="app_icon"/>
|
||||
<NovaLogo style="height: 1.6em; vertical-align: middle;"/>
|
||||
Nova website
|
||||
{:else if row.app_name === "website keys page"}
|
||||
<i class="icon">vpn_key</i>
|
||||
|
||||
@@ -52,8 +52,8 @@ let included = $derived($user === null ? 0 : $user.subscription.monthly_transfer
|
||||
</p>
|
||||
{:else}
|
||||
<p>
|
||||
Upgrade your plan{#if billable} or enable
|
||||
<a href="/user/sharing">usage based billing</a>{/if} to continue
|
||||
Upgrade your plan or enable
|
||||
<a href="/user/sharing">usage based billing</a> to continue
|
||||
sharing files.
|
||||
</p>
|
||||
<a class="button button_highlight" href="/user/subscription/manage">
|
||||
|
||||
@@ -40,9 +40,9 @@ let billed = $derived(billable && $user.usage_based_billing)
|
||||
<p>
|
||||
You are storing more than your plan allows, so you can't upload new
|
||||
files. Your existing files stay available. Delete some files or
|
||||
upgrade your plan to continue uploading{#if billable}, or enable
|
||||
upgrade your plan to continue uploading, or enable
|
||||
<a href="/user/sharing">usage based billing</a> to pay for the
|
||||
storage above the limit{/if}.
|
||||
storage above the limit.
|
||||
</p>
|
||||
<a class="button button_highlight" href="/user/subscription/manage">
|
||||
<i class="icon">bolt</i> Upgrade options
|
||||
|
||||
@@ -84,6 +84,6 @@ onMount(async () => {
|
||||
border-radius: 6px;
|
||||
}
|
||||
.red {
|
||||
background-color: rgba(255, 0, 0, 0.2);
|
||||
background-color: var(--red_tint);
|
||||
}
|
||||
</style>
|
||||
@@ -87,8 +87,8 @@ onMount(() => {
|
||||
label: "Downloads",
|
||||
borderWidth: 2,
|
||||
pointRadius: 0,
|
||||
borderColor: color_by_name("highlight_color"),
|
||||
backgroundColor: color_by_name("highlight_color"),
|
||||
borderColor: color_by_name("accent_color"),
|
||||
backgroundColor: color_by_name("accent_color"),
|
||||
},
|
||||
];
|
||||
graph_egress.data().datasets = [
|
||||
@@ -96,8 +96,8 @@ onMount(() => {
|
||||
label: "Egress",
|
||||
borderWidth: 2,
|
||||
pointRadius: 0,
|
||||
borderColor: color_by_name("highlight_color"),
|
||||
backgroundColor: color_by_name("highlight_color"),
|
||||
borderColor: color_by_name("accent_color"),
|
||||
backgroundColor: color_by_name("accent_color"),
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
Reference in new issue
Block a user