add icon in speed chart tooltip
This commit is contained in:
parent
2b2069bf66
commit
a37a228e22
|
@ -36,7 +36,7 @@
|
|||
var uploadSpeed = $filter('readableVolume')(params[0].value) + '/s';
|
||||
var downloadSpeed = $filter('readableVolume')(params[1].value) + '/s';
|
||||
|
||||
return '<div>' + time + '</div>'
|
||||
return '<div><i class="fa fa-clock-o"></i> ' + time + '</div>'
|
||||
+ '<div><i class="icon-download fa fa-arrow-down"></i> ' + downloadSpeed +'</div>'
|
||||
+ '<div><i class="icon-upload fa fa-arrow-up"></i> ' + uploadSpeed + '</div>';
|
||||
}
|
||||
|
|
Reference in a new issue