add empty state for external storages

This commit is contained in:
Jan-Christoph Borchardt 2014-12-17 21:57:31 +01:00
parent 59dec3834f
commit 0bda42b8e3
4 changed files with 13 additions and 1 deletions

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

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 392 B

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>

After

Width:  |  Height:  |  Size: 608 B