summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2017-04-24 23:49:04 +0200
committerJan-Christoph Borchardt <hey@jancborchardt.net>2017-04-25 00:22:57 +0200
commitb48d81d59f6768cd4c7fb869c2c994d3d3805248 (patch)
tree63ddef9dbfe70509f370db1889aef8c09857b3d5 /settings
parentcf588f03bf91c24115e77c47f50e631f6f54a227 (diff)
downloadnextcloud-server-b48d81d59f6768cd4c7fb869c2c994d3d3805248.tar.gz
nextcloud-server-b48d81d59f6768cd4c7fb869c2c994d3d3805248.zip
Show placeholder for image-less apps in app management
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'settings')
-rw-r--r--settings/css/settings.css5
-rw-r--r--settings/js/apps.js2
2 files changed, 6 insertions, 1 deletions
diff --git a/settings/css/settings.css b/settings/css/settings.css
index 8fe4ae8bebe..103dcf26a71 100644
--- a/settings/css/settings.css
+++ b/settings/css/settings.css
@@ -766,6 +766,11 @@ form.section {
height: 20px;
}
+#apps-list .app-image-icon svg {
+ opacity: .3;
+ margin-top: 50px;
+}
+
.installed .actions {
text-align: right;
}
diff --git a/settings/js/apps.js b/settings/js/apps.js
index c8001822083..b016d7c07d0 100644
--- a/settings/js/apps.js
+++ b/settings/js/apps.js
@@ -183,7 +183,7 @@ OC.Settings.Apps = OC.Settings.Apps || {
app.firstExperimental = firstExperimental;
if (!app.preview) {
- app.preview = OC.imagePath('core', 'default-app-icon');
+ app.preview = OC.imagePath('core', 'filetypes/image');
app.previewAsIcon = true;
}