Merge branch 'release/v1.6.5' of hardi/opt-cc into master
commit
6fc0ba3a58
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "opt-cc",
|
"name": "opt-cc",
|
||||||
"version": "1.6.4",
|
"version": "1.6.5",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"author": "Florian Hartwich <hardi@noarch.de>",
|
"author": "Florian Hartwich <hardi@noarch.de>",
|
||||||
"private": true,
|
"private": true,
|
||||||
|
|
|
@ -213,9 +213,9 @@
|
||||||
"integrity": "sha512-918ksaRl8RvGWGOjpUCywTS1MnLTqHki53XXibyhZkmHGSP5yLkcArBAFhFLvtQTTbuX8KSz2WFKxwaJ3JuJFw=="
|
"integrity": "sha512-918ksaRl8RvGWGOjpUCywTS1MnLTqHki53XXibyhZkmHGSP5yLkcArBAFhFLvtQTTbuX8KSz2WFKxwaJ3JuJFw=="
|
||||||
},
|
},
|
||||||
"@swimlane/ngx-datatable": {
|
"@swimlane/ngx-datatable": {
|
||||||
"version": "10.4.0",
|
"version": "11.0.4",
|
||||||
"resolved": "https://registry.npmjs.org/@swimlane/ngx-datatable/-/ngx-datatable-10.4.0.tgz",
|
"resolved": "https://registry.npmjs.org/@swimlane/ngx-datatable/-/ngx-datatable-11.0.4.tgz",
|
||||||
"integrity": "sha512-wTV/64vEGPFlcpE+ezTN18baOsNXyfLLvdmhEoaDQt2OJtTKtNxJkze24w71utoJxutQRrfHJUVSkAF4CLNckA=="
|
"integrity": "sha512-c/IA4wSeauLhImwkeNYpgB/QZBOPfHCBYXYie18yySUhBxBkY13mss1v0OsR17O0BJgrl79wq9uNs/FKLBo7aQ=="
|
||||||
},
|
},
|
||||||
"@types/jasmine": {
|
"@types/jasmine": {
|
||||||
"version": "2.5.38",
|
"version": "2.5.38",
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
"@angular/platform-browser-dynamic": "^5.0.0",
|
"@angular/platform-browser-dynamic": "^5.0.0",
|
||||||
"@angular/router": "^5.0.0",
|
"@angular/router": "^5.0.0",
|
||||||
"@swimlane/ngx-charts": "^6.1.0",
|
"@swimlane/ngx-charts": "^6.1.0",
|
||||||
"@swimlane/ngx-datatable": "^10.4.0",
|
"@swimlane/ngx-datatable": "^11.0.4",
|
||||||
"bootstrap": "^3.3.7",
|
"bootstrap": "^3.3.7",
|
||||||
"d3": "^4.11.0",
|
"d3": "^4.11.0",
|
||||||
"jquery": "^3.1.0",
|
"jquery": "^3.1.0",
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
width: 95%;
|
width: 95%;
|
||||||
margin: 2%;
|
margin: 2%;
|
||||||
min-width: 900px;
|
min-width: 900px;
|
||||||
height: 600px;
|
height: 50vh;
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,6 +4,12 @@
|
||||||
|
|
||||||
/* ########### DATATABLE ########### */
|
/* ########### DATATABLE ########### */
|
||||||
|
|
||||||
|
ngx-datatable {
|
||||||
|
width: 1020px;
|
||||||
|
margin: auto;
|
||||||
|
height: 68vh;
|
||||||
|
}
|
||||||
|
|
||||||
:host /deep/ .datatable-header {
|
:host /deep/ .datatable-header {
|
||||||
background: #222222;
|
background: #222222;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
<div class="fade-in" xmlns="http://www.w3.org/1999/html">
|
<div class="fade-in" style="overflow-x: auto" xmlns="http://www.w3.org/1999/html">
|
||||||
<ngx-datatable
|
<ngx-datatable
|
||||||
style="width:1020px; margin:auto"
|
|
||||||
[rows]="rows"
|
[rows]="rows"
|
||||||
[sorts]="[{prop: 'kill', dir: 'desc'}]"
|
[sorts]="[{prop: 'kill', dir: 'desc'}]"
|
||||||
[reorderable]="reorderable"
|
[reorderable]="reorderable"
|
||||||
|
@ -8,6 +7,8 @@
|
||||||
[headerHeight]="cellHeight"
|
[headerHeight]="cellHeight"
|
||||||
[rowHeight]="cellHeight"
|
[rowHeight]="cellHeight"
|
||||||
[cssClasses]='customClasses'
|
[cssClasses]='customClasses'
|
||||||
|
[columnMode]="'force'"
|
||||||
|
[scrollbarV]="true"
|
||||||
[selectionType]="'single'">
|
[selectionType]="'single'">
|
||||||
<ngx-datatable-column name="Spieler" prop="name" [width]="210" style="padding-left:10px">
|
<ngx-datatable-column name="Spieler" prop="name" [width]="210" style="padding-left:10px">
|
||||||
<ng-template ngx-datatable-cell-template let-row="row" let-value="value">
|
<ng-template ngx-datatable-cell-template let-row="row" let-value="value">
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import {Component, ElementRef, EventEmitter, SimpleChanges, ViewChild} from "@angular/core";
|
import {Component, EventEmitter, SimpleChanges} from "@angular/core";
|
||||||
import {War} from "../../../models/model-interfaces";
|
import {War} from "../../../models/model-interfaces";
|
||||||
import {Fraction} from "../../../utils/fraction.enum";
|
import {Fraction} from "../../../utils/fraction.enum";
|
||||||
|
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
.war-header-container {
|
.war-header-container {
|
||||||
width: 920px;
|
width: 920px;
|
||||||
min-height: 205px;
|
min-height: 168px;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.head-field {
|
.head-field {
|
||||||
font-size: 24px;
|
font-size: 22px;
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<div *ngIf="war" class="war-header fade-in" xmlns="http://www.w3.org/1999/html">
|
<div *ngIf="war" class="war-header fade-in" xmlns="http://www.w3.org/1999/html">
|
||||||
<div class="war-header-container">
|
<div class="war-header-container">
|
||||||
<h2>{{war.title}} - vom {{war.date | date: 'dd.MM.yyyy'}}</h2>
|
<h3>{{war.title}} - vom {{war.date | date: 'dd.MM.yyyy'}}</h3>
|
||||||
<div class="pull-left head-field" style="width: 250px">
|
<div class="pull-left head-field" style="width: 250px">
|
||||||
<h4>Endpunktestand:</h4>
|
<h4>Endpunktestand:</h4>
|
||||||
<span [style.color]="fraction.COLOR_BLUFOR" style="font-weight: bold; margin-right: 10px">{{fraction.BLUFOR}} {{war.ptBlufor}}</span>
|
<span [style.color]="fraction.COLOR_BLUFOR" style="font-weight: bold; margin-right: 10px">{{fraction.BLUFOR}} {{war.ptBlufor}}</span>
|
||||||
|
@ -8,9 +8,10 @@
|
||||||
<span [style.color]="fraction.COLOR_OPFOR" style="font-weight: bold; margin-left: 10px;">{{war.ptOpfor}} {{fraction.OPFOR}}</span>
|
<span [style.color]="fraction.COLOR_OPFOR" style="font-weight: bold; margin-left: 10px;">{{war.ptOpfor}} {{fraction.OPFOR}}</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="pull-left head-field " style="padding-left: 140px;">
|
<div class="pull-left head-field " style="padding-left: 100px;">
|
||||||
<h4 style="margin-bottom: 0;">Teilnehmer:</h4>
|
<h4 class="pull-left" style="margin-bottom: 0;">Teilnehmer:</h4>
|
||||||
<ngx-charts-pie-chart
|
<ngx-charts-pie-chart
|
||||||
|
class="pull-left"
|
||||||
[view]="[120, 120]"
|
[view]="[120, 120]"
|
||||||
[scheme]="colorScheme"
|
[scheme]="colorScheme"
|
||||||
[results]="playerChart"
|
[results]="playerChart"
|
||||||
|
@ -22,7 +23,7 @@
|
||||||
</ngx-charts-pie-chart>
|
</ngx-charts-pie-chart>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="pull-left " style="padding-left: 150px; padding-top:15px">
|
<div class="pull-left " style="padding-left: 100px; padding-top:15px">
|
||||||
<a class="btn btn-default" style="margin: 20px" target="_blank" href="resource/logs/{{war._id}}/clean.log">Logfile
|
<a class="btn btn-default" style="margin: 20px" target="_blank" href="resource/logs/{{war._id}}/clean.log">Logfile
|
||||||
anzeigen</a>
|
anzeigen</a>
|
||||||
<form class="form-group" *ngIf="tab === 0">
|
<form class="form-group" *ngIf="tab === 0">
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<div class="fade-in list-entry" [ngClass]="{selected : selected}" (click)="select()">
|
<div class="fade-in list-entry" [ngClass]="{selected : selected}" (click)="select()">
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-xs-9">
|
<div [ngClass]="[loginService.hasPermission(3) ? 'col-xs-9' : 'col-xs-11']">
|
||||||
<span>
|
<span>
|
||||||
<a style="font-size: 22px;">{{war.title}}</a>
|
<a style="font-size: 22px;">{{war.title}}</a>
|
||||||
</span>
|
</span>
|
||||||
|
@ -9,9 +9,10 @@
|
||||||
<small>vom {{war.date | date: 'dd.MM.yyyy'}}</small>
|
<small>vom {{war.date | date: 'dd.MM.yyyy'}}</small>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-xs-3">
|
<div class="col-xs-3" *ngIf="loginService.hasPermission(3)">
|
||||||
<span (click)="delete(); $event.stopPropagation()" title="Löschen" class="glyphicon glyphicon-trash trash"
|
<span (click)="delete(); $event.stopPropagation()"
|
||||||
*ngIf="loginService.hasPermission(3)"></span>
|
title="Löschen"
|
||||||
|
class="glyphicon glyphicon-trash trash"></span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.6 KiB |
Binary file not shown.
Before Width: | Height: | Size: 623 B After Width: | Height: | Size: 557 B |
Binary file not shown.
Before Width: | Height: | Size: 797 B After Width: | Height: | Size: 810 B |
Loading…
Reference in New Issue