Skip to content

Commit

Permalink
feat: add a 'close window' button for convenience
Browse files Browse the repository at this point in the history
  • Loading branch information
remcoros committed Aug 13, 2024
1 parent e5be101 commit d6eabcf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 4 additions & 3 deletions src/PushTX/wwwroot/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,10 @@
max-width: 1024px;
margin: 5vh auto;
">

<h1 style="margin-bottom: 2rem;">COLDCARD NFC Push TX</h1>

<div style="display: table; width: 100%; margin-bottom: 2rem;">
<h1 style="display: table-cell;">COLDCARD NFC Push TX</h1>
<a href="javascript:window.close()" style="display: table-cell; float: right;">Close Window</a>
</div>
<div>
<div class="pushtx-message-area"></div>
<div class="pushtx-details-area"></div>
Expand Down
7 changes: 4 additions & 3 deletions src/cc-implementation/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@
max-width: 1024px;
margin: 5vh auto;
">

<h1 style="margin-bottom: 2rem;">COLDCARD NFC Push TX</h1>

<div style="display: table; width: 100%; margin-bottom: 2rem;">
<h1 style="display: table-cell;">COLDCARD NFC Push TX</h1>
<a href="javascript:window.close()" style="display: table-cell; float: right;">Close Window</a>
</div>
<div>
<div class="pushtx-message-area"></div>
<div class="pushtx-details-area"></div>
Expand Down

0 comments on commit d6eabcf

Please sign in to comment.