-
-
+
+
+
+ |
{{a.fileName}}
-
- {{a.sizeName}}
-
- |
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ |
+
+
+
+
{{'newAttachment' | i18n}}
+
+
+
{{'maxFileSize' | i18n}}
diff --git a/src/app/vault/ciphers.component.html b/src/app/vault/ciphers.component.html
index 806c7f82c23..4963166ab1b 100644
--- a/src/app/vault/ciphers.component.html
+++ b/src/app/vault/ciphers.component.html
@@ -1,5 +1,5 @@
- 0">
+ 0">
@@ -15,30 +15,30 @@
{{c.subTitle}}
|
-
+ |
-
+
diff --git a/src/app/vault/vault.component.ts b/src/app/vault/vault.component.ts
index b8edd6aa598..88ff234993d 100644
--- a/src/app/vault/vault.component.ts
+++ b/src/app/vault/vault.component.ts
@@ -205,10 +205,10 @@ export class VaultComponent implements OnInit {
AddEditComponent, this.cipherAddEditRef);
childComponent.cipherId = cipher == null ? null : cipher.id;
- childComponent.onSavedCipher.subscribe(async (cipher: CipherView) => {
+ childComponent.onSavedCipher.subscribe(async (c: CipherView) => {
this.modal.close();
});
- childComponent.onDeletedCipher.subscribe(async (cipher: CipherView) => {
+ childComponent.onDeletedCipher.subscribe(async (c: CipherView) => {
this.modal.close();
});
diff --git a/src/locales/en/messages.json b/src/locales/en/messages.json
index 82a1f2cdcf1..42b36eef787 100644
--- a/src/locales/en/messages.json
+++ b/src/locales/en/messages.json
@@ -385,5 +385,29 @@
},
"launch": {
"message": "Launch"
+ },
+ "newAttachment": {
+ "message": "Add New Attachment"
+ },
+ "deletedAttachment": {
+ "message": "Deleted attachment"
+ },
+ "deleteAttachmentConfirmation": {
+ "message": "Are you sure you want to delete this attachment?"
+ },
+ "attachmentSaved": {
+ "message": "The attachment has been saved."
+ },
+ "file": {
+ "message": "File"
+ },
+ "selectFile": {
+ "message": "Select a file."
+ },
+ "maxFileSize": {
+ "message": "Maximum file size is 100 MB."
+ },
+ "updateKey": {
+ "message": "You cannot use this feature until you update your encryption key."
}
}
diff --git a/src/scss/styles.scss b/src/scss/styles.scss
index def0b6ba9c8..7412af68719 100644
--- a/src/scss/styles.scss
+++ b/src/scss/styles.scss
@@ -48,6 +48,7 @@ $input-bg: #fafafa;
$input-focus-bg: #ffffff;
$input-disabled-bg: #e0e0e0;
+$table-accent-bg: rgba(#000000, .02);
$table-hover-bg: rgba(#000000, .03);
@import "../../node_modules/bootstrap/scss/bootstrap";
@@ -143,32 +144,57 @@ form label {
}
}
+.table.table-list {
+ tr:first-child {
+ td {
+ border: none;
+ }
+ }
+
+ tr:hover {
+ td.table-list-options > .dropdown button, td.table-list-options > button {
+ visibility: visible;
+ }
+ }
+
+ td {
+ vertical-align: middle;
+ line-height: 1;
+
+ small {
+ color: $text-muted;
+ }
+ }
+
+ td.table-list-options {
+ width: 76px;
+ max-width: 76px;
+ text-align: right;
+
+ .btn {
+ line-height: 1;
+ }
+
+ .dropdown-menu {
+ line-height: $line-height-base;
+ }
+
+ > .dropdown:not(.show) button {
+ visibility: hidden;
+ }
+
+ > button {
+ visibility: hidden;
+ }
+ }
+}
+
app-vault-icon .fa {
color: $text-muted;
}
app-vault {
- .table {
- tr:first-child {
- td {
- border: none;
- }
- }
-
- tr:hover {
- td:last-child .dropdown button {
- visibility: visible;
- }
- }
-
- td {
- vertical-align: middle;
-
- small {
- color: $text-muted;
- }
- }
-
+ .table-ciphers {
td:first-child {
width: 35px;
max-width: 35px;
@@ -184,24 +210,6 @@ app-vault {
@extend .img-fluid;
}
}
-
- td:nth-child(3) {
- line-height: 1;
- }
-
- td:last-child {
- width: 72px;
- max-width: 72px;
- text-align: right;
-
- .btn {
- line-height: 1;
- }
-
- .dropdown:not(.show) button {
- visibility: hidden;
- }
- }
}
}
|