Fully rename Pixeldrain to Nova
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import Button from "layout/Button.svelte";
|
||||
import { fs_delete_all, type FSNode } from "lib/FilesystemAPI.svelte";
|
||||
import { fs_trash, type FSNode } from "lib/FilesystemAPI.svelte";
|
||||
import type { FSNavigator } from "filesystem/FSNavigator";
|
||||
import { loading_finish, loading_start } from "lib/Loading";
|
||||
|
||||
@@ -25,7 +25,7 @@ const delete_file = async (e: MouseEvent) => {
|
||||
|
||||
try {
|
||||
loading_start()
|
||||
await fs_delete_all(file.path)
|
||||
await fs_trash(file.path)
|
||||
} catch (err) {
|
||||
console.error(err)
|
||||
alert(err)
|
||||
@@ -61,10 +61,10 @@ const delete_file = async (e: MouseEvent) => {
|
||||
<fieldset>
|
||||
<legend>Delete</legend>
|
||||
<p>
|
||||
Delete this file or directory. If this is a directory then all
|
||||
subfiles will be deleted as well. This action cannot be undone.
|
||||
Move this file or directory to the trash. You can restore it or
|
||||
permanently delete it from the <a href="/d/me/.Trash">trash bin</a>.
|
||||
</p>
|
||||
<Button click={delete_file} red icon="delete" label="Delete" style="align-self: flex-start;"/>
|
||||
<Button click={delete_file} red icon="delete" label="Move to trash" style="align-self: flex-start;"/>
|
||||
</fieldset>
|
||||
{/if}
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@ run(() => {
|
||||
<fieldset>
|
||||
<legend>Embedding</legend>
|
||||
<p>
|
||||
If you have a website you can embed pixeldrain directories and files in your
|
||||
If you have a website you can embed Nova directories and files in your
|
||||
own webpages with the code below. If you embed a directory then all
|
||||
subdirectories and files will be accessible through the frame. Branding
|
||||
options will also apply in the frame, but only when applied to this
|
||||
|
||||
Reference in New Issue
Block a user