From 8f9b955e42d18115a2a8490df9928b7a28a21658 Mon Sep 17 00:00:00 2001 From: HardiReady Date: Fri, 6 Jul 2018 23:42:50 +0200 Subject: [PATCH] update stats upload buttons --- static/src/app/statistic/stats.module.ts | 6 +++--- .../statistic/war/war-list/war-list.component.css | 8 ++++++++ .../statistic/war/war-list/war-list.component.html | 12 ++++++------ .../war/war-submit/war-submit.component.html | 2 +- 4 files changed, 18 insertions(+), 10 deletions(-) diff --git a/static/src/app/statistic/stats.module.ts b/static/src/app/statistic/stats.module.ts index e1f74ca..f3a40fc 100644 --- a/static/src/app/statistic/stats.module.ts +++ b/static/src/app/statistic/stats.module.ts @@ -8,12 +8,12 @@ import {CampaignService} from '../services/logs/campaign.service'; import {NgxDatatableModule} from '@swimlane/ngx-datatable'; import {PlayerService} from '../services/logs/player.service'; import {LogsService} from '../services/logs/logs.service'; -import {MatButtonToggleModule, MatExpansionModule} from '@angular/material'; +import {MatButtonModule, MatButtonToggleModule, MatExpansionModule} from '@angular/material'; @NgModule({ declarations: statsRoutingComponents, - imports: [CommonModule, SharedModule, statsRouterModule, NgxChartsModule, NgxDatatableModule, MatExpansionModule, - MatButtonToggleModule], + imports: [CommonModule, SharedModule, statsRouterModule, NgxChartsModule, NgxDatatableModule, + MatButtonModule, MatExpansionModule, MatButtonToggleModule], providers: [WarService, CampaignService, PlayerService, LogsService] }) export class StatsModule { diff --git a/static/src/app/statistic/war/war-list/war-list.component.css b/static/src/app/statistic/war/war-list/war-list.component.css index 89ce202..cb06fbf 100644 --- a/static/src/app/statistic/war/war-list/war-list.component.css +++ b/static/src/app/statistic/war/war-list/war-list.component.css @@ -65,3 +65,11 @@ mat-expansion-panel-header.mat-expansion-panel-header:focus { .select-list > mat-accordion:first-child .mat-expansion-panel-header { border-radius: 4px 4px 0 0; } + +.stats-add-btn { + background: white; + font-weight: 700; + color: #3e3e3e; + margin: 5px; + width: 95%; +} diff --git a/static/src/app/statistic/war/war-list/war-list.component.html b/static/src/app/statistic/war/war-list/war-list.component.html index 3a9bf4c..ad14f1c 100644 --- a/static/src/app/statistic/war/war-list/war-list.component.html +++ b/static/src/app/statistic/war/war-list/war-list.component.html @@ -1,11 +1,11 @@
@@ -15,8 +15,8 @@ {{campaign.title}} - + -

Schlacht hinzufügen

+

Neue Schlacht hinzufügen