瀏覽代碼

HUE-6923 [fb] Fix table header borders

Enrico Berti 8 年之前
父節點
當前提交
ad9f5fa77b

+ 2 - 2
apps/filebrowser/src/filebrowser/templates/listdir_components.mako

@@ -45,13 +45,13 @@ from filebrowser.conf import ENABLE_EXTRACT_UPLOADED_ARCHIVE
   <table id="fileBrowserTable" class="table table-condensed table-huedatatable tablescroller-disable" data-bind="style: {'opacity': isLoading() ? '.5': '1'}">
     <thead>
       <tr>
-        <th width="1%"><div data-bind="click: selectAll, css: {hueCheckbox: true, 'fa': true, 'fa-check': allSelected}" class="select-all"></div></th>
+        <th class="sorting_disabled" width="1%"><div data-bind="click: selectAll, css: {hueCheckbox: true, 'fa': true, 'fa-check': allSelected}" class="select-all"></div></th>
         <th class="sortable sorting" data-sort="type" width="1%" data-bind="click: sort">&nbsp;</th>
         <th class="sortable sorting_asc" data-sort="name" data-bind="click: sort">${_('Name')}</th>
         <th class="sortable sorting" data-sort="size" width="10%" data-bind="click: sort">${_('Size')}</th>
         <th class="sortable sorting" data-sort="user" width="10%" data-bind="click: sort">${_('User')}</th>
         <th class="sortable sorting" data-sort="group" width="10%" data-bind="click: sort">${_('Group')}</th>
-        <th width="10%">${_('Permissions')}</th>
+        <th class="sorting_disabled" width="10%">${_('Permissions')}</th>
         <th class="sortable sorting" data-sort="mtime" width="15%" data-bind="click: sort">${_('Date')}</th>
       </tr>
     </thead>

文件差異過大導致無法顯示
+ 0 - 0
desktop/core/src/desktop/static/desktop/css/hue.css


文件差異過大導致無法顯示
+ 0 - 0
desktop/core/src/desktop/static/desktop/css/hue3-extra.css


+ 2 - 2
desktop/core/src/desktop/static/desktop/less/components/hue-tables.less

@@ -128,14 +128,14 @@ table.display td.center {
   *border-collapse: collapsed;
 }
 
-.sorting {
-  cursor: pointer;
+.sorting, .sorting_disabled {
   border-bottom: 1px solid transparent !important;
   padding-right: 20px !important;
   vertical-align: middle!important;
 }
 
 .sorting:hover {
+  cursor: pointer;
   background: url('../art/datatables/sort_both.png') no-repeat center right;
 }
 

部分文件因文件數量過多而無法顯示