Skip to content

Commit

Permalink
Merge pull request #82 from cryptozoidberg/copy-button-updates
Browse files Browse the repository at this point in the history
Copy button updates
  • Loading branch information
cryptozoidberg authored Nov 15, 2018
2 parents 27766a3 + daefd88 commit bea3e1e
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 5 deletions.
7 changes: 7 additions & 0 deletions src/gui/qt-daemon/html/files/copy-content-blue.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/gui/qt-daemon/html/files/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -755,6 +755,7 @@ $(function()
$( "#synchronization_progressbar" ).progressbar({value: false });
$( "#wallet_progressbar" ).progressbar({value: false });
$(".common_button").button();
$("#copy-wallet").on('click', on_copy_wallet);

$("#open_wallet_button").button("disable");
$("#generate_wallet_button").button("disable");
Expand Down
10 changes: 7 additions & 3 deletions src/gui/qt-daemon/html/files/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -740,17 +740,21 @@ input:focus {

.btn-icon {
position: relative;
top: 8px;
top: 2px;
margin-right: 10px;
display: inline-block;
width: 22px;
height: 22px;
width: 14px;
height: 14px;
background-image: url('../files/copy-content.svg');
background-size: cover;
background-position: center;
cursor: pointer;
}

.btn-icon:hover {
background-image: url('../files/copy-content-blue.svg');
}

.btn-group {
float: right;
margin-left: 480px;
Expand Down
5 changes: 3 additions & 2 deletions src/gui/qt-daemon/html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,9 @@
<span class="my_addres_text" id="wallet_path">C:\home\projects\boolberry\build\src\Release\wallet.bin</span><br>
</div>
<span class="wallet_secondary_text">Address:</span>
<span class="my_addres_text" id="wallet_address">1HNJjUsofq5LYLoXem119dd491yFAb5g4bCHkecV4sPqigmuxw57Ci9am71fEN4CRmA9jgnvo5PDNfaq8QnprWmS5uLqnbq</span><br>
<span class="my_addres_text" id="wallet_address"></span>
<span class='btn-icon' id='copy-wallet'></span>
<br>
</div>
<div id="synchronizing_wallet_block">
Synchronizing wallet...
Expand All @@ -125,7 +127,6 @@
Synced</span>

<div class="btn-group">
<span class='btn-icon' id='copy-wallet'></span>
<div id="close_wallet_button_id" class="common_button btn btn-grey">Close wallet</div>
</div>
</div>
Expand Down

0 comments on commit bea3e1e

Please sign in to comment.