diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-10-24 15:31:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-24 15:31:23 +0200 |
commit | 37782b1084275d54474700e4ae7863b18e23dc04 (patch) | |
tree | 9481ad7bf07ae049a77dd95a0b09e43a7fb63c59 /apps/files/tests | |
parent | 2ec5d2a6ded8096431978638013df4ae5d711cb3 (diff) | |
parent | ede6472e52ab019c377640eb37ca3499d51ad8be (diff) | |
download | nextcloud-server-37782b1084275d54474700e4ae7863b18e23dc04.tar.gz nextcloud-server-37782b1084275d54474700e4ae7863b18e23dc04.zip |
Merge pull request #11573 from nextcloud/gridview-table
Files grid view
Diffstat (limited to 'apps/files/tests')
-rw-r--r-- | apps/files/tests/js/favoritesfilelistspec.js | 2 | ||||
-rw-r--r-- | apps/files/tests/js/fileUploadSpec.js | 2 | ||||
-rw-r--r-- | apps/files/tests/js/fileactionsSpec.js | 2 | ||||
-rw-r--r-- | apps/files/tests/js/filelistSpec.js | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/apps/files/tests/js/favoritesfilelistspec.js b/apps/files/tests/js/favoritesfilelistspec.js index d1421c84ee2..5a206ca4dec 100644 --- a/apps/files/tests/js/favoritesfilelistspec.js +++ b/apps/files/tests/js/favoritesfilelistspec.js @@ -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>' + diff --git a/apps/files/tests/js/fileUploadSpec.js b/apps/files/tests/js/fileUploadSpec.js index 6dde2734f1d..ca88461fafb 100644 --- a/apps/files/tests/js/fileUploadSpec.js +++ b/apps/files/tests/js/fileUploadSpec.js @@ -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">' + diff --git a/apps/files/tests/js/fileactionsSpec.js b/apps/files/tests/js/fileactionsSpec.js index 00d13859b5b..024993b310d 100644 --- a/apps/files/tests/js/fileactionsSpec.js +++ b/apps/files/tests/js/fileactionsSpec.js @@ -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({ diff --git a/apps/files/tests/js/filelistSpec.js b/apps/files/tests/js/filelistSpec.js index 04102a84754..961761c3e86 100644 --- a/apps/files/tests/js/filelistSpec.js +++ b/apps/files/tests/js/filelistSpec.js @@ -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">' + |