summaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-12-18 01:10:13 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2014-12-18 01:10:13 +0100
commita581dcaadb90c6200baf42177fd14f2560fda533 (patch)
tree2d54b41c0e6a8806dd158c241cce2bc856ffcbb9 /apps/files
parent232d4385f4909a8877d96186fbd13d5e161cccf3 (diff)
parent0bda42b8e3a8e738c4fa1b7357ad8722fba68c14 (diff)
downloadnextcloud-server-a581dcaadb90c6200baf42177fd14f2560fda533.tar.gz
nextcloud-server-a581dcaadb90c6200baf42177fd14f2560fda533.zip
Merge pull request #12924 from owncloud/improve-emptystates
Improve empty states
Diffstat (limited to 'apps/files')
-rw-r--r--apps/files/css/files.css6
-rw-r--r--apps/files/templates/list.php6
-rw-r--r--apps/files/templates/simplelist.php3
3 files changed, 7 insertions, 8 deletions
diff --git a/apps/files/css/files.css b/apps/files/css/files.css
index eb6fec4a97f..3829759a14e 100644
--- a/apps/files/css/files.css
+++ b/apps/files/css/files.css
@@ -556,12 +556,6 @@ table tr.summary td {
#scanning-message{ top:40%; left:40%; position:absolute; display:none; }
-#emptycontent .icon-starred {
- height: 30px;
- width: 30px;
- margin: 0 auto 10px;
-}
-
table.dragshadow {
width:auto;
}
diff --git a/apps/files/templates/list.php b/apps/files/templates/list.php
index a0138967cd2..764b296819e 100644
--- a/apps/files/templates/list.php
+++ b/apps/files/templates/list.php
@@ -49,7 +49,11 @@
<input type="hidden" name="permissions" value="" id="permissions">
</div>
-<div id="emptycontent" class="hidden"><?php p($l->t('Nothing in here. Upload something!'))?></div>
+<div id="emptycontent" class="hidden">
+ <div class="icon-folder"></div>
+ <h2><?php p($l->t('No files yet')); ?></h2>
+ <p><?php p($l->t('Upload some content or sync with your devices!')); ?></p>
+</div>
<table id="filestable" data-allow-public-upload="<?php p($_['publicUploadEnabled'])?>" data-preview-x="36" data-preview-y="36">
<thead>
diff --git a/apps/files/templates/simplelist.php b/apps/files/templates/simplelist.php
index 15949bf704e..d806a220ac0 100644
--- a/apps/files/templates/simplelist.php
+++ b/apps/files/templates/simplelist.php
@@ -5,7 +5,8 @@
<div id="emptycontent" class="hidden">
<div class="icon-starred"></div>
- <?php p($l->t('Files and folders you mark as favorites will show up here')); ?>
+ <h2><?php p($l->t('No favorites')); ?></h2>
+ <p><?php p($l->t('Files and folders you mark as favorite will show up here')); ?></p>
</div>
<input type="hidden" name="dir" value="" id="dir">