Use material icons for sort because they look nicer
This commit is contained in:
parent
239c68dd7f
commit
ca0b583007
|
@ -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
|
||||
}
|
||||
|
|
|
@ -117,18 +117,18 @@ function reloadWindow() {
|
|||
}
|
||||
|
||||
function initPage() {
|
||||
reloadWindow.periodical( consoleRefreshTimeout );
|
||||
reloadWindow.periodical(consoleRefreshTimeout);
|
||||
if ( showVersionPopup ) {
|
||||
createPopup( '?view=version', 'zmVersion', 'version' );
|
||||
createPopup('?view=version', 'zmVersion', 'version');
|
||||
}
|
||||
if ( showDonatePopup ) {
|
||||
createPopup( '?view=donate', 'zmDonate', 'donate' );
|
||||
createPopup('?view=donate', 'zmDonate', 'donate');
|
||||
}
|
||||
|
||||
// Makes table sortable
|
||||
$j( function() {
|
||||
$j( "#consoleTableBody" ).sortable({
|
||||
handle: ".glyphicon-sort",
|
||||
handle: ".sort",
|
||||
update: applySort,
|
||||
axis: 'Y'} );
|
||||
$j( "#consoleTableBody" ).disableSelection();
|
||||
|
|
Loading…
Reference in New Issue