SES-115 #44
@ -1,6 +1,6 @@
|
|||||||
<div [formGroup]="signUpFormGroup" class="container">
|
<div [formGroup]="signUpFormGroup" class="container">
|
||||||
<div formGroupName="newAccount" class="container">
|
<div formGroupName="newAccount" class="container">
|
||||||
<mat-icon matSuffix class="arrow-back" (click)="GoToLoginPage()">arrow_back</mat-icon>
|
<mat-icon matSuffix class="arrow-back arrow-select" (click)="GoToLoginPage()">arrow_back</mat-icon>
|
||||||
<div class="primary-text header">Create an Account</div>
|
<div class="primary-text header">Create an Account</div>
|
||||||
|
|
||||||
<mat-form-field class="form-container">
|
<mat-form-field class="form-container">
|
||||||
|
@ -47,10 +47,6 @@ input {
|
|||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.align-to-right {
|
|
||||||
text-align: right;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (max-width: 400px) {
|
@media (max-width: 400px) {
|
||||||
.container {
|
.container {
|
||||||
margin-left: 0%;
|
margin-left: 0%;
|
||||||
|
@ -1,21 +1,15 @@
|
|||||||
<div class="container">
|
<div class="container">
|
||||||
<mat-icon matSuffix class="arrow-back" (click)="onArrowBackClick()">arrow_back</mat-icon>
|
<mat-icon matSuffix class="arrow-back arrow-select" (click)="onArrowBackClick()">arrow_back</mat-icon>
|
||||||
<div class="primary-text header">Select character</div>
|
<div class="primary-text header">Select character</div>
|
||||||
<mat-list >
|
<mat-list>
|
||||||
<mat-divider></mat-divider>
|
<mat-divider></mat-divider>
|
||||||
<mat-list-item> Oweja
|
<mat-list-item *ngFor="let character of characters">
|
||||||
<mat-icon matSuffix class="arrow-forward align-to-right" (click)="onCharacterClick()">arrow_forward</mat-icon>
|
<mat-icon mat-list-icon>account_circle</mat-icon>
|
||||||
|
<div mat-line>{{character.name}}</div>
|
||||||
|
<mat-icon matSuffix class="arrow-forward arrow-select" (click)="onCharacterClick()">arrow_forward</mat-icon>
|
||||||
|
<div mat-line> {{character.className}} level: {{character.level}}</div>
|
||||||
|
<mat-divider></mat-divider>
|
||||||
</mat-list-item>
|
</mat-list-item>
|
||||||
<mat-divider></mat-divider>
|
</mat-list>
|
||||||
<mat-list-item> James
|
|
||||||
<mat-icon matSuffix class="arrow-forward align-to-right" (click)="onCharacterClick()">arrow_forward</mat-icon>
|
|
||||||
</mat-list-item>
|
|
||||||
<mat-divider></mat-divider>
|
|
||||||
<mat-list-item> Legolas
|
|
||||||
<mat-icon matSuffix class="arrow-forward align-to-right" (click)="onCharacterClick()">arrow_forward</mat-icon>
|
|
||||||
</mat-list-item>
|
|
||||||
<mat-divider></mat-divider>
|
|
||||||
</mat-list>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -1,12 +1,66 @@
|
|||||||
import { Component } from '@angular/core';
|
import { Component } from '@angular/core';
|
||||||
import { Router } from '@angular/router';
|
import { Router } from '@angular/router';
|
||||||
|
|
||||||
|
export interface Section {
|
||||||
|
name: string;
|
||||||
|
className: string;
|
||||||
|
level: number;
|
||||||
|
}
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-select-character',
|
selector: 'app-select-character',
|
||||||
templateUrl: './select-character.component.html',
|
templateUrl: './select-character.component.html',
|
||||||
styleUrls: ['./select-character.component.css']
|
styleUrls: ['./select-character.component.css']
|
||||||
})
|
})
|
||||||
export class SelectCharacterComponent {
|
export class SelectCharacterComponent {
|
||||||
|
characters: Section[] = [
|
||||||
|
{
|
||||||
|
name: 'Oweja',
|
||||||
|
className: 'warrior',
|
||||||
|
level: 1,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'James',
|
||||||
|
className: 'warrior',
|
||||||
|
level: 2,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'Legolas',
|
||||||
|
className: 'warrior',
|
||||||
|
level: 3,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'Oweja',
|
||||||
|
className: 'warrior',
|
||||||
|
level: 1,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'James',
|
||||||
|
className: 'warrior',
|
||||||
|
level: 2,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'Legolas',
|
||||||
|
className: 'warrior',
|
||||||
|
level: 3,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'Oweja',
|
||||||
|
className: 'warrior',
|
||||||
|
level: 1,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'James',
|
||||||
|
className: 'warrior',
|
||||||
|
level: 2,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'Legolas',
|
||||||
|
className: 'warrior',
|
||||||
|
level: 3,
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
isExpanded = false;
|
isExpanded = false;
|
||||||
|
|
||||||
collapse() {
|
collapse() {
|
||||||
@ -27,4 +81,3 @@ export class SelectCharacterComponent {
|
|||||||
this.router.navigate(['login'])
|
this.router.navigate(['login'])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<div [formGroup]="signInFormGroup" class="container">
|
<div [formGroup]="signInFormGroup" class="container">
|
||||||
<div formGroupName="signIn" class="container">
|
<div formGroupName="signIn" class="container">
|
||||||
<mat-icon matSuffix class="arrow-back" (click)="onArrowBackClick()">arrow_back</mat-icon>
|
<mat-icon matSuffix class="arrow-back arrow-select" (click)="onArrowBackClick()">arrow_back</mat-icon>
|
||||||
<div id="SignInText" class="primary-text header">Sign In</div>
|
<div id="SignInText" class="primary-text header">Sign In</div>
|
||||||
|
|
||||||
<mat-form-field class="form-container">
|
<mat-form-field class="form-container">
|
||||||
|
@ -73,6 +73,10 @@ mat-divider {
|
|||||||
border-top-color: #e9cca7 !important;
|
border-top-color: #e9cca7 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.arrow-select {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
html,
|
html,
|
||||||
body {
|
body {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
Loading…
Reference in New Issue
Block a user