diff --git a/package-lock.json b/package-lock.json index 2f1cc83e..b613cd3f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,8 @@ "@nextcloud/l10n": "^2.1.0", "@nextcloud/router": "^2.2.1", "@nextcloud/vue": "^8.28.0", - "vue": "^2.7.14" + "vue": "^2.7.14", + "vue-material-design-icons": "^5.3.1" }, "devDependencies": { "@nextcloud/babel-config": "^1.2.0", @@ -14874,6 +14875,12 @@ } } }, + "node_modules/vue-material-design-icons": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/vue-material-design-icons/-/vue-material-design-icons-5.3.1.tgz", + "integrity": "sha512-6UNEyhlTzlCeT8ZeX5WbpUGFTTPSbOoTQeoASTv7X4Ylh0pe8vltj+36VMK56KM0gG8EQVoMK/Qw/6evalg8lA==", + "license": "MIT" + }, "node_modules/vue-resize": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/vue-resize/-/vue-resize-1.0.1.tgz", @@ -26168,6 +26175,11 @@ "vue-style-loader": "^4.1.0" } }, + "vue-material-design-icons": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/vue-material-design-icons/-/vue-material-design-icons-5.3.1.tgz", + "integrity": "sha512-6UNEyhlTzlCeT8ZeX5WbpUGFTTPSbOoTQeoASTv7X4Ylh0pe8vltj+36VMK56KM0gG8EQVoMK/Qw/6evalg8lA==" + }, "vue-resize": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/vue-resize/-/vue-resize-1.0.1.tgz", diff --git a/package.json b/package.json index 6ab425b3..0ca5177b 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,8 @@ "@nextcloud/l10n": "^2.1.0", "@nextcloud/router": "^2.2.1", "@nextcloud/vue": "^8.28.0", - "vue": "^2.7.14" + "vue": "^2.7.14", + "vue-material-design-icons": "^5.3.1" }, "devDependencies": { "@nextcloud/babel-config": "^1.2.0", diff --git a/src/components/SharingEntrySimple.vue b/src/components/SharingEntrySimple.vue index f5ecee84..4c7265a3 100644 --- a/src/components/SharingEntrySimple.vue +++ b/src/components/SharingEntrySimple.vue @@ -74,18 +74,21 @@ export default { .sharing-entry { display: flex; align-items: center; - height: 44px; + &__desc { padding: 8px; line-height: 1.2em; position: relative; flex: 1 1; min-width: 0; + h5 { + font-size: 16px; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; max-width: inherit; + margin-block: 0; } p { color: var(--color-text-maxcontrast); diff --git a/src/views/SharedSubfolders.vue b/src/views/SharedSubfolders.vue index edbd9c0b..2e76ffe2 100644 --- a/src/views/SharedSubfolders.vue +++ b/src/views/SharedSubfolders.vue @@ -21,46 +21,67 @@ --> - - - - - - - - {{ t('sharelisting', 'Toggle subfolders listing') }} - - + + + {{ t('sharelisting', 'Shared subitems') }} + + + + + + + + + + {{ t('sharelisting', 'Any other shares from subfolders') }} + + + + + + {{ t('sharelisting', 'Load') }} + + + + {{ loading ? t('sharelisting', 'Loading …') : t('sharelisting', 'No shared subfolders found') }} + - + - + {{ share.path }} - +
+ {{ t('sharelisting', 'Any other shares from subfolders') }} +