update stats upload buttons

pull/40/head
HardiReady 2018-07-06 23:42:50 +02:00
parent 798727bbae
commit 8f9b955e42
4 changed files with 18 additions and 10 deletions

View File

@ -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 {

View File

@ -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%;
}

View File

@ -1,11 +1,11 @@
<div class="select-list">
<div class="input-group list-header" *ngIf="loginService.hasPermission(3)">
<a class="pull-left btn btn-success" (click)="selectNewWar()">
<button mat-stroked-button class="stats-add-btn" (click)="selectNewWar()">
Schlacht hinzufügen
</a>
<a class="pull-right btn btn-success" (click)="selectNewCampaign()">
</button>
<button mat-stroked-button class="stats-add-btn" (click)="selectNewCampaign()">
Kampagne hinzufügen
</a>
</button>
</div>
<mat-accordion *ngFor="let campaign of campaigns; let isFirstRow=first">

View File

@ -1,5 +1,5 @@
<form #form="ngForm" class="overview">
<h3>Schlacht hinzufügen</h3>
<h3>Neue Schlacht hinzufügen</h3>
<div class="form-group">
<label for="title">Titel</label>