Merging fffa3850f1 - add secret key button

This commit is contained in:
Block Tester 2014-01-21 21:27:24 +00:00 committed by toyg
parent 7939b032a7
commit 00dbe4f0e3
2 changed files with 7 additions and 1 deletions

View File

@ -40,7 +40,12 @@ function initProfileEdit() {
loadProfileForEdit();
dumpPrivkey(defaultScreenName, function(args, key) {
$(".secret-key-container").hide();
$(".secret-key").text(key);
$(".toggle-priv-key").click(function () {
$(".secret-key-container").fadeToggle();
});
}, {});
});
}

View File

@ -86,11 +86,12 @@
<input type="text" class="input-website" placeholder="website"/>
</div>
<div class="profile-edition-buttons">
<button class="toggle-priv-key" style="float: left" href="#">Secret Key</button>
<button class="cancel-changes" href="#">Cancel</button>
<button class="submit-changes" href="#">Save Changes</button>
</div>
<div style="font-size:80%;text-align: center;">
<div style="font-size:80%;text-align: center;" class="secret-key-container">
<span class="label">Secret key:</span> <span class="secret-key"></span>
</div>