opt-cc/static/src/app/statistic/war-detail/war-detail.component.html

61 lines
2.1 KiB
HTML
Raw Normal View History

2017-07-08 21:56:11 +02:00
<div class="overview" xmlns="http://www.w3.org/1999/html">
2017-08-12 23:13:39 +02:00
<div style="min-height: 263px;">
2017-08-05 23:19:23 +02:00
<h2>{{war.title}} - vom {{war.date | date: 'dd.MM.yyyy'}}</h2>
2017-08-13 16:35:42 +02:00
<h3 class="pull-left" style="width: 250px">
2017-07-08 21:56:11 +02:00
<h4>Endpunktestand:</h4>
<span class="text-blufor" style="font-weight: bold; margin-right: 10px">NATO {{war.ptBlufor}}</span>
<span style="font-size: x-large">|</span>
<span class="text-opfor" style="font-weight: bold; margin-left: 10px;">{{war.ptOpfor}} CSAT</span>
</h3>
2017-08-13 16:35:42 +02:00
<h3 class="pull-left" style="padding-left: 150px;">
2017-07-30 16:25:11 +02:00
<h4>Teilnehmer:</h4>
<ngx-charts-pie-chart
[view]="[150, 150]"
[scheme]="{domain: ['#B22222', '#0000FF']}"
[results]="playerChart"
[legend]="false"
[explodeSlices]="false"
[labels]="false"
[doughnut]="false"
2017-07-30 16:31:55 +02:00
[gradient]="false">
2017-07-30 16:25:11 +02:00
</ngx-charts-pie-chart>
</h3>
2017-08-13 16:35:42 +02:00
<div class="pull-left" style="padding-left: 150px; padding-top:15px">
2017-07-14 23:50:58 +02:00
<a class="btn btn-default" style="margin: 20px" target="_blank" href="resource/logs/{{war._id}}/clean.log">Logfile
2017-07-09 17:08:32 +02:00
anzeigen</a>
2017-07-08 21:56:11 +02:00
<form class="form-group">
<label class="radio-inline">
<input type="radio" name="fractSelect"
[checked]="(fractionRadioSelect == undefined) ? 'true' : 'false'"
[(ngModel)]="fractionRadioSelect"
(change)="filterPlayersByFraction()">Alle
</label>
<label class="radio-inline">
<input type="radio" name="fractSelect" value="BLUFOR"
[(ngModel)]="fractionRadioSelect"
#fractRadioBufor
(change)="filterPlayersByFraction(fractRadioBufor.value)">NATO
</label>
<label class="radio-inline">
<input type="radio" name="fractSelect" value="OPFOR"
[(ngModel)]="fractionRadioSelect"
#fractRadioOpfor
(change)="filterPlayersByFraction(fractRadioOpfor.value)">CSAT
</label>
<br>
</form>
</div>
</div>
2017-08-13 16:35:42 +02:00
<div class="pull-left">
2017-09-12 15:44:12 +02:00
<ngx-datatable
[rows]="rows"
[columns]="columns">
</ngx-datatable>
2017-07-08 21:56:11 +02:00
</div>
</div>