mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 01:13:23 -04:00
Add IP icon
This commit is contained in:
parent
6b069bedf8
commit
aa4d888350
1 changed files with 5 additions and 0 deletions
|
@ -13,12 +13,17 @@ define(function (require) {
|
|||
template: html,
|
||||
controller: function ($scope) {
|
||||
$scope.typeIcon = function (fieldType) {
|
||||
console.log(fieldType);
|
||||
switch (fieldType)
|
||||
{
|
||||
case 'string':
|
||||
return 'fa-sort-alpha-asc';
|
||||
case 'number':
|
||||
return 'fa-sort-numeric-asc';
|
||||
case 'date':
|
||||
return 'fa-clock-o';
|
||||
case 'ip':
|
||||
return 'fa-laptop';
|
||||
default:
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue