fix backup input layout

This commit is contained in:
marlon-erler
2026-08-30 14:51:44 +02:00
parent d77fc62f58
commit ea50704f8a
3 changed files with 15 additions and 8 deletions
+6 -6
View File
@@ -1146,7 +1146,7 @@
this.connectionModel = connectionModel2; this.connectionModel = connectionModel2;
this.chatListModel = chatListModel2; this.chatListModel = chatListModel2;
this.fileTransferModel = fileTransferModel2; this.fileTransferModel = fileTransferModel2;
this.BUILD = "Build 26.08.30.A"; this.BUILD = "Build 26.08.30.B";
// CONTEXT // CONTEXT
this.contextStack = /* @__PURE__ */ new Map(); this.contextStack = /* @__PURE__ */ new Map();
this.closeContext = (contextId, fromHistoryEvent = false) => { this.closeContext = (contextId, fromHistoryEvent = false) => {
@@ -7051,7 +7051,7 @@
[fileTransferViewModel2.presentedModal], [fileTransferViewModel2.presentedModal],
() => fileTransferViewModel2.presentedModal.value == 7 /* Export */ () => fileTransferViewModel2.presentedModal.value == 7 /* Export */
); );
return /* @__PURE__ */ createElement("div", { class: "modal", "toggle:open": isPresented }, /* @__PURE__ */ createElement("div", null, /* @__PURE__ */ createElement("main", null, /* @__PURE__ */ createElement("h2", null, coreViewModel2.translations.dataTransferModal.exportHeadline), /* @__PURE__ */ createElement("label", { class: "tile" }, /* @__PURE__ */ createElement("span", { class: "icon" }, "key"), /* @__PURE__ */ createElement("div", null, /* @__PURE__ */ createElement("span", { class: "secondary" }, coreViewModel2.translations.dataTransferModal.exportKey), /* @__PURE__ */ createElement( return /* @__PURE__ */ createElement("div", { class: "modal", "toggle:open": isPresented }, /* @__PURE__ */ createElement("div", null, /* @__PURE__ */ createElement("main", null, /* @__PURE__ */ createElement("h2", null, coreViewModel2.translations.dataTransferModal.exportHeadline), /* @__PURE__ */ createElement("div", { class: "flex-column gap content-margin-bottom" }, /* @__PURE__ */ createElement("label", { class: "tile" }, /* @__PURE__ */ createElement("span", { class: "icon" }, "key"), /* @__PURE__ */ createElement("div", null, /* @__PURE__ */ createElement("span", { class: "secondary" }, coreViewModel2.translations.dataTransferModal.exportKey), /* @__PURE__ */ createElement(
"input", "input",
{ {
"bind:value": fileTransferViewModel2.exportKey, "bind:value": fileTransferViewModel2.exportKey,
@@ -7063,7 +7063,7 @@
"bind:value": fileTransferViewModel2.exportKeyConfirmation, "bind:value": fileTransferViewModel2.exportKeyConfirmation,
type: "password" type: "password"
} }
)))), /* @__PURE__ */ createElement("div", { class: "flex-row width-100" }, /* @__PURE__ */ createElement( ))))), /* @__PURE__ */ createElement("div", { class: "flex-row width-100" }, /* @__PURE__ */ createElement(
"button", "button",
{ {
class: "flex", class: "flex",
@@ -7086,7 +7086,7 @@
[fileTransferViewModel2.presentedModal], [fileTransferViewModel2.presentedModal],
() => fileTransferViewModel2.presentedModal.value == 8 /* ImportSelection */ () => fileTransferViewModel2.presentedModal.value == 8 /* ImportSelection */
); );
return /* @__PURE__ */ createElement("div", { class: "modal", "toggle:open": isPresented }, /* @__PURE__ */ createElement("div", null, /* @__PURE__ */ createElement("main", null, /* @__PURE__ */ createElement("h2", null, coreViewModel2.translations.dataTransferModal.importHeadline), /* @__PURE__ */ createElement("input", { id: "file-transfer-input", type: "file", "on:change": fileTransferViewModel2.updateImportSelection })), /* @__PURE__ */ createElement("div", { class: "flex-row width-100" }, /* @__PURE__ */ createElement( return /* @__PURE__ */ createElement("div", { class: "modal", "toggle:open": isPresented }, /* @__PURE__ */ createElement("div", null, /* @__PURE__ */ createElement("main", null, /* @__PURE__ */ createElement("h2", null, coreViewModel2.translations.dataTransferModal.importHeadline), /* @__PURE__ */ createElement("div", { class: "flex-column gap content-margin-bottom" }, /* @__PURE__ */ createElement("input", { id: "file-transfer-input", type: "file", "on:change": fileTransferViewModel2.updateImportSelection }))), /* @__PURE__ */ createElement("div", { class: "flex-row width-100" }, /* @__PURE__ */ createElement(
"button", "button",
{ {
class: "flex", class: "flex",
@@ -7109,13 +7109,13 @@
[fileTransferViewModel2.presentedModal], [fileTransferViewModel2.presentedModal],
() => fileTransferViewModel2.presentedModal.value == 9 /* ImportDecryptData */ () => fileTransferViewModel2.presentedModal.value == 9 /* ImportDecryptData */
); );
return /* @__PURE__ */ createElement("div", { class: "modal", "toggle:open": isPresented }, /* @__PURE__ */ createElement("div", null, /* @__PURE__ */ createElement("main", null, /* @__PURE__ */ createElement("h2", null, coreViewModel2.translations.dataTransferModal.importHeadline), /* @__PURE__ */ createElement("label", { class: "tile" }, /* @__PURE__ */ createElement("span", { class: "icon" }, "key"), /* @__PURE__ */ createElement("div", null, /* @__PURE__ */ createElement("span", { class: "secondary" }, coreViewModel2.translations.dataTransferModal.exportKey), /* @__PURE__ */ createElement( return /* @__PURE__ */ createElement("div", { class: "modal", "toggle:open": isPresented }, /* @__PURE__ */ createElement("div", null, /* @__PURE__ */ createElement("main", null, /* @__PURE__ */ createElement("h2", null, coreViewModel2.translations.dataTransferModal.importHeadline), /* @__PURE__ */ createElement("div", { class: "flex-column gap content-margin-bottom" }, /* @__PURE__ */ createElement("label", { class: "tile" }, /* @__PURE__ */ createElement("span", { class: "icon" }, "key"), /* @__PURE__ */ createElement("div", null, /* @__PURE__ */ createElement("span", { class: "secondary" }, coreViewModel2.translations.dataTransferModal.exportKey), /* @__PURE__ */ createElement(
"input", "input",
{ {
"bind:value": fileTransferViewModel2.importKey, "bind:value": fileTransferViewModel2.importKey,
type: "password" type: "password"
} }
))), /* @__PURE__ */ createElement( )))), /* @__PURE__ */ createElement(
"p", "p",
{ {
class: "error", class: "error",
+8 -1
View File
@@ -694,6 +694,7 @@ function ExportModal(
} }
</h2> </h2>
<div class="flex-column gap content-margin-bottom">
<label class="tile"> <label class="tile">
<span class="icon">key</span> <span class="icon">key</span>
<div> <div>
@@ -730,6 +731,7 @@ function ExportModal(
></input> ></input>
</div> </div>
</label> </label>
</div>
</main> </main>
<div class="flex-row width-100"> <div class="flex-row width-100">
<button <button
@@ -778,8 +780,11 @@ function ImportModal(
} }
</h2> </h2>
<input id="file-transfer-input" type="file" on:change={fileTransferViewModel.updateImportSelection}></input> <div class="flex-column gap content-margin-bottom">
<input id="file-transfer-input" type="file" on:change={fileTransferViewModel.updateImportSelection}></input>
</div>
</main> </main>
<div class="flex-row width-100"> <div class="flex-row width-100">
<button <button
class="flex" class="flex"
@@ -827,6 +832,7 @@ function ImportDecryptionDataModal(
} }
</h2> </h2>
<div class="flex-column gap content-margin-bottom">
<label class="tile"> <label class="tile">
<span class="icon">key</span> <span class="icon">key</span>
<div> <div>
@@ -845,6 +851,7 @@ function ImportDecryptionDataModal(
></input> ></input>
</div> </div>
</label> </label>
</div>
<p <p
class="error" class="error"
+1 -1
View File
@@ -9,7 +9,7 @@ import ConnectionModel from "../../Model/Global/connectionModel";
import ChatListModel from "../../Model/Chat/chatListModel"; import ChatListModel from "../../Model/Chat/chatListModel";
export default class CoreViewModel { export default class CoreViewModel {
readonly BUILD = "Build 26.08.30.A"; readonly BUILD = "Build 26.08.30.B";
translations: Translations; translations: Translations;