web: updated api endpoint & params, default instance override

- dialogs can be undismissable now (impossible to click away by pressing the bg behind it)
- added security warning about api override
- moved default api url to env
- added new processing settings page
This commit is contained in:
wukko
2024-08-04 00:43:24 +06:00
parent 168c1bdbbb
commit aba444ec8b
14 changed files with 134 additions and 23 deletions

View File

@@ -16,6 +16,7 @@
export let id: string;
export let items: Optional<DialogPickerItem[]> = undefined;
export let buttons: Optional<DialogButton[]> = undefined;
export let dismissable = true;
let dialogDescription = "dialog.picker.description.";
@@ -30,7 +31,7 @@
let close: () => void;
</script>
<DialogContainer {id} bind:close>
<DialogContainer {id} {dismissable} bind:close>
<div
class="dialog-body picker-dialog"
class:three-columns={items && items.length <= 3}