diff --git a/src/index.html b/src/index.html index 0a23080..db6232b 100644 --- a/src/index.html +++ b/src/index.html @@ -194,12 +194,8 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
Sign (Notary)
Add Text
Add Certificate
-
Cancel
- - -
-
Append Blank Page
+
Cancel
@@ -216,6 +212,13 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+ +
+ +
diff --git a/src/js/main.js b/src/js/main.js index 9a2d421..10b4668 100644 --- a/src/js/main.js +++ b/src/js/main.js @@ -156,4 +156,11 @@ function setButtonSize(size) { } setAppTheme(getStorage("color_theme")); -setButtonSize(getStorage("button_size")); \ No newline at end of file +setButtonSize(getStorage("button_size")); + +function showToast(message) { + $("#toastBox .toast-body").html(message); + toastEl.show(); +} + +var toastEl = new bootstrap.Toast(document.getElementById("toastBox")); \ No newline at end of file