Project

General

Profile

« Previous | Next » 

Revision 57555

[MonitorDashboard]: Make custom css for sidebar width and header height. Add indicators on page. Remove global save. Add indicator filters

View differences:

Tools.ts
1
export class IndicatorUtils {
2

  
3
  chartTypes: Map<string, string> = new Map([
4
    ['pie', 'pie_chart'],
5
    ['table', 'table_chart'],
6
    ['line', 'show_chart'],
7
    ['column', 'bar_chart'],
8
    ['bar', 'bar_chart'],
9
    ['image', 'perm_media']
10
  ]);
11

  
12
  isPublicIcon: Map<boolean, string> = new Map([
13
    [true, 'public'],
14
    [false, 'lock']
15
  ]);
16

  
17
  isActiveIcon: string = 'brightness_1';
18
}
19

  
1 20
export class Tools {
2 21

  
3 22
  public static copy(element: any): any {

Also available in: Unified diff