Browse Source

add empty state for external storages

tags/v8.0.0alpha1
Jan-Christoph Borchardt 9 years ago
parent
commit
0bda42b8e3

+ 5
- 1
apps/files_external/templates/list.php View File

@@ -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">


+ 4
- 0
core/css/icons.css View File

@@ -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');
}

BIN
core/img/actions/external.png View File


+ 4
- 0
core/img/actions/external.svg View File

@@ -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>

Loading…
Cancel
Save