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 {NgxDatatableModule} from '@swimlane/ngx-datatable';
|
||||||
import {PlayerService} from '../services/logs/player.service';
|
import {PlayerService} from '../services/logs/player.service';
|
||||||
import {LogsService} from '../services/logs/logs.service';
|
import {LogsService} from '../services/logs/logs.service';
|
||||||
import {MatButtonToggleModule, MatExpansionModule} from '@angular/material';
|
import {MatButtonModule, MatButtonToggleModule, MatExpansionModule} from '@angular/material';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
declarations: statsRoutingComponents,
|
declarations: statsRoutingComponents,
|
||||||
imports: [CommonModule, SharedModule, statsRouterModule, NgxChartsModule, NgxDatatableModule, MatExpansionModule,
|
imports: [CommonModule, SharedModule, statsRouterModule, NgxChartsModule, NgxDatatableModule,
|
||||||
MatButtonToggleModule],
|
MatButtonModule, MatExpansionModule, MatButtonToggleModule],
|
||||||
providers: [WarService, CampaignService, PlayerService, LogsService]
|
providers: [WarService, CampaignService, PlayerService, LogsService]
|
||||||
})
|
})
|
||||||
export class StatsModule {
|
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 {
|
.select-list > mat-accordion:first-child .mat-expansion-panel-header {
|
||||||
border-radius: 4px 4px 0 0;
|
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="select-list">
|
||||||
<div class="input-group list-header" *ngIf="loginService.hasPermission(3)">
|
<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
|
Schlacht hinzufügen
|
||||||
</a>
|
</button>
|
||||||
<a class="pull-right btn btn-success" (click)="selectNewCampaign()">
|
<button mat-stroked-button class="stats-add-btn" (click)="selectNewCampaign()">
|
||||||
Kampagne hinzufügen
|
Kampagne hinzufügen
|
||||||
</a>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<mat-accordion *ngFor="let campaign of campaigns; let isFirstRow=first">
|
<mat-accordion *ngFor="let campaign of campaigns; let isFirstRow=first">
|
||||||
|
@ -15,8 +15,8 @@
|
||||||
{{campaign.title}}
|
{{campaign.title}}
|
||||||
</mat-panel-title>
|
</mat-panel-title>
|
||||||
<mat-panel-description class="war-interaction-panel" *ngIf="loginService.hasPermission(3)">
|
<mat-panel-description class="war-interaction-panel" *ngIf="loginService.hasPermission(3)">
|
||||||
<span (click)="deleteCampaign(campaign); $event.stopPropagation()" title="Löschen"
|
<span (click)="deleteCampaign(campaign); $event.stopPropagation()" title="Löschen"
|
||||||
class="glyphicon glyphicon-trash trash">
|
class="glyphicon glyphicon-trash trash">
|
||||||
</span>
|
</span>
|
||||||
<span (click)="editCampaign(campaign); $event.stopPropagation()" title="Bearbeiten"
|
<span (click)="editCampaign(campaign); $event.stopPropagation()" title="Bearbeiten"
|
||||||
class="glyphicon glyphicon-edit trash"
|
class="glyphicon glyphicon-edit trash"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<form #form="ngForm" class="overview">
|
<form #form="ngForm" class="overview">
|
||||||
<h3>Schlacht hinzufügen</h3>
|
<h3>Neue Schlacht hinzufügen</h3>
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="title">Titel</label>
|
<label for="title">Titel</label>
|
||||||
|
|
Loading…
Reference in New Issue