Use material icons for sort because they look nicer

This commit is contained in:
Isaac Connor 2019-08-19 08:59:15 -04:00
parent 239c68dd7f
commit ca0b583007
2 changed files with 6 additions and 5 deletions

View File

@ -328,7 +328,8 @@ for( $monitor_i = 0; $monitor_i < count($displayMonitors); $monitor_i += 1 ) {
?>
<td class="colMark">
<input type="checkbox" name="markMids[]" value="<?php echo $monitor['Id'] ?>" data-on-click-this="setButtonStates"<?php if ( !canEdit( 'Monitors' ) ) { ?> disabled="disabled"<?php } ?>/>
<span class="glyphicon glyphicon-sort" title="Click and drag to change order"></span>
<!--<span class="glyphicon glyphicon-sort" title="Click and drag to change order"></span>-->
<i class="material-icons sort" title="Click and drag to change order">swap_vert</i>
</td>
<?php
}

View File

@ -128,7 +128,7 @@ function initPage() {
// Makes table sortable
$j( function() {
$j( "#consoleTableBody" ).sortable({
handle: ".glyphicon-sort",
handle: ".sort",
update: applySort,
axis: 'Y'} );
$j( "#consoleTableBody" ).disableSelection();