update stats upload buttons
parent
798727bbae
commit
8f9b955e42
|
@ -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 {
|
||||
|
|
|
@ -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%;
|
||||
}
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue