Skip to content
This repository has been archived by the owner on May 16, 2018. It is now read-only.

Commit

Permalink
Add export / import menu how to message (#264)
Browse files Browse the repository at this point in the history
* Add export message

* Height fix
  • Loading branch information
mymindstorm authored and Sneezry committed Jan 29, 2018
1 parent 85e319e commit 60cbaf4
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 1 deletion.
4 changes: 4 additions & 0 deletions _locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -174,5 +174,9 @@
"scale": {
"message": "Scale",
"description": "Scale"
},
"export_info": {
"message": "Copy this text and save it somewhere else to backup your secrets. Want to add an account to another app? Hover over the top right part of any account and hit the hidden button.",
"description": "Export menu info text"
}
}
9 changes: 8 additions & 1 deletion css/popup.css
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,8 @@ body {
}

#exportData {
height: 330px;
margin-top: 10px;
height: 265px;
width: 100%;
word-break: break-all;
resize: none;
Expand Down Expand Up @@ -675,7 +676,13 @@ body {
margin: 10px 0 0 10px;
}

#export_info {
display: block;
margin: 10px 10px 0 10px;
}

#security_warning,
#export_info,
#passphrase_info {
color: gray;
}
Expand Down
1 change: 1 addition & 0 deletions javascript/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ document.getElementById('menuName').innerText = chrome.i18n.getMessage('settings
document.getElementById('security_new_phrase_label').innerText = chrome.i18n.getMessage('phrase');
document.getElementById('security_confirm_phrase_label').innerText = chrome.i18n.getMessage('confirm_phrase');
document.getElementById('security_warning').innerText = chrome.i18n.getMessage('security_warning');
document.getElementById('export_info').innerText = chrome.i18n.getMessage('export_info');
document.getElementById('exportButton').innerText = chrome.i18n.getMessage('update');
document.getElementById('resize_save').innerText = chrome.i18n.getMessage('ok');
document.getElementById('security_save').innerText = chrome.i18n.getMessage('ok');
Expand Down
1 change: 1 addition & 0 deletions popup.html
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
<div id="export">
<div id="exportClose"><i class="fa fa-times-circle"></i></div>
<div id="exportContent">
<div id="export_info"></div>
<textarea id="exportData"></textarea>
<div id="exportButton"></div>
</div>
Expand Down

0 comments on commit 60cbaf4

Please sign in to comment.