Revision 57642
Added by Michele Artini over 4 years ago
warnings.html | ||
---|---|---|
1 | 1 |
<h3>{{warnings.length}} warning(s)</h3> |
2 | 2 |
|
3 |
<table class="table table-sm" ng-if="warnings.length > 0"> |
|
4 |
<thead class="thead-light"> |
|
5 |
<tr> |
|
6 |
<th style="width:40px"></th> |
|
7 |
<th>Organization name</th> |
|
8 |
<th style="width:180px">Place</th> |
|
9 |
<th style="width:80px">Type</th> |
|
3 |
<div class="card text-white mb-3" ng-repeat="w in warnings" class="mb-2"> |
|
4 |
<div class="card-header bg-primary">Group {{$index+1}}</div> |
|
5 |
<table class="table table-sm"> |
|
6 |
<tr ng-repeat="o in w"> |
|
7 |
<th style="width:40px" class="text-center">#{{$index+1}}</th> |
|
8 |
<td><a href="#!/metadata/0/{{o.id}}" title="{{o.id}}">{{o.name}}</a></td> |
|
9 |
<td style="width:200px"><img ng-src="resources/images/flags/{{o.country}}.gif" /> {{o.city}}, {{o.country}}</td> |
|
10 |
<td style="width:80px" class="text-right">{{o.type}}</td> |
|
10 | 11 |
</tr> |
11 |
</thead> |
|
12 |
<tbody ng-repeat="w in warnings" class="mb-2"> |
|
13 |
<tr> |
|
14 |
<th class="text-center">#1</th> |
|
15 |
<td><a href="#!/metadata/0/{{w.id1}}" title="{{w.id1}}">{{w.name1}}</a></td> |
|
16 |
<td><img ng-src="resources/images/flags/{{w.country1}}.gif" /> {{w.city1}}, {{w.country1}}</td> |
|
17 |
<td class="text-right">{{w.type1}}</td> |
|
18 |
</tr> |
|
19 |
<tr> |
|
20 |
<th class="text-center" style="width:40px">#2</th> |
|
21 |
<td><a href="#!/metadata/0/{{w.id2}}" title="{{w.id2}}">{{w.name2}}</a></td> |
|
22 |
<td><img ng-src="resources/images/flags/{{w.country2}}.gif" /> {{w.city2}}, {{w.country2}}</td> |
|
23 |
<td class="text-right">{{w.type2}}</td> |
|
24 |
</tr> |
|
25 |
<tr> |
|
26 |
<th style="width:40px"></th> |
|
27 |
<td colspan="3"> |
|
28 |
<button type="button" class="btn btn-sm btn-primary">merge</button> |
|
29 |
<button type="button" class="btn btn-sm btn-outline-danger"><i class="fa fa-trash"></i></button> |
|
30 |
</td> |
|
31 |
</tr> |
|
32 |
</tbody> |
|
33 |
</table> |
|
34 |
|
|
12 |
</table> |
|
13 |
<div class="card-footer bg-secondary"> |
|
14 |
<button type="button" class="btn btn-sm btn-primary">merge</button> |
|
15 |
</div> |
|
16 |
</div> |
|
17 |
|
Also available in: Unified diff
minors