This repository has been archived by the owner on Sep 5, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add fixed geth start and add eth master password
- Loading branch information
Showing
14 changed files
with
205 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
interface/client/templates/popupWindows/unlockMasterPassword.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<template name="popupWindows_unlockMasterPassword"> | ||
<div class="popup-windows"> | ||
<form action="#"> | ||
<h1>{{i18n "mist.popupWindows.unlockMasterPassword.title"}}</h1> | ||
|
||
<input type="password" placeholder="{{i18n 'mist.popupWindows.unlockMasterPassword.enterPassword'}}" class="password"> | ||
|
||
<div class="dapp-modal-buttons"> | ||
<button class="cancel" type="button">{{i18n "buttons.cancel"}}</button> | ||
<button class="ok dapp-primary-button" type="submit">{{i18n "buttons.ok"}}</button> | ||
</div> | ||
</form> | ||
</div> | ||
</template> |
32 changes: 32 additions & 0 deletions
32
interface/client/templates/popupWindows/unlockMasterPassword.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/** | ||
Template Controllers | ||
@module Templates | ||
*/ | ||
|
||
/** | ||
The request account popup window template | ||
@class [template] popupWindows_unlockMasterPassword | ||
@constructor | ||
*/ | ||
|
||
Template['popupWindows_unlockMasterPassword'].onRendered(function(){ | ||
this.$('input.password').focus(); | ||
}); | ||
|
||
|
||
Template['popupWindows_unlockMasterPassword'].events({ | ||
'click .cancel': function(){ | ||
ipc.send('uiAction_closePopupWindow'); | ||
}, | ||
'submit form': function(e, template){ | ||
e.preventDefault(); | ||
var pw = template.find('input.password').value; | ||
|
||
ipc.send('uiAction_unlockedMasterPassword', null, pw); | ||
|
||
template.find('input.password').value = ''; | ||
pw = null; | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.