Make alerts bigger, add checkmark to "file signed and saved" confirmation.
This commit is contained in:
parent
6867265f28
commit
068640c548
@ -237,7 +237,7 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="modal fade" id="alertModal" tabindex="-1" aria-labelledby="alertModalLabel" aria-hidden="true">
|
<div class="modal fade" id="alertModal" tabindex="-1" aria-labelledby="alertModalLabel" aria-hidden="true">
|
||||||
<div class="modal-dialog">
|
<div class="modal-dialog modal-lg">
|
||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
<div class="modal-body p-1"></div>
|
<div class="modal-body p-1"></div>
|
||||||
<div class="modal-footer p-1">
|
<div class="modal-footer p-1">
|
||||||
|
@ -335,7 +335,7 @@ function savePDF() {
|
|||||||
statustextEl.html("<i class='fas fa-spin fa-spinner'></i> Signing document...");
|
statustextEl.html("<i class='fas fa-spin fa-spinner'></i> Signing document...");
|
||||||
makeAndSaveSignedPDF(pdf, path, function (result) {
|
makeAndSaveSignedPDF(pdf, path, function (result) {
|
||||||
statustextEl.html("<i class='fas fa-check'></i> Signed and saved!");
|
statustextEl.html("<i class='fas fa-check'></i> Signed and saved!");
|
||||||
showAlert("File signed and saved.\nSHA256 of file (without signature): " + result.hash);
|
showAlert("<i class='fas fa-check'></i> File signed and saved. SHA256 of file (excluding appended signature): " + result.hash);
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
statustextEl.html("");
|
statustextEl.html("");
|
||||||
}, 5000);
|
}, 5000);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user