Revision 60814
Added by Argiro Kokogiannaki over 3 years ago
tabs.component.ts | ||
---|---|---|
18 | 18 |
<ul [class]="(tabs.toArray().length > 2 ? 'uk-visible@m' : '') + ' uk-tab main-tabs uk-margin-remove uk-child-width-expand'" |
19 | 19 |
uk-tab uk-switcher="connect: .tabs-content" uk-height-match="target: .tab-header"> |
20 | 20 |
<li *ngFor="let tab of tabs.toArray(); let i=index" |
21 |
[class]="'uk-padding-remove'+(tab.statistics ? ' statistics ' : '') + (i == 0?' uk-active':'')"
|
|
21 |
[class]="'uk-padding-remove '+ tab.customClass + (i == 0?' uk-active':'')"
|
|
22 | 22 |
(click)="selectTab(tab)"> |
23 | 23 |
<a class="uk-width-1-1 uk-height-1-1"> |
24 | 24 |
<div class="tab-header">{{tab.title}}</div> |
25 | 25 |
<div *ngIf="tab.num" class="number">{{tab.num | number}}</div> |
26 |
<div *ngIf="tab.statistics" class="number">
|
|
26 |
<div *ngIf="tab.customClass == 'statistics'" class="number">
|
|
27 | 27 |
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"> |
28 | 28 |
<path d="M0 0h24v24H0z" fill="none"></path> |
29 | 29 |
<path d="M10 20h4V4h-4v16zm-6 0h4v-8H4v8zM16 9v11h4V9h-4z"></path> |
Also available in: Unified diff
[Library|Trunk]
Tabs:
- use CustomClass directive instead of statistics
- update it in landing pages
Enermaps Integration:
- Result LAnding at a new tab with enermaps tool
- Image on the left of the result preview component