compatible war upload page
parent
1acaba5a60
commit
91ebda52b0
|
@ -12,36 +12,6 @@
|
||||||
<show-error text="Name" path="title"></show-error>
|
<show-error text="Name" path="title"></show-error>
|
||||||
</div>
|
</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">
|
<div class="form-group">
|
||||||
<label for="campaign">Kampagne</label>
|
<label for="campaign">Kampagne</label>
|
||||||
<select class="form-control"
|
<select class="form-control"
|
||||||
|
|
|
@ -14,7 +14,7 @@ import {CampaignService} from "../../services/campaign-service/campaign.service"
|
||||||
})
|
})
|
||||||
export class WarSubmitComponent {
|
export class WarSubmitComponent {
|
||||||
|
|
||||||
war: War = {date: new Date().toISOString().slice(0, 10), players: []};
|
war: War = {players: []};
|
||||||
|
|
||||||
fileList: FileList;
|
fileList: FileList;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue