forked from patternfly/angular-patternfly
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathview-utils.js
More file actions
41 lines (40 loc) · 946 Bytes
/
Copy pathview-utils.js
File metadata and controls
41 lines (40 loc) · 946 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
(function () {
'use strict';
angular.module('patternfly.views').constant('pfViewUtils', {
getDashboardView: function (title) {
return {
id: 'dashboardView',
title: title || 'Dashboard View',
iconClass: 'fa fa-dashboard'
};
},
getCardView: function (title) {
return {
id: 'cardView',
title: title || 'Card View',
iconClass: 'fa fa-th'
};
},
getListView: function (title) {
return {
id: 'listView',
title: title || 'List View',
iconClass: 'fa fa-th-list'
};
},
getTableView: function (title) {
return {
id: 'tableView',
title: title || 'Table View',
iconClass: 'fa fa-table'
};
},
getTopologyView: function (title) {
return {
id: 'topologyView',
title: title || 'Topology View',
iconClass: 'fa fa-sitemap'
};
}
});
})();