diff --git a/static/src/app/services/logs/war.service.ts b/static/src/app/services/logs/war.service.ts index e4551b1..8072a41 100644 --- a/static/src/app/services/logs/war.service.ts +++ b/static/src/app/services/logs/war.service.ts @@ -39,7 +39,7 @@ export class WarService { } updateWar(war: War) { - return this.http.put(this.config.apiWarPath, war) + return this.http.patch(this.config.apiWarPath, war) .map(res => res.json()); } } diff --git a/static/src/app/statistic/war/war-edit/war-edit.component.html b/static/src/app/statistic/war/war-edit/war-edit.component.html index c86a154..0fb5bc1 100644 --- a/static/src/app/statistic/war/war-edit/war-edit.component.html +++ b/static/src/app/statistic/war/war-edit/war-edit.component.html @@ -1,5 +1,5 @@
-

Schlacht hinzufügen

+

Schlacht bearbeiten

@@ -8,7 +8,6 @@ name="title" id="title" required maxlength="50"/> -
@@ -26,12 +25,43 @@
- - - - Logfile muss im Format RPT, LOG oder TXT vorliegen - + + + +
+ +
+ + + +
+ +
+ + + +
+ +
+ + +