mirror of https://github.com/keeweb/keeweb.git
devices
This commit is contained in:
parent
02adb81ae0
commit
8350123839
|
@ -524,8 +524,8 @@
|
|||
"setFileFormatVersion": "File format",
|
||||
"saveFileExportRaw": "Exporting your passwords",
|
||||
"saveFileExportRawBody": "The exported file will contain your passwords, they will not be encrypted there. Would you like to proceed?",
|
||||
"setFileYubiKeyIntro": "One-time passwords from this YubiKey will be displayed in the app.",
|
||||
"setFileYubiKeySettings": "Settings",
|
||||
"setFileDeviceIntro": "One-time passwords from this {} will be displayed in the app.",
|
||||
"setFileDeviceSettings": "Settings",
|
||||
|
||||
"setShTitle": "Shortcuts",
|
||||
"setShShowAll": "show all items",
|
||||
|
|
|
@ -26,7 +26,8 @@ ExternalDeviceModel.defineModelProperties({
|
|||
entries: undefined,
|
||||
groups: undefined,
|
||||
name: undefined,
|
||||
shortName: undefined
|
||||
shortName: undefined,
|
||||
deviceClassName: undefined
|
||||
});
|
||||
|
||||
export { ExternalDeviceModel };
|
||||
|
|
|
@ -10,6 +10,7 @@ class YubiKeyOtpModel extends ExternalOtpDeviceModel {
|
|||
id: 'yubikey',
|
||||
name: 'YubiKey',
|
||||
shortName: 'YubiKey',
|
||||
deviceClassName: 'YubiKey',
|
||||
...props
|
||||
});
|
||||
}
|
||||
|
|
|
@ -12,7 +12,8 @@ class SettingsFileExternalView extends View {
|
|||
|
||||
render() {
|
||||
super.render({
|
||||
name: this.model.name
|
||||
name: this.model.name,
|
||||
deviceClassName: this.model.deviceClassName
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
<div class="settings__content">
|
||||
<h1><i class="fa fa-lock settings__head-icon"></i> {{name}}</h1>
|
||||
|
||||
<p>{{res 'setFileYubiKeyIntro'}}</p>
|
||||
<p>{{#res 'setFileDeviceIntro'}}{{deviceClassName}}{{/res}}</p>
|
||||
|
||||
<div class="settings__file-buttons">
|
||||
<button class="settings__file-button-settings btn-silent">{{res 'setFileYubiKeySettings'}}</button>
|
||||
<button class="settings__file-button-settings btn-silent">{{res 'setFileDeviceSettings'}}</button>
|
||||
<button class="settings__file-button-close btn-silent">{{res 'setFileClose'}}</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue