compatible war upload page

pull/15/head
Florian Hartwich 2017-10-21 15:00:49 +02:00
parent 1acaba5a60
commit 91ebda52b0
2 changed files with 1 additions and 31 deletions

View File

@ -12,36 +12,6 @@
<show-error text="Name" path="title"></show-error>
</div>
<div class="form-group">
<label for="date">Datum</label>
<input type="date" class="form-control"
[(ngModel)]="war.date"
name="date"
id="date"
required/>
<show-error text="Datum" path="date"></show-error>
</div>
<div class="form-group">
<label for="ptblu">Punkte NATO</label>
<input type="number" class="form-control" step="1"
[(ngModel)]="war.ptBlufor"
name="ptblu"
id="ptblu"
required/>
<show-error text="Punkte NATO" path="ptblu"></show-error>
</div>
<div class="form-group">
<label for="ptopf">Punkte CSAT</label>
<input type="number" class="form-control" step="1"
[(ngModel)]="war.ptOpfor"
name="ptopf"
id="ptopf"
required/>
<show-error text="Punkte CSAT" path="ptopf"></show-error>
</div>
<div class="form-group">
<label for="campaign">Kampagne</label>
<select class="form-control"

View File

@ -14,7 +14,7 @@ import {CampaignService} from "../../services/campaign-service/campaign.service"
})
export class WarSubmitComponent {
war: War = {date: new Date().toISOString().slice(0, 10), players: []};
war: War = {players: []};
fileList: FileList;