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">
|
<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 } ?>/>
|
<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>
|
</td>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
|
|
|
@ -117,18 +117,18 @@ function reloadWindow() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function initPage() {
|
function initPage() {
|
||||||
reloadWindow.periodical( consoleRefreshTimeout );
|
reloadWindow.periodical(consoleRefreshTimeout);
|
||||||
if ( showVersionPopup ) {
|
if ( showVersionPopup ) {
|
||||||
createPopup( '?view=version', 'zmVersion', 'version' );
|
createPopup('?view=version', 'zmVersion', 'version');
|
||||||
}
|
}
|
||||||
if ( showDonatePopup ) {
|
if ( showDonatePopup ) {
|
||||||
createPopup( '?view=donate', 'zmDonate', 'donate' );
|
createPopup('?view=donate', 'zmDonate', 'donate');
|
||||||
}
|
}
|
||||||
|
|
||||||
// Makes table sortable
|
// Makes table sortable
|
||||||
$j( function() {
|
$j( function() {
|
||||||
$j( "#consoleTableBody" ).sortable({
|
$j( "#consoleTableBody" ).sortable({
|
||||||
handle: ".glyphicon-sort",
|
handle: ".sort",
|
||||||
update: applySort,
|
update: applySort,
|
||||||
axis: 'Y'} );
|
axis: 'Y'} );
|
||||||
$j( "#consoleTableBody" ).disableSelection();
|
$j( "#consoleTableBody" ).disableSelection();
|
||||||
|
|
Loading…
Reference in New Issue