SES-165 players tables #84

Merged
s426134 merged 6 commits from SES-165 into dev 2021-01-22 07:46:32 +01:00
6 changed files with 71 additions and 8 deletions
Showing only changes of commit c31075e54f - Show all commits

View File

@ -41,3 +41,23 @@ th {
text-align: center;
align-items: center
}
th.mat-header-cell {
border-bottom: #e8cca7
solid 1px;
}
td.mat-cell {
border-bottom: #e8cca7
solid 1px;
}
table.mat-table {
margin-left: 7%;
}
@media (max-width: 365px) {
table.mat-table {
margin-left: 0%;
}
}

View File

@ -21,12 +21,12 @@
</mat-list-item>
<mat-list-item (click)="SwitchMiddleComponent('PlayerWeaponsTableComponent')">
<mat-icon [class.active]="selected" matListIcon>local_mall</mat-icon>
<mat-icon [class.active]="selected" matListIcon><i class="ra ra-daggers "></i></mat-icon>
<a matLine>Weapons</a>
</mat-list-item>
<mat-list-item (click)="SwitchMiddleComponent('PlayerArmorsTableComponent')">
<mat-icon [class.active]="selected" matListIcon>local_mall</mat-icon>
<mat-icon [class.active]="selected" matListIcon><i class="ra ra-vest"></i></mat-icon>
<a matLine>Armors</a>
</mat-list-item>
@ -35,15 +35,17 @@
<a matLine>Other equipment</a>
</mat-list-item>
<mat-list-item>
<!--Uncomment when Spells will be implemented-->
<!--<mat-list-item>
<mat-icon [class.active]="selected" matListIcon>brightness_4</mat-icon>
<a matLine>Spells</a>
</mat-list-item>
</mat-list-item>-->
<mat-list-item>
<!--Uncomment when Profile will be implemented-->
<!-- <mat-list-item>
<mat-icon [class.active]="selected" matListIcon>account_circle</mat-icon>
<a matLine>Profile</a>
</mat-list-item>
</mat-list-item>-->
<mat-list-item>
<mat-icon [class.active]="selected" matListIcon>shopping_cart</mat-icon>

View File

@ -41,3 +41,23 @@ th {
text-align: center;
align-items: center
}
th.mat-header-cell {
border-bottom: #e8cca7
solid 1px;
}
td.mat-cell {
border-bottom: #e8cca7
solid 1px;
}
table.mat-table {
margin-left: 0%;
}
@media (max-width: 365px) {
table.mat-table {
margin-left: 0%;
}
}

View File

@ -19,7 +19,8 @@
<ng-container matColumnDef="description">
<th mat-header-cell *matHeaderCellDef mat-sort-header> Description </th>
<td mat-cell *matCellDef="let row"> {{row.description}} </td>
<td mat-cell *matCellDef="let row"> {{row.description}}
</td>
</ng-container>
<tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>

View File

@ -41,3 +41,23 @@ th {
text-align: center;
align-items: center
}
th.mat-header-cell {
border-bottom: #e8cca7
solid 1px;
}
td.mat-cell {
border-bottom: #e8cca7
solid 1px;
}
table.mat-table {
margin-left: 10%;
}
@media (max-width: 365px) {
table.mat-table {
margin-left: 3%;
}
}

View File

@ -40,7 +40,7 @@ export class PlayerWeaponsTableComponent implements OnInit {
.pipe(first())
.subscribe((characterId) => {
this.equipmentService
.getCharacterWeapons(characterId)
.getCharacterWeapons(1)
.pipe(first())
.subscribe(
(result) => {