Centralize evaluation of URL parameters to clean up code and remove redundancies, and streamline Base64Dialog class

This commit is contained in:
schlagmichdoch 2023-12-05 18:57:31 +01:00
parent cb86ce0e39
commit 10b658e2e9
6 changed files with 195 additions and 179 deletions

View file

@ -521,8 +521,13 @@
<x-dialog id="base64-paste-dialog">
<x-background class="full center">
<x-paper shadow="2">
<button class="btn btn-rounded btn-grey center" id="base64-paste-btn" title="Paste"></button>
<div class="textarea" placeholder="Paste here to send files" title="CMD/⌘ + V" contenteditable hidden></div>
<div class="row center p2">
<h2 class="dialog-title"></h2>
</div>
<div class="row p2">
<button class="btn btn-rounded btn-grey center" id="base64-paste-btn" title="Paste"></button>
<div class="textarea" title="CMD/⌘ + V" contenteditable hidden></div>
</div>
<div class="row-reverse center btn-row">
<button class="btn btn-rounded btn-grey" data-i18n-key="dialogs.close" data-i18n-attrs="text" close></button>
</div>