summaryrefslogtreecommitdiffstats
path: root/apps/files/templates/list.php
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2018-10-03 18:09:48 +0200
committerJan-Christoph Borchardt <hey@jancborchardt.net>2018-10-18 13:44:05 +0200
commite704899e2229428c7da1a247409794f7462ec34d (patch)
tree9b1040c56097e3823958e4a7decb7711dfa252ab /apps/files/templates/list.php
parent2a42a8da3e3dfa6edf04feaf6f05f87fa4d3969b (diff)
downloadnextcloud-server-e704899e2229428c7da1a247409794f7462ec34d.tar.gz
nextcloud-server-e704899e2229428c7da1a247409794f7462ec34d.zip
Show view toggle in controls bar
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'apps/files/templates/list.php')
-rw-r--r--apps/files/templates/list.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files/templates/list.php b/apps/files/templates/list.php
index 8238ec82f5e..c77cbb4d7c1 100644
--- a/apps/files/templates/list.php
+++ b/apps/files/templates/list.php
@@ -24,6 +24,7 @@
<?php endif;?>
<input type="hidden" class="max_human_file_size"
value="(max <?php isset($_['uploadMaxHumanFilesize']) ? p($_['uploadMaxHumanFilesize']) : ''; ?>)">
+ <button id="view-toggle" class="button view-toggle icon-toggle-pictures has-tooltip" title="<?php p($l->t('Toggle grid view'))?>"></button>
</div>
<div id="emptycontent" class="hidden">
@@ -38,7 +39,7 @@
<p></p>
</div>
-<table id="filestable" class="view-grid" data-allow-public-upload="<?php p($_['publicUploadEnabled'])?>" data-preview-x="250" data-preview-y="250">
+<table id="filestable" class="list-container view-grid" data-allow-public-upload="<?php p($_['publicUploadEnabled'])?>" data-preview-x="250" data-preview-y="250">
<thead>
<tr>
<th id="headerSelection" class="hidden column-selection">