Browse Source

Use grid view in other file views too

Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
tags/v15.0.0beta1
Jan-Christoph Borchardt 5 years ago
parent
commit
39ff82f707
No account linked to committer's email address

+ 1
- 1
apps/files/templates/recentlist.php View File

@@ -11,7 +11,7 @@
<p></p>
</div>

<table id="filestable">
<table id="filestable" class="list-container view-grid">
<thead>
<tr>
<th id='headerName' class="hidden column-name">

+ 1
- 1
apps/files/templates/simplelist.php View File

@@ -13,7 +13,7 @@
<h2><?php p($l->t('No entries found in this folder')); ?></h2>
<p></p>
</div>
<table id="filestable">
<table id="filestable" class="list-container view-grid">
<thead>
<tr>
<th id='headerName' class="hidden column-name">

+ 1
- 1
apps/files/tests/js/favoritesfilelistspec.js View File

@@ -25,7 +25,7 @@ describe('OCA.Files.FavoritesFileList tests', function() {
'</div>' +
// dummy table
// TODO: at some point this will be rendered by the fileList class itself!
'<table id="filestable">' +
'<table id="filestable" class="list-container view-grid">' +
'<thead><tr>' +
'<th id="headerName" class="hidden column-name">' +
'<a class="name columntitle" data-sort="name"><span>Name</span><span class="sort-indicator"></span></a>' +

+ 1
- 1
apps/files/tests/js/fileUploadSpec.js View File

@@ -117,7 +117,7 @@ describe('OC.Upload tests', function() {
beforeEach(function() {
$('#testArea').append(
'<div id="tableContainer">' +
'<table id="filestable">' +
'<table id="filestable" class="list-container view-grid">' +
'<thead><tr>' +
'<th id="headerName" class="hidden column-name">' +
'<input type="checkbox" id="select_all_files" class="select-all">' +

+ 1
- 1
apps/files/tests/js/fileactionsSpec.js View File

@@ -28,7 +28,7 @@ describe('OCA.Files.FileActions tests', function() {
var $body = $('#testArea');
$body.append('<input type="hidden" id="dir" value="/subdir"></input>');
$body.append('<input type="hidden" id="permissions" value="31"></input>');
$body.append('<table id="filestable"><tbody id="fileList"></tbody></table>');
$body.append('<table id="filestable" class="list-container view-grid"><tbody id="fileList"></tbody></table>');
// dummy files table
fileActions = new OCA.Files.FileActions();
fileActions.registerAction({

+ 1
- 1
apps/files/tests/js/filelistSpec.js View File

@@ -88,7 +88,7 @@ describe('OCA.Files.FileList tests', function() {
'<input type="file" id="file_upload_start" name="files[]" multiple="multiple">' +
// dummy table
// TODO: at some point this will be rendered by the fileList class itself!
'<table id="filestable">' +
'<table id="filestable" class="list-container view-grid">' +
'<thead><tr>' +
'<th id="headerName" class="hidden column-name">' +
'<input type="checkbox" id="select_all_files" class="select-all checkbox">' +

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

@@ -11,7 +11,7 @@

<input type="hidden" name="dir" value="" id="dir">

<table id="filestable">
<table id="filestable" class="list-container view-grid">
<thead>
<tr>
<th id='headerName' class="hidden column-name">

+ 1
- 1
apps/files_sharing/templates/list.php View File

@@ -10,7 +10,7 @@
<h2><?php p($l->t('No entries found in this folder')); ?></h2>
</div>

<table id="filestable">
<table id="filestable" class="list-container view-grid">
<thead>
<tr>
<th id='headerName' class="hidden column-name">

+ 1
- 1
apps/files_sharing/tests/js/publicAppSpec.js View File

@@ -60,7 +60,7 @@ describe('OCA.Sharing.PublicApp tests', function() {
'<input type="file" id="file_upload_start" name="files[]" multiple="multiple">' +
// dummy table
// TODO: at some point this will be rendered by the fileList class itself!
'<table id="filestable">' +
'<table id="filestable" class="list-container view-grid">' +
'<thead><tr>' +
'<th id="headerName" class="hidden column-name">' +
'<input type="checkbox" id="select_all_files" class="select-all">' +

+ 3
- 3
apps/files_sharing/tests/js/shareSpec.js View File

@@ -28,7 +28,7 @@ describe('OCA.Sharing.Util tests', function() {
// dummy file list
var $div = $(
'<div id="listContainer">' +
'<table id="filestable">' +
'<table id="filestable" class="list-container view-grid">' +
'<thead></thead>' +
'<tbody id="fileList"></tbody>' +
'</table>' +
@@ -510,8 +510,8 @@ describe('OCA.Sharing.Util tests', function() {
OCA.Sharing.Util.attach(fileList);
fileList.setFiles(testFiles);
});
afterEach(function() {
shareTabSpy.restore();
afterEach(function() {
shareTabSpy.restore();
});

it('updates fileInfoModel when shares changed', function() {

+ 2
- 2
apps/files_sharing/tests/js/sharedfilelistSpec.js View File

@@ -28,7 +28,7 @@ describe('OCA.Sharing.FileList tests', function() {
'</div>' +
// dummy table
// TODO: at some point this will be rendered by the fileList class itself!
'<table id="filestable">' +
'<table id="filestable" class="list-container view-grid">' +
'<thead><tr>' +
'<th id="headerName" class="hidden column-name">' +
'<input type="checkbox" id="select_all_files" class="select-all">' +
@@ -701,7 +701,7 @@ describe('OCA.Sharing.FileList tests', function() {
// dummy file list
var $div = $(
'<div>' +
'<table id="filestable">' +
'<table id="filestable" class="list-container view-grid">' +
'<thead></thead>' +
'<tbody id="fileList"></tbody>' +
'</table>' +

+ 1
- 1
apps/files_trashbin/templates/index.php View File

@@ -18,7 +18,7 @@
<p></p>
</div>

<table id="filestable">
<table id="filestable" class="list-container view-grid">
<thead>
<tr>
<th id="headerSelection" class="hidden column-selection">

+ 1
- 1
apps/files_trashbin/tests/js/filelistSpec.js View File

@@ -48,7 +48,7 @@ describe('OCA.Trashbin.FileList tests', function () {
'</div>' +
// dummy table
// TODO: at some point this will be rendered by the fileList class itself!
'<table id="filestable">' +
'<table id="filestable" class="list-container view-grid">' +
'<thead><tr><th id="headerName" class="hidden">' +
'<input type="checkbox" id="select_all_trash" class="select-all">' +
'<span class="name">Name</span>' +

+ 1
- 1
core/templates/filepicker.html View File

@@ -5,7 +5,7 @@
<div class="icon-folder"></div>
<h2>{emptytext}</h2>
</div>
<table id="filestable" class="filelist">
<table id="filestable" class="filelist list-container view-grid">
<tbody>
<tr data-entryname="{filename}" data-type="{type}">
<td class="filename"

Loading…
Cancel
Save