Port Log now viewable via an icon by device port name
This commit is contained in:
		| @@ -251,10 +251,23 @@ td > form.nd_inline-form { | ||||
| /* port admin up/down control */ | ||||
| .nd_edit-icon, .nd_hand-icon { | ||||
|   cursor: pointer; | ||||
|   float: right; | ||||
|   display: none; | ||||
|   margin-top: 3px; | ||||
| } | ||||
|  | ||||
| /* port admin log view */ | ||||
| .nd_log-icon { | ||||
|   cursor: pointer; | ||||
|   color: black; | ||||
|   float: left; | ||||
|   display: none; | ||||
|   margin-top: 3px; | ||||
| } | ||||
| .nd_log-icon:hover, .nd_log-icon:focus { | ||||
|   text-decoration: none; | ||||
|   color: black; | ||||
| } | ||||
|  | ||||
| /* port power control */ | ||||
| .nd_power-icon { | ||||
|   | ||||
| @@ -92,14 +92,14 @@ $(document).ready(function() { | ||||
|  | ||||
|   // toggle visibility of port up/down and edit controls | ||||
|   $('.tab-content').on('mouseenter', '.nd_editable-cell', function() { | ||||
|     $(this).children('.nd_hand-icon').show(); | ||||
|     $(this).children('.nd_hand-icon,.nd_log-icon').show(); | ||||
|     if (! $(this).is(':focus')) { | ||||
|       $(this).children('.nd_edit-icon').show(); // ports | ||||
|       $(this).siblings('td').find('.nd_device-details-edit').show(); // details | ||||
|     } | ||||
|   }); | ||||
|   $('.tab-content').on('mouseleave', '.nd_editable-cell', function() { | ||||
|     $(this).children('.nd_hand-icon').hide(); | ||||
|     $(this).children('.nd_hand-icon,.nd_log-icon').hide(); | ||||
|     if (! $(this).is(':focus')) { | ||||
|       $(this).children('.nd_edit-icon').hide(); // ports | ||||
|       $(this).siblings('td').find('.nd_device-details-edit').hide(); // details | ||||
|   | ||||
		Reference in New Issue
	
	Block a user