1
|
<div class="uk-grid-margin uk-grid uk-grid-stack" uk-grid="">
|
2
|
<div class="uk-width-1-1@m uk-first-column">
|
3
|
|
4
|
<h1 class="uk-h2">Enrichments for {{ repoName }}</h1>
|
5
|
|
6
|
<!-- TOP HELP CONTENT -->
|
7
|
<help-content #topHelperContent [position]="'top'"
|
8
|
[ngClass]="topHelperContent.isPresent()?'uk-margin-medium-top uk-margin-medium-bottom':'clear-style'">
|
9
|
</help-content>
|
10
|
|
11
|
<div class="uk-container uk-margin-medium-top uk-margin-medium-bottom">
|
12
|
<div class="uk-grid">
|
13
|
|
14
|
<!-- LEFT HELP CONTENT -->
|
15
|
<aside-help-content #leftHelperContent [position]="'left'"
|
16
|
[ngClass]="leftHelperContent.isPresent()?'tm-sidebar uk-width-1-4@m uk-first-column':'clear-style'">
|
17
|
</aside-help-content>
|
18
|
|
19
|
<!-- MIDDLE -->
|
20
|
<div class=" uk-width-expand@m">
|
21
|
|
22
|
<div>
|
23
|
<div *ngIf="errorMessage" class="uk-alert uk-alert-danger">{{errorMessage}}</div>
|
24
|
<div *ngIf="loadingMessage" class="loading-big">
|
25
|
<div class="loader-big" style="text-align: center; padding-top: 170px; color: rgb(47, 64, 80); font-weight: bold;">{{ loadingMessage }}</div>
|
26
|
<div class="whiteFilm"></div>
|
27
|
</div>
|
28
|
<div *ngIf="noTopics" class="uk-alert">{{ noTopics }}</div>
|
29
|
<div *ngIf="repoTopics.length > 0" class="uk-grid-margin uk-grid uk-grid-stack repos-list">
|
30
|
<div class="uk-width-1-2@m uk-first-column">
|
31
|
<div class="uk-overflow-auto uk-scrollspy-inview uk-animation-slide-top-medium">
|
32
|
<div>
|
33
|
<h4 class="uk-h4 uk-text-primary uk-scrollspy-inview uk-animation-slide-top-medium" uk-scrollspy-class="">
|
34
|
<span>More</span>
|
35
|
</h4>
|
36
|
<table class="uk-table uk-table-striped uk-table-middle">
|
37
|
<thead>
|
38
|
<tr>
|
39
|
<th>Events that may enrich {{ repoName }} content</th>
|
40
|
<th class="uk-text-nowrap"># of events</th>
|
41
|
</tr>
|
42
|
</thead>
|
43
|
<tbody>
|
44
|
<tr class="el-item" *ngFor="let moreTopic of moreList">
|
45
|
<td class="uk-table-shrink uk-width-4-5">
|
46
|
<a (click)="goToEventsList(moreTopic.value)" class="el-link">{{ moreTopic.value }}</a>
|
47
|
<div class="uk-text uk-text-meta">{{ topics[moreTopic.value]['englishName'] }}</div>
|
48
|
</td>
|
49
|
<td class="uk-text-nowrap uk-table-shrink uk-width-1-5">
|
50
|
<div class="el-title">{{ moreTopic.size }}</div>
|
51
|
</td>
|
52
|
</tr>
|
53
|
<tr class="el-item footers">
|
54
|
<td class="uk-text-nowrap uk-table-shrink uk-width-4-5">
|
55
|
<div class="el-title">Total</div>
|
56
|
</td>
|
57
|
<td class="uk-text-nowrap uk-table-shrink uk-width-1-5">
|
58
|
<div class="el-title">{{ totalMore }}</div>
|
59
|
</td>
|
60
|
</tr>
|
61
|
</tbody>
|
62
|
</table>
|
63
|
</div>
|
64
|
</div>
|
65
|
</div>
|
66
|
<div class="uk-width-1-2@m uk-first-column">
|
67
|
<div class="uk-overflow-auto uk-scrollspy-inview uk-animation-slide-top-medium">
|
68
|
<div>
|
69
|
<h4 class="uk-h4 uk-text-primary uk-scrollspy-inview uk-animation-slide-top-medium" uk-scrollspy-class="">
|
70
|
<span>Missing</span>
|
71
|
</h4>
|
72
|
<table class="uk-table uk-table-striped uk-table-middle">
|
73
|
<thead>
|
74
|
<tr>
|
75
|
<th>Events that may enrich {{ repoName }} content</th>
|
76
|
<th class="uk-text-nowrap"># of events</th>
|
77
|
</tr>
|
78
|
</thead>
|
79
|
<tbody>
|
80
|
<tr class="el-item" *ngFor="let missingTopic of missingList">
|
81
|
<td class="uk-table-shrink uk-width-4-5">
|
82
|
<a (click)="goToEventsList(missingTopic.value)" class="el-link">{{ missingTopic.value }}</a>
|
83
|
<div class="uk-text uk-text-meta">{{ topics[missingTopic.value]['englishName'] }}</div>
|
84
|
</td>
|
85
|
<td class="uk-text-nowrap uk-table-shrink uk-width-1-5">
|
86
|
<div class="el-title">{{ missingTopic.size }}</div>
|
87
|
</td>
|
88
|
</tr>
|
89
|
<tr class="el-item footers">
|
90
|
<td class="uk-text-nowrap uk-table-shrink uk-width-4-5">
|
91
|
<div class="el-title">Total</div>
|
92
|
</td>
|
93
|
<td class="uk-text-nowrap uk-table-shrink uk-width-1-5">
|
94
|
<div class="el-title">{{ totalMissing }}</div>
|
95
|
</td>
|
96
|
</tr>
|
97
|
</tbody>
|
98
|
</table>
|
99
|
</div>
|
100
|
</div>
|
101
|
</div>
|
102
|
</div>
|
103
|
</div>
|
104
|
|
105
|
</div>
|
106
|
|
107
|
<!-- RIGHT HELP CONTENT -->
|
108
|
<aside-help-content #rightHelperContent [position]="'right'"
|
109
|
[ngClass]="rightHelperContent.isPresent()?'tm-sidebar uk-width-1-4@m uk-first-column':'clear-style'">
|
110
|
</aside-help-content>
|
111
|
|
112
|
</div>
|
113
|
</div>
|
114
|
|
115
|
|
116
|
<!-- BOTTOM HELP CONTENT -->
|
117
|
<help-content #bottomHelperContent [position]="'bottom'"
|
118
|
[ngClass]="bottomHelperContent.isPresent()?'uk-margin-medium-top uk-margin-medium-bottom':'clear-style'">
|
119
|
</help-content>
|
120
|
|
121
|
|
122
|
</div>
|
123
|
</div>
|