|
|
@ -1,37 +1,67 @@
|
|
|
|
<mat-toolbar color="primary">Profile</mat-toolbar>
|
|
|
|
<mat-toolbar color="primary">Profile</mat-toolbar>
|
|
|
|
<div id="profile">
|
|
|
|
<div id="profile">
|
|
|
|
<div id="profilecontainer" [hidden]="profileNotFound">
|
|
|
|
<div id="profilecontainer" [hidden]="profileNotFound">
|
|
|
|
<table style="width:100%">
|
|
|
|
<div id="profile-card-container">
|
|
|
|
<tr>
|
|
|
|
<mat-card class="mat-elevation-z8">
|
|
|
|
<td>name: </td>
|
|
|
|
<mat-card-header>
|
|
|
|
<td>{{user.username}}</td>
|
|
|
|
<div mat-card-avatar class="profile-picture"></div>
|
|
|
|
</tr>
|
|
|
|
<mat-card-title>{{user.username}}</mat-card-title>
|
|
|
|
<tr>
|
|
|
|
<mat-card-subtitle>{{user.handle}}</mat-card-subtitle>
|
|
|
|
<td>handle: </td>
|
|
|
|
</mat-card-header>
|
|
|
|
<td>{{user.handle}}</td>
|
|
|
|
<mat-card-content>
|
|
|
|
</tr>
|
|
|
|
<table id="profile-table">
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<td>profile ID: </td>
|
|
|
|
<div class="mat-header-cell">name: </div>
|
|
|
|
<td>{{user.userID}}</td>
|
|
|
|
<td>{{user.username}}</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<mat-divider></mat-divider>
|
|
|
|
<td>points: </td>
|
|
|
|
<tr>
|
|
|
|
<td>{{user.points}}</td>
|
|
|
|
<div class="mat-header-cell">handle: </div>
|
|
|
|
<tr>
|
|
|
|
<td>{{user.handle}}</td>
|
|
|
|
<td>level: </td>
|
|
|
|
</tr>
|
|
|
|
<td>{{user.level}} ({{rankname}})</td>
|
|
|
|
<mat-divider></mat-divider>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
</table>
|
|
|
|
<div class="mat-header-cell">profileID: </div>
|
|
|
|
<h2>What does the level mean?</h2>
|
|
|
|
<td>{{user.userID}}</td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<mat-divider></mat-divider>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<div class="mat-header-cell">points: </div>
|
|
|
|
|
|
|
|
<td>{{user.points}}</td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<mat-divider></mat-divider>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<div class="mat-header-cell">level: </div>
|
|
|
|
|
|
|
|
<td>{{user.level}}</td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<mat-divider></mat-divider>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<div class="mat-header-cell">level name: </div>
|
|
|
|
|
|
|
|
<td>{{rankname}}</td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
</mat-card-content>
|
|
|
|
|
|
|
|
</mat-card>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<br>
|
|
|
|
|
|
|
|
<h1>What does the level mean?</h1>
|
|
|
|
<p>There are different levels you can reach through green behaviour.
|
|
|
|
<p>There are different levels you can reach through green behaviour.
|
|
|
|
Collect 100 points to level up! The levels are called:
|
|
|
|
Collect 100 points to level up! The levels are called:
|
|
|
|
</p>
|
|
|
|
</p>
|
|
|
|
<ol start="0">
|
|
|
|
<table mat-table [dataSource]="levelSource" class="mat-elevation-z8">
|
|
|
|
<li *ngFor= "let level of levellist.levels">
|
|
|
|
<ng-container matColumnDef="level">
|
|
|
|
{{level.name}}
|
|
|
|
<th mat-header-cell *matHeaderCellDef> level </th>
|
|
|
|
</li>
|
|
|
|
<td mat-cell *matCellDef="let level"> {{level.level}} </td>
|
|
|
|
</ol>
|
|
|
|
</ng-container>
|
|
|
|
<h2>How to level up?</h2>
|
|
|
|
<ng-container matColumnDef="name">
|
|
|
|
|
|
|
|
<th mat-header-cell *matHeaderCellDef> level name </th>
|
|
|
|
|
|
|
|
<td mat-cell *matCellDef="let level"> {{level.name}} </td>
|
|
|
|
|
|
|
|
</ng-container>
|
|
|
|
|
|
|
|
<tr mat-header-row *matHeaderRowDef="displayedLevelColumns"></tr>
|
|
|
|
|
|
|
|
<tr mat-row *matRowDef="let row; columns: displayedLevelColumns;"></tr>
|
|
|
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<br>
|
|
|
|
|
|
|
|
<h1>How to level up?</h1>
|
|
|
|
<p>There is an always growing list of things you can do,
|
|
|
|
<p>There is an always growing list of things you can do,
|
|
|
|
to support your environment
|
|
|
|
to support your environment
|
|
|
|
and earn points to level up at the same time.
|
|
|
|
and earn points to level up at the same time.
|
|
|
|