added log out into player dashboard, deleted unused elements

This commit is contained in:
Natalia Gawron 2021-01-10 18:03:17 +01:00
parent c700651427
commit 766b323042
2 changed files with 4 additions and 4 deletions

View File

@ -3,12 +3,12 @@
<mat-card-header id="ability-card-header" [style.background]="headStyle.bgColor" [style.color]="headStyle.textColor"> <mat-card-header id="ability-card-header" [style.background]="headStyle.bgColor" [style.color]="headStyle.textColor">
<div id="ability-value">{{ability.value}}</div> <div id="ability-value">{{ability.value}}</div>
<div class="diagonal-line"></div> <div class="diagonal-line"></div>
Mod: {{ability.modification > 0? '+' + ability.modification : '-' + ability.modification}} Mod: {{ability.modification > 0? '+' + ability.modification : + ability.modification}}
<div class="diagonal-line"></div> <div class="diagonal-line"></div>
{{ability.name}} {{ability.name}}
<div *ngIf="ability.canSaveThrows" class="diagonal-line" style="margin-left: auto"></div> <div *ngIf="ability.canSaveThrows" class="diagonal-line" style="margin-left: auto"></div>
<div *ngIf="ability.canSaveThrows" style="margin-right: 10px"> <div *ngIf="ability.canSaveThrows" style="margin-right: 10px">
<div id="ability-saving-throws">ST: {{ability.savingThrows > 0? '+' + ability.savingThrows : '-' + ability.savingThrows}}</div> <div id="ability-saving-throws">ST: {{ability.savingThrows > 0? '+' + ability.savingThrows : ability.savingThrows}}</div>
</div> </div>
</mat-card-header> </mat-card-header>
<mat-divider [style.border-top-color]="'black'"></mat-divider> <mat-divider [style.border-top-color]="'black'"></mat-divider>
@ -17,7 +17,7 @@
{{skill.name}} {{skill.name}}
&nbsp; &nbsp; &nbsp; &nbsp;
<span [style.border-left-color]="headStyle.bgColor" id="skill-btn-divider"></span> <span [style.border-left-color]="headStyle.bgColor" id="skill-btn-divider"></span>
{{skill.value > 0? '+' + skill.value : '-' + skill.value}} {{skill.value > 0? '+' + skill.value : + skill.value}}
</a> </a>
</mat-card-content> </mat-card-content>
</mat-card> </mat-card>

View File

@ -40,7 +40,7 @@
<a matLine>Shop</a> <a matLine>Shop</a>
</mat-list-item> </mat-list-item>
<mat-list-item> <mat-list-item [routerLink]="['/']" [routerLinkActive]="['active']">
<mat-icon [class.active]="selected" matListIcon>exit_to_app</mat-icon> <mat-icon [class.active]="selected" matListIcon>exit_to_app</mat-icon>
<a matLine>Log out</a> <a matLine>Log out</a>
</mat-list-item> </mat-list-item>