summaryrefslogtreecommitdiffstats
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
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>
-rw-r--r--core/img/default-app-icon.svg1
-rw-r--r--settings/css/settings.css5
-rw-r--r--settings/js/apps.js2
3 files changed, 6 insertions, 2 deletions
diff --git a/core/img/default-app-icon.svg b/core/img/default-app-icon.svg
deleted file mode 100644
index 7ef7f086921..00000000000
--- a/core/img/default-app-icon.svg
+++ /dev/null
@@ -1 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" height="32" width="32" version="1" viewBox="0 0 32 32"><path d="M13.733 0a.915.915 0 0 0-.933.934V3.6c-1.182.304-2.243.794-3.267 1.4L7.6 3.068a.93.93 0 0 0-1.334 0l-3.2 3.2a.93.93 0 0 0 0 1.334L5 9.535c-.607 1.024-1.097 2.085-1.4 3.267H.933a.915.915 0 0 0-.933.934v4.533c0 .53.403.934.933.934H3.6c.303 1.182.793 2.243 1.4 3.267l-1.934 1.935a.93.93 0 0 0 0 1.333l3.2 3.2a.93.93 0 0 0 1.333 0L9.532 27c1.024.61 2.085 1.097 3.266 1.4v2.667c0 .53.402.933.932.933h4.534c.53 0 .933-.403.933-.935V28.4c1.18-.305 2.24-.795 3.265-1.4L24.4 28.93a.93.93 0 0 0 1.332 0l3.2-3.2a.93.93 0 0 0 0-1.333L27 22.465c.607-1.024 1.096-2.085 1.4-3.266h2.665a.915.915 0 0 0 .935-.933v-4.534a.915.915 0 0 0-.934-.933H28.4c-.304-1.182-.792-2.243-1.4-3.267L28.932 7.6a.93.93 0 0 0 0-1.334l-3.2-3.2a.93.93 0 0 0-1.333 0L22.465 5c-1.024-.607-2.084-1.097-3.266-1.4V.933A.915.915 0 0 0 18.267 0zM16 8.87A7.134 7.134 0 0 1 23.13 16 7.134 7.134 0 0 1 16 23.133c-3.936 0-7.13-3.196-7.13-7.132S12.063 8.87 16 8.87z" display="block" fill="#fff"/></svg> \ No newline at end of file
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;
}