+ refresh address list
* changed icon for transactions refresh button
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
<div id="walletsToolbar">
|
<div id="walletsToolbar">
|
||||||
<button type="button" class="btn btn-etho" id="btnNewAddress"><i class="fas fa-plus"></i></button>
|
<button type="button" class="btn btn-etho" id="btnNewAddress"><i class="fas fa-plus"></i></button>
|
||||||
|
<button type="button" class="btn btn-etho" id="btnRefreshAddress"><i class="fas fa-sync-alt"></i></button>
|
||||||
<button type="button" class="btn btn-etho" id="btnExportAccounts"><i class="fas fa-file-export"></i></button>
|
<button type="button" class="btn btn-etho" id="btnExportAccounts"><i class="fas fa-file-export"></i></button>
|
||||||
<button type="button" class="btn btn-etho" id="btnImportAccounts"><i class="fas fa-file-import"></i></button>
|
<button type="button" class="btn btn-etho" id="btnImportAccounts"><i class="fas fa-file-import"></i></button>
|
||||||
<button type="button" class="btn btn-etho" id="btnImportFromPrivateKey"><i class="fas fa-key"></i></button>
|
<button type="button" class="btn btn-etho" id="btnImportFromPrivateKey"><i class="fas fa-key"></i></button>
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ class tableTransactions {
|
|||||||
"buttons":
|
"buttons":
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
text: 'Refresh',
|
text: '<i class="fas fa-sync-alt"></i>',
|
||||||
action: function ( e, dt, node, config ) {
|
action: function ( e, dt, node, config ) {
|
||||||
EthoTransactions.renderTransactions();
|
EthoTransactions.renderTransactions();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -42,6 +42,7 @@ class Wallets {
|
|||||||
|
|
||||||
enableButtonTooltips() {
|
enableButtonTooltips() {
|
||||||
EthoUtils.createToolTip("#btnNewAddress", "Create New Address");
|
EthoUtils.createToolTip("#btnNewAddress", "Create New Address");
|
||||||
|
EthoUtils.createToolTip("#btnRefreshAddress", "Refresh Address List");
|
||||||
EthoUtils.createToolTip("#btnExportAccounts", "Export Accounts");
|
EthoUtils.createToolTip("#btnExportAccounts", "Export Accounts");
|
||||||
EthoUtils.createToolTip("#btnImportAccounts", "Import Accounts");
|
EthoUtils.createToolTip("#btnImportAccounts", "Import Accounts");
|
||||||
EthoUtils.createToolTip("#btnImportFromPrivateKey", "Import From Private Key");
|
EthoUtils.createToolTip("#btnImportFromPrivateKey", "Import From Private Key");
|
||||||
@@ -174,6 +175,10 @@ $(document).on("render_wallets", function() {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$("#btnRefreshAddress").off('click').on('click', function() {
|
||||||
|
EthoWallets.renderWalletsState();
|
||||||
|
});
|
||||||
|
|
||||||
$("#btnExportAccounts").off('click').on('click', function() {
|
$("#btnExportAccounts").off('click').on('click', function() {
|
||||||
ipcRenderer.send('exportAccounts', {});
|
ipcRenderer.send('exportAccounts', {});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user