summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2014-12-17 21:57:31 +0100
committerJan-Christoph Borchardt <hey@jancborchardt.net>2014-12-17 21:57:31 +0100
commit0bda42b8e3a8e738c4fa1b7357ad8722fba68c14 (patch)
tree1539cc0f60444fb3b7c595cb53ea8c2e037a2d1e
parent59dec3834ffd95ca4fae5fe19aeaab6b71f13e92 (diff)
downloadnextcloud-server-0bda42b8e3a8e738c4fa1b7357ad8722fba68c14.tar.gz
nextcloud-server-0bda42b8e3a8e738c4fa1b7357ad8722fba68c14.zip
add empty state for external storages
-rw-r--r--apps/files_external/templates/list.php6
-rw-r--r--core/css/icons.css4
-rw-r--r--core/img/actions/external.pngbin0 -> 392 bytes
-rw-r--r--core/img/actions/external.svg4
4 files changed, 13 insertions, 1 deletions
diff --git a/apps/files_external/templates/list.php b/apps/files_external/templates/list.php
index 4e06bc7024c..09923fe3879 100644
--- a/apps/files_external/templates/list.php
+++ b/apps/files_external/templates/list.php
@@ -4,7 +4,11 @@
</div>
<div id='notification'></div>
-<div id="emptycontent" class="hidden"><?php p($l->t( 'You don\'t have any external storages' )); ?></div>
+<div id="emptycontent" class="hidden">
+ <div class="icon-external"></div>
+ <h2><?php p($l->t('No external storages')); ?></h2>
+ <p><?php p($l->t('You can configure external storages in the personal settings')); ?></p>
+</div>
<input type="hidden" name="dir" value="" id="dir">
diff --git a/core/css/icons.css b/core/css/icons.css
index 095c29b3121..ecf6b17995d 100644
--- a/core/css/icons.css
+++ b/core/css/icons.css
@@ -68,6 +68,10 @@
background-image: url('../img/actions/download.svg');
}
+.icon-external {
+ background-image: url('../img/actions/external.svg');
+}
+
.icon-history {
background-image: url('../img/actions/history.svg');
}
diff --git a/core/img/actions/external.png b/core/img/actions/external.png
new file mode 100644
index 00000000000..af03dbf3e05
--- /dev/null
+++ b/core/img/actions/external.png
Binary files differ
diff --git a/core/img/actions/external.svg b/core/img/actions/external.svg
new file mode 100644
index 00000000000..80eba5b9960
--- /dev/null
+++ b/core/img/actions/external.svg
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.w3.org/2000/svg" height="16" width="16" version="1.1" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/">
+ <path d="m7.4515 1.6186 2.3806 2.2573-3.5709 3.386 2.3806 2.2573 3.5709-3.386 2.3806 2.2573v-6.7725h-7.1422zm-4.7612 1.1286c-0.65945 0-1.1903 0.5034-1.1903 1.1286v9.029c0 0.6253 0.53085 1.1286 1.1903 1.1286h9.522c0.6594 0 1.1903-0.5034 1.1903-1.1286v-3.386l-1.19-1.1287v4.5146h-9.5217v-9.029h4.761l-1.1905-1.1287h-3.5707z"/>
+</svg>