summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTadas Vilkeliskis <vilkeliskis.t@gmail.com>2026-01-22 20:45:22 -0500
committerTadas Vilkeliskis <vilkeliskis.t@gmail.com>2026-01-22 20:45:22 -0500
commit7f99b78c44b5401b6e61aeb04b13fe66ed1344ac (patch)
treee8e40f08d9389d0726d9088db7a71bc84632d7d4
parent82a3d9493ed29f985f78526a80dda83e4b0df94e (diff)
fix lock icon
-rw-r--r--l/.DS_Storebin6148 -> 6148 bytes
-rw-r--r--redact.html18
2 files changed, 15 insertions, 3 deletions
diff --git a/l/.DS_Store b/l/.DS_Store
index e07b684..7bc208b 100644
--- a/l/.DS_Store
+++ b/l/.DS_Store
Binary files differ
diff --git a/redact.html b/redact.html
index aef0697..d38021a 100644
--- a/redact.html
+++ b/redact.html
@@ -66,6 +66,14 @@
border-radius: 4px;
cursor: pointer;
font-size: 14px;
+ display: flex;
+ align-items: center;
+ gap: 6px;
+ }
+
+ button svg {
+ width: 18px;
+ height: 18px;
}
button:hover {
@@ -243,7 +251,10 @@
<span id="page-count"></span>
- <button id="export-btn" disabled>🔒 Export Redacted PDF</button>
+ <button id="export-btn" disabled>
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242"></path><path d="M12 12v9"></path><path d="m8 17 4 4 4-4"></path></svg>
+ <span id="export-btn-text">Export Redacted PDF</span>
+ </button>
<div class="loader" id="loader"></div>
</div>
@@ -258,6 +269,7 @@
const fileInput = document.getElementById('file-input');
const container = document.getElementById('container');
const exportBtn = document.getElementById('export-btn');
+ const exportBtnText = document.getElementById('export-btn-text');
const loader = document.getElementById('loader');
const pageCountSpan = document.getElementById('page-count');
const redactSelectionBtn = document.getElementById('redact-selection-btn');
@@ -644,7 +656,7 @@
if (!pdfDoc) return;
exportBtn.disabled = true;
- exportBtn.innerText = 'Processing...';
+ exportBtnText.innerText = 'Processing...';
loader.style.display = 'block';
// Wait a moment for UI to update
@@ -704,7 +716,7 @@
alert("Export failed. See console.");
} finally {
exportBtn.disabled = false;
- exportBtn.innerText = '🔒 Export Redacted PDF';
+ exportBtnText.innerText = 'Export Redacted PDF';
loader.style.display = 'none';
}
});