Small fixes
This commit is contained in:
Родитель
122905d235
Коммит
246d126c3e
|
@ -487,6 +487,16 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"saving_to": {
|
||||
"message": "Saving to $VAULT_NAME$",
|
||||
"description": "Amount of the credentials found for the current site",
|
||||
"placeholders": {
|
||||
"vault_name": {
|
||||
"content": "$1",
|
||||
"example": "Main vault"
|
||||
}
|
||||
}
|
||||
},
|
||||
"credentials_in_db": {
|
||||
"message": "$AMOUNT$ credentials in the database",
|
||||
"description": "Amount of the credentials in the database",
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
body {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
font-family: 'Open Sans', Frutiger, Calibri, 'Myriad Pro', Myriad, sans-serif; }
|
||||
font-family: 'Open Sans', Frutiger, Calibri, 'Myriad Pro', Myriad, sans-serif !important; }
|
||||
|
||||
#password-toolbar {
|
||||
background-color: #f5e79e;
|
||||
|
@ -53,7 +53,7 @@ body {
|
|||
top: 45px;
|
||||
color: #000;
|
||||
width: 160px;
|
||||
right: 58px;
|
||||
right: 75px;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
|
|
|
@ -35,7 +35,7 @@ $(document).ready(function () {
|
|||
text: btnText,
|
||||
onClickFn: function (account) {
|
||||
API.runtime.sendMessage(API.runtime.id, {method: "saveMined", args: {account: account}});
|
||||
dh.find('.toolbar-text').text(API.i18n.getMessage('saving') + '...');
|
||||
dh.find('.toolbar-text').text(API.i18n.getMessage('saving_to', [account.vault.name]) + '...');
|
||||
dh.find('.passman-btn').hide();
|
||||
},
|
||||
isCreate: (data.guid === null)
|
||||
|
@ -46,7 +46,7 @@ $(document).ready(function () {
|
|||
text: 'Update',
|
||||
onClickFn: function () {
|
||||
API.runtime.sendMessage(API.runtime.id, {method: "updateCredentialUrl", args: data});
|
||||
dh.find('.toolbar-text').text('Saving...');
|
||||
dh.find('.toolbar-text').text(API.i18n.getMessage('saving'));
|
||||
dh.find('.passman-btn').hide();
|
||||
}
|
||||
};
|
||||
|
@ -99,7 +99,7 @@ $(document).ready(function () {
|
|||
html_button.append(caret);
|
||||
for (var i = 1; i < accounts.length; i++) {
|
||||
var a = accounts[i];
|
||||
var item = $('<div class="account">Save to ' + a.vault.name + '</div>');
|
||||
var item = $('<div class="account"></div>').text(API.i18n.getMessage('save_to', [a.vault.name]));
|
||||
/* jshint ignore:start */
|
||||
(function (account, item) {
|
||||
item.click(function (e) {
|
||||
|
@ -131,7 +131,7 @@ $(document).ready(function () {
|
|||
button.onClickFn(default_account);
|
||||
});
|
||||
} else {
|
||||
html_button = $('<button class="passman-btn passnman-btn-success btn-' + btn + '"></button>').text(button.text);
|
||||
html_button = $('<button class="passman-btn passnman-btn-success"></button>').text(button.text);
|
||||
html_button.click(function () {
|
||||
button.onClickFn();
|
||||
});
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
body{
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
font-family: 'Open Sans', Frutiger, Calibri, 'Myriad Pro', Myriad, sans-serif;
|
||||
font-family: 'Open Sans', Frutiger, Calibri, 'Myriad Pro', Myriad, sans-serif !important;
|
||||
}
|
||||
|
||||
#password-toolbar {
|
||||
|
@ -60,7 +60,7 @@ body{
|
|||
top: 45px;
|
||||
color: #000;
|
||||
width: 160px;
|
||||
right: 58px;
|
||||
right: 75px;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
|
|
Загрузка…
Ссылка в новой задаче