+ initial import
This commit is contained in:
28
renderer/settings.js
Normal file
28
renderer/settings.js
Normal file
@@ -0,0 +1,28 @@
|
||||
// In renderer process (web page).
|
||||
const {ipcRenderer} = require('electron');
|
||||
|
||||
class Settings {
|
||||
constructor() {}
|
||||
|
||||
renderSettingsState() {
|
||||
EthoMainGUI.renderTemplate("settings.html", {});
|
||||
$(document).trigger("render_settings");
|
||||
}
|
||||
}
|
||||
|
||||
$(document).on("render_settings", function() {
|
||||
$("#btnSettingsCleanTransactions").off('click').on('click', function() {
|
||||
EthoMainGUI.showGeneralError("Not implemented yet!");
|
||||
});
|
||||
|
||||
$("#btnSettingsCleanWallets").off('click').on('click', function() {
|
||||
EthoMainGUI.showGeneralError("Not implemented yet!");
|
||||
});
|
||||
|
||||
$("#btnSettingsCleanBlockchain").off('click').on('click', function() {
|
||||
EthoMainGUI.showGeneralError("Not implemented yet!");
|
||||
});
|
||||
});
|
||||
|
||||
// create new account variable
|
||||
EthoSettings = new Settings();
|
||||
Reference in New Issue
Block a user