Compare commits
No commits in common. "f837117d906f199145cd678ce80c3ad37559e324" and "dd6196555f3273d133d58bd83999e32fe621824a" have entirely different histories.
f837117d90
...
dd6196555f
|
@ -54,7 +54,7 @@
|
||||||
</select>
|
</select>
|
||||||
</td>
|
</td>
|
||||||
<td class="text-center">
|
<td class="text-center">
|
||||||
<span class="glyphicon glyphicon-trash trash" matTooltip="Löschen" (click)="deleteUser(user)"></span>
|
<span class="glyphicon glyphicon-trash trash" title="Löschen" (click)="deleteUser(user)"></span>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
|
@ -13,22 +13,3 @@
|
||||||
height: 32px;
|
height: 32px;
|
||||||
width: 32px;
|
width: 32px;
|
||||||
}
|
}
|
||||||
|
|
||||||
:host/deep/.mat-icon > svg {
|
|
||||||
color: #222222;
|
|
||||||
}
|
|
||||||
|
|
||||||
:host/deep/.mat-icon {
|
|
||||||
height: 32px;
|
|
||||||
width: 32px;
|
|
||||||
}
|
|
||||||
|
|
||||||
:host/deep/.mat-button-toggle {
|
|
||||||
background: white;
|
|
||||||
color: darkslategrey;
|
|
||||||
}
|
|
||||||
|
|
||||||
:host/deep/.mat-button-toggle-checked {
|
|
||||||
background: rgba(51, 122, 183, 0.64);
|
|
||||||
color: white;
|
|
||||||
}
|
|
||||||
|
|
|
@ -4,11 +4,9 @@
|
||||||
{{button.label}}
|
{{button.label}}
|
||||||
</mat-button-toggle>
|
</mat-button-toggle>
|
||||||
</mat-button-toggle-group>
|
</mat-button-toggle-group>
|
||||||
<button mat-icon-button
|
<button mat-icon-button class="add-btn">
|
||||||
class="add-btn"
|
<mat-icon svgIcon="{{addButton.svgIcon}}"
|
||||||
matTooltip="{{addButton.tooltip}}"
|
title="{{addButton.tooltip}}"
|
||||||
(click)="add()">
|
(click)="add()"></mat-icon>
|
||||||
<mat-icon svgIcon="{{addButton.svgIcon}}">
|
|
||||||
</mat-icon>
|
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -23,7 +23,6 @@ export class ListFilterComponent {
|
||||||
}
|
}
|
||||||
|
|
||||||
add() {
|
add() {
|
||||||
console.log("in child");
|
|
||||||
this.openAddFrom.emit();
|
this.openAddFrom.emit();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
<div class="input-group list-header">
|
<div class="input-group list-header">
|
||||||
<input id="search-field"
|
<input id="search-field"
|
||||||
type="text" #query class="form-control"
|
type="text" #query class="form-control"
|
||||||
(keyup.enter)="emitSearch()"
|
(keyup.enter)="emitSearch()"
|
||||||
[formControl]="searchTerm">
|
[formControl]="searchTerm">
|
||||||
<span class="input-group-btn">
|
<span class="input-group-btn">
|
||||||
<button class="btn btn-default" type="button"
|
<button class="btn btn-default" type="button"
|
||||||
(click)="emitSearch()">
|
(click)="emitSearch()">
|
||||||
Suchen
|
Suchen
|
||||||
</button>
|
</button>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
[style.max-width]="imgStyle.width"
|
[style.max-width]="imgStyle.width"
|
||||||
[style.margin-top]="imgStyle.marginTop"
|
[style.margin-top]="imgStyle.marginTop"
|
||||||
class="decoration-list-preview">
|
class="decoration-list-preview">
|
||||||
<span (click)="delete(); $event.stopPropagation()" matTooltip="Löschen" class="glyphicon glyphicon-trash trash"></span>
|
<span (click)="delete(); $event.stopPropagation()" title="Löschen" class="glyphicon glyphicon-trash trash"></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
<div class="col-xs-4">
|
<div class="col-xs-4">
|
||||||
<img src="{{imageSrc}}" class="rank-list-preview">
|
<img src="{{imageSrc}}" class="rank-list-preview">
|
||||||
<span (click)="delete(); $event.stopPropagation()" matTooltip="Löschen" class="glyphicon glyphicon-trash trash"></span>
|
<span (click)="delete(); $event.stopPropagation()" title="Löschen" class="glyphicon glyphicon-trash trash"></span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -32,6 +32,7 @@
|
||||||
<td>
|
<td>
|
||||||
<textarea style="width:100%;"
|
<textarea style="width:100%;"
|
||||||
rows="3"
|
rows="3"
|
||||||
|
title="reason"
|
||||||
#reason>{{award.reason}}</textarea>
|
#reason>{{award.reason}}</textarea>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
|
@ -43,6 +44,7 @@
|
||||||
<td>
|
<td>
|
||||||
<textarea style="width: 100%;"
|
<textarea style="width: 100%;"
|
||||||
rows="3"
|
rows="3"
|
||||||
|
title="rejectReason"
|
||||||
placeholder="Begründung für Ablehnung (optional)"
|
placeholder="Begründung für Ablehnung (optional)"
|
||||||
#rejectReason></textarea>
|
#rejectReason></textarea>
|
||||||
</td>
|
</td>
|
||||||
|
|
|
@ -38,6 +38,7 @@
|
||||||
<td>
|
<td>
|
||||||
<textarea style="width: 100%;"
|
<textarea style="width: 100%;"
|
||||||
rows="3"
|
rows="3"
|
||||||
|
title="rejectReason"
|
||||||
placeholder="Begründung für Ablehnung (optional)"
|
placeholder="Begründung für Ablehnung (optional)"
|
||||||
#rejectReason></textarea>
|
#rejectReason></textarea>
|
||||||
</td>
|
</td>
|
||||||
|
|
|
@ -4,16 +4,15 @@ import {ShowErrorComponent} from './common/show-error/show-error.component';
|
||||||
import {CommonModule} from '@angular/common';
|
import {CommonModule} from '@angular/common';
|
||||||
import {ListFilterComponent} from './common/user-interface/list-filter/list-filter.component';
|
import {ListFilterComponent} from './common/user-interface/list-filter/list-filter.component';
|
||||||
import {SearchFieldComponent} from './common/user-interface/search-field/search-field.component';
|
import {SearchFieldComponent} from './common/user-interface/search-field/search-field.component';
|
||||||
import {MatButtonToggleModule, MatTooltipModule} from '@angular/material';
|
import {MatButtonToggleModule} from '@angular/material';
|
||||||
import {MatButtonModule} from '@angular/material/button';
|
import {MatButtonModule} from '@angular/material/button';
|
||||||
import {MatIconModule} from '@angular/material/icon';
|
import {MatIconModule} from '@angular/material/icon';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
declarations: [ShowErrorComponent, ListFilterComponent, SearchFieldComponent],
|
declarations: [ShowErrorComponent, ListFilterComponent, SearchFieldComponent],
|
||||||
imports: [CommonModule, FormsModule, ReactiveFormsModule, MatButtonToggleModule, MatButtonModule, MatIconModule,
|
imports: [CommonModule, FormsModule, ReactiveFormsModule, MatButtonToggleModule, MatButtonModule, MatIconModule],
|
||||||
MatTooltipModule],
|
|
||||||
exports: [FormsModule, ReactiveFormsModule, MatButtonToggleModule, MatButtonModule, MatIconModule, ShowErrorComponent,
|
exports: [FormsModule, ReactiveFormsModule, MatButtonToggleModule, MatButtonModule, MatIconModule, ShowErrorComponent,
|
||||||
ListFilterComponent, SearchFieldComponent, MatTooltipModule],
|
ListFilterComponent, SearchFieldComponent],
|
||||||
})
|
})
|
||||||
export class SharedModule {
|
export class SharedModule {
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
|
|
||||||
<div class="col-xs-4">
|
<div class="col-xs-4">
|
||||||
<img src="{{imageSrc}}" height="50px" class="squad-list-preview">
|
<img src="{{imageSrc}}" height="50px" class="squad-list-preview">
|
||||||
<span (click)="delete(); $event.stopPropagation()" matTooltip="Löschen" class="glyphicon glyphicon-trash trash"></span>
|
<span (click)="delete(); $event.stopPropagation()" title="Löschen" class="glyphicon glyphicon-trash trash"></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
{label: fraction.OPFOR, value: 'OPFOR'}]"
|
{label: fraction.OPFOR, value: 'OPFOR'}]"
|
||||||
[addButton]="{svgIcon: 'add', tooltip: 'Neues Squad hinzufügen'}"
|
[addButton]="{svgIcon: 'add', tooltip: 'Neues Squad hinzufügen'}"
|
||||||
(executeSearch)="filterSquads($event)"
|
(executeSearch)="filterSquads($event)"
|
||||||
(openAddFrom)="openNewSquadForm()">
|
(openAddFrom)="openNewRankForm()">
|
||||||
</cc-list-filter>
|
</cc-list-filter>
|
||||||
|
|
||||||
<cc-list-search [searchTerm]="searchTerm"
|
<cc-list-search [searchTerm]="searchTerm"
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
<ngx-datatable-column [width]="valueColWidth" prop="{{attributeMap.prop}}">
|
<ngx-datatable-column [width]="valueColWidth" prop="{{attributeMap.prop}}">
|
||||||
<ng-template ngx-datatable-header-template let-sort="sortFn">
|
<ng-template ngx-datatable-header-template let-sort="sortFn">
|
||||||
<span class="datatable-header-cell-wrapper">
|
<span class="datatable-header-cell-wrapper">
|
||||||
<span class="datatable-header-cell-label text-truncate" matTooltip="{{attributeMap.head}}" (click)="sort()">
|
<span class="datatable-header-cell-label text-truncate" title="{{attributeMap.head}}" (click)="sort()">
|
||||||
<img src="../../../../assets/scoreboard/{{attributeMap.prop}}.png" alt="{{attributeMap.head}}">
|
<img src="../../../../assets/scoreboard/{{attributeMap.prop}}.png" alt="{{attributeMap.head}}">
|
||||||
</span>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
|
|
|
@ -11,8 +11,8 @@
|
||||||
|
|
||||||
<div *ngIf="loginService.hasPermission(3)"
|
<div *ngIf="loginService.hasPermission(3)"
|
||||||
class="interact-ico-container">
|
class="interact-ico-container">
|
||||||
<span class="glyphicon glyphicon-edit" (click)="edit(); $event.stopPropagation()" matTooltip="Bearbeiten"></span>
|
<span class="glyphicon glyphicon-edit" (click)="edit(); $event.stopPropagation()" title="Bearbeiten"></span>
|
||||||
<span class="glyphicon glyphicon-trash" (click)="delete(); $event.stopPropagation()" matTooltip="Löschen"></span>
|
<span class="glyphicon glyphicon-trash" (click)="delete(); $event.stopPropagation()" title="Löschen"></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,7 +1,3 @@
|
||||||
.war-list-header {
|
|
||||||
margin: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
span > a {
|
span > a {
|
||||||
font-weight: 600 !important;
|
font-weight: 600 !important;
|
||||||
}
|
}
|
||||||
|
@ -29,6 +25,12 @@ mat-expansion-panel-header.mat-expansion-panel-header:focus {
|
||||||
background-color: #4e4e4e;
|
background-color: #4e4e4e;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.select-list {
|
||||||
|
height: 120%;
|
||||||
|
background: #ececec;
|
||||||
|
box-shadow: 2px 1px 5px grey;
|
||||||
|
}
|
||||||
|
|
||||||
.select-list > div:last-child {
|
.select-list > div:last-child {
|
||||||
margin: 20px 0;
|
margin: 20px 0;
|
||||||
}
|
}
|
||||||
|
@ -68,6 +70,6 @@ mat-expansion-panel-header.mat-expansion-panel-header:focus {
|
||||||
background: white;
|
background: white;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
color: #3e3e3e;
|
color: #3e3e3e;
|
||||||
margin: 0 10px 10px 10px;
|
margin: 5px;
|
||||||
width: 95%;
|
width: 95%;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<div class="select-list">
|
<div class="select-list">
|
||||||
<div class="input-group war-list-header" *ngIf="loginService.hasPermission(3)">
|
<div class="input-group list-header" *ngIf="loginService.hasPermission(3)">
|
||||||
<button mat-stroked-button class="stats-add-btn" (click)="selectNewWar()">
|
<button mat-stroked-button class="stats-add-btn" (click)="selectNewWar()">
|
||||||
Schlacht hinzufügen
|
Schlacht hinzufügen
|
||||||
</button>
|
</button>
|
||||||
|
@ -15,10 +15,10 @@
|
||||||
{{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()" matTooltip="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()" matTooltip="Bearbeiten"
|
<span (click)="editCampaign(campaign); $event.stopPropagation()" title="Bearbeiten"
|
||||||
class="glyphicon glyphicon-edit trash"
|
class="glyphicon glyphicon-edit trash"
|
||||||
style="padding-right: 10px;">
|
style="padding-right: 10px;">
|
||||||
</span>
|
</span>
|
||||||
|
|
|
@ -2,7 +2,6 @@ div.list-entry, a.list-entry {
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
border: lightgrey solid 1px;
|
border: lightgrey solid 1px;
|
||||||
background: white;
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
margin-bottom: -1px;
|
margin-bottom: -1px;
|
||||||
}
|
}
|
||||||
|
@ -40,7 +39,7 @@ span > a, span.glyphicon, span.icon-award {
|
||||||
}
|
}
|
||||||
|
|
||||||
.selected {
|
.selected {
|
||||||
background-color: aliceblue !important;
|
background-color: aliceblue;
|
||||||
}
|
}
|
||||||
|
|
||||||
@-webkit-keyframes fadeIn {
|
@-webkit-keyframes fadeIn {
|
||||||
|
|
|
@ -13,9 +13,9 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-sm-4">
|
<div class="col-sm-4">
|
||||||
<span (click)="delete(); $event.stopPropagation()" matTooltip="Löschen"
|
<span (click)="delete(); $event.stopPropagation()" title="Löschen"
|
||||||
class="glyphicon glyphicon-trash trash pull-right"></span>
|
class="glyphicon glyphicon-trash trash pull-right"></span>
|
||||||
<span (click)="award(); $event.stopPropagation()" matTooltip="Auszeichnungen" class="icon-award pull-right"></span>
|
<span (click)="award(); $event.stopPropagation()" title="Auszeichnungen" class="icon-award pull-right"></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -53,7 +53,6 @@ export class UserListComponent implements OnInit {
|
||||||
}
|
}
|
||||||
|
|
||||||
openNewUserForm() {
|
openNewUserForm() {
|
||||||
console.log("message!")
|
|
||||||
this.selectedUserId = null;
|
this.selectedUserId = null;
|
||||||
this.router.navigate([{outlets: {'right': ['new']}}], {relativeTo: this.route});
|
this.router.navigate([{outlets: {'right': ['new']}}], {relativeTo: this.route});
|
||||||
}
|
}
|
||||||
|
|
|
@ -40,17 +40,10 @@ form {
|
||||||
}
|
}
|
||||||
|
|
||||||
#left {
|
#left {
|
||||||
display: none;
|
|
||||||
width: 20%;
|
width: 20%;
|
||||||
min-width: 350px;
|
min-width: 350px;
|
||||||
max-width: 450px;
|
max-width: 450px;
|
||||||
float: left;
|
float: left;
|
||||||
background: #ececec;
|
|
||||||
box-shadow: 2px 1px 5px grey;
|
|
||||||
}
|
|
||||||
|
|
||||||
#left:not(:empty) {
|
|
||||||
display:block!important;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#right {
|
#right {
|
||||||
|
|
Loading…
Reference in New Issue