* moved JSON read writes to database.js
+ show commutative price and price per etho + use Roboto as the default font + use subscribe for new blocks to sync transactions better
This commit is contained in:
@@ -46,6 +46,24 @@ class MainGUI {
|
||||
});
|
||||
}
|
||||
|
||||
showGeneralConfirmation(confirmText, callback) {
|
||||
$("#txtGeneralConfirm").html(confirmText);
|
||||
|
||||
// create and open the dialog
|
||||
$("#dlgGeneralConfirm").iziModal();
|
||||
$('#dlgGeneralConfirm').iziModal('open');
|
||||
|
||||
$("#btnGeneralConfirmYes").click(function() {
|
||||
$('#dlgGeneralConfirm').iziModal('close');
|
||||
callback(true);
|
||||
});
|
||||
|
||||
$("#btnGeneralConfirmNo").click(function() {
|
||||
$('#dlgGeneralConfirm').iziModal('close');
|
||||
callback(false);
|
||||
});
|
||||
}
|
||||
|
||||
renderTemplate(template, data, container) {
|
||||
var template = Handlebars.compile(ipcRenderer.sendSync('getTemplateContent', template));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user