make padding bits recovery overlay reusable as patching overlay

This commit is contained in:
wphiphi 2022-01-06 01:43:52 +01:00 committed by GitHub
parent 1a16fd9675
commit 03aaa3b877
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -512,40 +512,40 @@
</div>
<!-- END DATA MASKING OVERLAY -->
<!-- START PADDING BITS RECOVERY OVERLAY -->
<div class="overlay hide" id="div-padding-recovery">
<!-- START PATCHING BITS RECOVERY OVERLAY -->
<div class="overlay hide" id="div-patching-recovery">
<center>
<div class="box large">
<h3>Padding Bits Recovery</h3>
<h3 id="div-patching-recovery-title"></h3>
<div class="space"></div>
<div class="preview-box left">
<table id="qr-dummy" class="qr-tab"></table>
</div>
<div class="left">
<div id="div-pad-rec-error" class="hide">
<div id="div-patch-rec-error" class="hide">
<h5 class="left">Error : </h5>
<textarea spellcheck="false" readonly style="width:100%;"></textarea>
</div>
<div id="div-pad-rec-data">
<div id="div-patch-rec-data">
<h5>Bits before recovery : </h5>
<textarea spellcheck="false" id="pad-rec-before" readonly style="width:100%;"></textarea>
<textarea spellcheck="false" id="patch-rec-before" readonly style="width:100%;"></textarea>
<h5>Bits after recovery : </h5>
<textarea spellcheck="false" id="pad-rec-after" readonly style="width:100%;"></textarea>
<textarea spellcheck="false" id="patch-rec-after" readonly style="width:100%;"></textarea>
</div>
<div id="div-pad-rec-warning" class="hide">
<div id="div-patch-rec-warning" class="hide">
<h5 class="left">Warning : </h5>
<textarea spellcheck="false" readonly style="width:100%;"></textarea>
</div>
<h6><i>Note : Recovered modules are marked with green color</i></h6>
<div class="space"></div>
<button id="btn-pad-rec-apply">Apply</button>
<button id="btn-pad-rec-cancel">Cancel</button>
<button id="btn-patch-rec-apply">Apply</button>
<button id="btn-patch-rec-cancel">Cancel</button>
</div>
<div class="clear"></div>
</div>
</center>
</div>
<!-- END PADDING BITS RECOVERY OVERLAY -->
<!-- END PATCHING BITS RECOVERY OVERLAY -->
<!-- START WARNING OVERLAY -->
<div class="warning hide">