Revision 60004
Added by Konstantinos Triantafyllou over 3 years ago
monitor.component.ts | ||
---|---|---|
12 | 12 |
import {StakeholderService} from "../openaireLibrary/monitor/services/stakeholder.service"; |
13 | 13 |
import { |
14 | 14 |
Category, Indicator, |
15 |
IndicatorPath, |
|
15 |
IndicatorPath, IndicatorSize,
|
|
16 | 16 |
Stakeholder, |
17 | 17 |
SubCategory, |
18 | 18 |
Topic, |
... | ... | |
525 | 525 |
mailMe() { |
526 | 526 |
window.location.href = this.mailText; |
527 | 527 |
} |
528 |
|
|
529 |
public getNumberClassBySize(size: IndicatorSize) { |
|
530 |
if(size === 'small') { |
|
531 |
return 'uk-width-1-4@xl uk-width-1-3@l uk-width-1-2@m uk-width-1-1'; |
|
532 |
} else if(size === 'medium') { |
|
533 |
return 'uk-width-1-3@l uk-width-1-2@m uk-width-1-1'; |
|
534 |
} else { |
|
535 |
return 'uk-width-1-2@l uk-width-1-1@m uk-width-1-1'; |
|
536 |
} |
|
537 |
} |
|
538 |
|
|
539 |
public getChartClassBySize(size: IndicatorSize) { |
|
540 |
if(size === 'small') { |
|
541 |
return 'uk-width-1-3@xl uk-width-1-2@m uk-width-1-1'; |
|
542 |
} else if(size === 'medium') { |
|
543 |
return 'uk-width-1-2@l uk-width-1-1'; |
|
544 |
} else { |
|
545 |
return 'uk-width-1-1'; |
|
546 |
} |
|
547 |
} |
|
528 | 548 |
} |
Also available in: Unified diff
[Monitor Dashboard | Trunk]: Some UI changes