Posted by Jonathan
2015-05-27

I have made the tables in responsive using the code from http://codepen.io/geoffyuen/pen/FCBEg
Just add table class and td data-th and add the css to page.css.
I have hidden 'Add New' and 'Delete' and the Tick box and edit columns using:
<?php if ( $sys->IsAdmin() ) {
//code goes here
} ?>
which hides stuff from 'Staff' but enables them for 'admin'.
Hope this helps.