Dotclear

Changeset 4007:d08f9c5e38db for plugins


Ignore:
Timestamp:
07/11/19 15:15:52 (6 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Responsive tables (not yet applied for plugins), thanks Adrian Roselli for code (js/css)  http://adrianroselli.com/2018/02/tables-css-display-properties-and-aria.html

Location:
plugins
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • plugins/aboutConfig/js/index.js

    r3709 r4007  
    1 /*global $ */ 
     1/*global $, dotclear */ 
    22'use strict'; 
    33 
     
    1111    window.location = $('#ls_nav option:selected').val(); 
    1212  }); 
     13  dotclear.responsiveCellHeaders(document.querySelector('table.settings'), 'table.settings', 0, true); 
     14  $('table.settings').addClass('rch rch-thead'); 
    1315}); 
  • plugins/antispam/js/antispam.js

    r3987 r4007  
    3131    return window.confirm(dotclear.msg.confirm_spam_delete); 
    3232  }); 
     33  dotclear.responsiveCellHeaders(document.querySelector('#filters-list-form table'), '#filters-list-form table', 1, true); 
    3334}); 
  • plugins/pages/js/list.js

    r3995 r4007  
    5656  $('#pageslist td input[type=checkbox]').enableShiftClick(); 
    5757  dotclear.condSubmit('#pageslist td input[type=checkbox]', '#form-entries #do-action'); 
     58  dotclear.responsiveCellHeaders(document.querySelector('#form-entries table'), '#form-entries table', 3, true); 
    5859 
    5960  $('#pageslist tr.line td:not(.expander)').mousedown(function() { 
  • plugins/simpleMenu/js/simplemenu.js

    r3880 r4007  
    2626  $('#menuitemslist tr td.handle').addClass('handler'); 
    2727  dotclear.condSubmit('#menuitems tr td input[name^=items_selected]', '#menuitems #remove-action'); 
     28  dotclear.responsiveCellHeaders(document.querySelector('#menuitems table'), '#menuitems table', 2); 
    2829}); 
  • plugins/userPref/js/index.js

    r3709 r4007  
    1 /*global $ */ 
     1/*global $, dotclear */ 
    22'use strict'; 
    33 
     
    1313    window.location = $('#lp_nav option:selected').val(); 
    1414  }); 
     15  dotclear.responsiveCellHeaders(document.querySelector('table.prefs'), 'table.prefs', 0, true); 
     16  $('table.prefs').addClass('rch rch-thead'); 
    1517}); 
Note: See TracChangeset for help on using the changeset viewer.

Sites map