diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-04-03 20:57:06 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-04-28 17:42:04 +0200 |
commit | 688f6162daeec724c537f9c283092f45b29b05f2 (patch) | |
tree | 27fd75f137b773b886a5d9a0d4511ff136008133 /apps/files_trashbin/templates | |
parent | e055a411ea4b2a32dcf20c910d332867dc91f516 (diff) | |
download | nextcloud-server-688f6162daeec724c537f9c283092f45b29b05f2.tar.gz nextcloud-server-688f6162daeec724c537f9c283092f45b29b05f2.zip |
Add sorting to files list, trashbin and public files
Diffstat (limited to 'apps/files_trashbin/templates')
-rw-r--r-- | apps/files_trashbin/templates/index.php | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/apps/files_trashbin/templates/index.php b/apps/files_trashbin/templates/index.php index 323e7495535..ccfcab6ae68 100644 --- a/apps/files_trashbin/templates/index.php +++ b/apps/files_trashbin/templates/index.php @@ -12,22 +12,22 @@ <table id="filestable"> <thead> <tr> - <th id='headerName'> + <th id='headerName' class="hidden column-name"> <div id="headerName-container"> - <input type="checkbox" id="select_all" /> - <label for="select_all"></label> - <span class='name'><?php p($l->t( 'Name' )); ?></span> - <span class='selectedActions'> + <input type="checkbox" id="select_all" /> + <label for="select_all"></label> + <a class="name sort columntitle" data-sort="name"><span><?php p($l->t( 'Name' )); ?></span><span class="sort-indicator"></span></a> + <span id="selectedActionsList" class='selectedActions'> <a href="" class="undelete"> <img class="svg" alt="<?php p($l->t( 'Restore' )); ?>" src="<?php print_unescaped(OCP\image_path("core", "actions/history.svg")); ?>" /> <?php p($l->t('Restore'))?> </a> - </span> + </span> </div> </th> - <th id="headerDate"> - <span id="modified"><?php p($l->t( 'Deleted' )); ?></span> + <th id="headerDate" class="hidden column-mtime"> + <a id="modified" class="columntitle" data-sort="mtime"><span><?php p($l->t( 'Deleted' )); ?></span><span class="sort-indicator"></span></a> <span class="selectedActions"> <a href="" class="delete-selected"> <?php p($l->t('Delete'))?> |