diff options
-rw-r--r-- | apps/files/templates/recentlist.php | 2 | ||||
-rw-r--r-- | apps/files/templates/simplelist.php | 2 | ||||
-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 | ||||
-rw-r--r-- | apps/files_external/templates/list.php | 2 | ||||
-rw-r--r-- | apps/files_sharing/templates/list.php | 2 | ||||
-rw-r--r-- | apps/files_sharing/tests/js/publicAppSpec.js | 2 | ||||
-rw-r--r-- | apps/files_sharing/tests/js/shareSpec.js | 6 | ||||
-rw-r--r-- | apps/files_sharing/tests/js/sharedfilelistSpec.js | 4 | ||||
-rw-r--r-- | apps/files_trashbin/templates/index.php | 2 | ||||
-rw-r--r-- | apps/files_trashbin/tests/js/filelistSpec.js | 2 | ||||
-rw-r--r-- | core/templates/filepicker.html | 2 |
14 files changed, 17 insertions, 17 deletions
diff --git a/apps/files/templates/recentlist.php b/apps/files/templates/recentlist.php index cfdb95c80a0..4c269c20256 100644 --- a/apps/files/templates/recentlist.php +++ b/apps/files/templates/recentlist.php @@ -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"> diff --git a/apps/files/templates/simplelist.php b/apps/files/templates/simplelist.php index 78adb21922f..a99607ea642 100644 --- a/apps/files/templates/simplelist.php +++ b/apps/files/templates/simplelist.php @@ -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"> 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">' + diff --git a/apps/files_external/templates/list.php b/apps/files_external/templates/list.php index ed13ed83701..20f97dd4c08 100644 --- a/apps/files_external/templates/list.php +++ b/apps/files_external/templates/list.php @@ -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"> diff --git a/apps/files_sharing/templates/list.php b/apps/files_sharing/templates/list.php index ec13b5c1f77..de92037a563 100644 --- a/apps/files_sharing/templates/list.php +++ b/apps/files_sharing/templates/list.php @@ -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"> diff --git a/apps/files_sharing/tests/js/publicAppSpec.js b/apps/files_sharing/tests/js/publicAppSpec.js index dc9000af152..9d24a7a7946 100644 --- a/apps/files_sharing/tests/js/publicAppSpec.js +++ b/apps/files_sharing/tests/js/publicAppSpec.js @@ -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">' + diff --git a/apps/files_sharing/tests/js/shareSpec.js b/apps/files_sharing/tests/js/shareSpec.js index 554a3a82b34..39472fdeedb 100644 --- a/apps/files_sharing/tests/js/shareSpec.js +++ b/apps/files_sharing/tests/js/shareSpec.js @@ -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() { diff --git a/apps/files_sharing/tests/js/sharedfilelistSpec.js b/apps/files_sharing/tests/js/sharedfilelistSpec.js index c9e2bafcc23..b0b7c1b9b99 100644 --- a/apps/files_sharing/tests/js/sharedfilelistSpec.js +++ b/apps/files_sharing/tests/js/sharedfilelistSpec.js @@ -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>' + diff --git a/apps/files_trashbin/templates/index.php b/apps/files_trashbin/templates/index.php index dd24abb5de1..054ffee6176 100644 --- a/apps/files_trashbin/templates/index.php +++ b/apps/files_trashbin/templates/index.php @@ -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"> diff --git a/apps/files_trashbin/tests/js/filelistSpec.js b/apps/files_trashbin/tests/js/filelistSpec.js index e650a2f2d28..a56ee987b78 100644 --- a/apps/files_trashbin/tests/js/filelistSpec.js +++ b/apps/files_trashbin/tests/js/filelistSpec.js @@ -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>' + diff --git a/core/templates/filepicker.html b/core/templates/filepicker.html index 215311348cb..8b33b879085 100644 --- a/core/templates/filepicker.html +++ b/core/templates/filepicker.html @@ -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" |