Skip to content

Commit

Permalink
Merge pull request #26 from TRMSC:preview-revision
Browse files Browse the repository at this point in the history
Preview-revision #23
  • Loading branch information
TRMSC authored Nov 19, 2023
2 parents 34ad755 + 32647f1 commit 9a41d9c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -224,10 +224,10 @@ <h3>
Ergebnis
</h3>
<span id="ic-preview-show" class="ic-font-3" title="Vorschau zeigen">
<img class="ic-icon-3" src="icons/eye.svg" alt="Offenes Auge">
<img class="ic-icon-3" src="icons/eye-slash.svg" alt="Offenes Auge">
</span>
<span id="ic-preview-hide" class="ic-font-3 ic-d-none" title="Vorschau verbergen">
<img class="ic-icon-3" src="icons/eye-slash.svg" alt="Durchgestrichenes Auge">
<img class="ic-icon-3" src="icons/eye.svg" alt="Durchgestrichenes Auge">
</span>
</div>
<div class="input-container">
Expand All @@ -251,6 +251,7 @@ <h3>
<textarea id="imagescene-result" name="imagescene-result" rows="6" spellcheck="false" wrap="off" readonly></textarea>
</div>
<div id="result-container">
<input id="imagescene-preview" class="s-w-100" type="button" value="Vorschau zeigen">
<input id="imagescene-copy" class="s-w-100" type="button" value="In die Zwischenablage kopieren">
<input id="imagescene-download-html" class="s-w-100" type="button" value="Als HTML-Datei herunterladen">
<input id="imagescene-download-svg" class="s-w-100" type="button" value="Als SVG-Datei herunterladen">
Expand Down
2 changes: 2 additions & 0 deletions docs/src/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,8 @@ listenEvents = () => {
previewShowButton.addEventListener('click', handleResultPreview);
let previewHideButton = document.getElementById('ic-preview-hide');
previewHideButton.addEventListener('click', handleResultPreview);
let previewButton = document.getElementById('imagescene-preview');
previewButton.addEventListener('click', handleResultPreview);

// Copy to clipboard
let clipboardButton = document.getElementById('imagescene-copy');
Expand Down

0 comments on commit 9a41d9c

Please sign in to comment.