-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2844915
commit 0d15742
Showing
10 changed files
with
118 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
flex-direction: column; | ||
align-items: center; | ||
height: 100%; | ||
overflow: auto; | ||
|
||
mat-card { | ||
padding: 0; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,21 @@ | ||
<button mat-icon-button matTooltip="Log out" (click)="openLoginDialog()"><mat-icon >account_box</mat-icon></button> | ||
<div class="wrapper"> | ||
<h1 class="title">Welcome to the Portraits of Unbelonging repository!</h1> | ||
<img class="img" src="{{baseUrl}}/{{images[0]}}/full/{{calcImageWidth()}},/0/default.jpg"/> | ||
<mat-card> | ||
<mat-card-header> | ||
<mat-card-title>Log In</mat-card-title> | ||
</mat-card-header> | ||
<mat-card-content> | ||
<mat-form-field> | ||
<input #email matInput required placeholder="User"> | ||
</mat-form-field> | ||
<mat-form-field> | ||
<input #password matInput required type="password" placeholder="Password"> | ||
</mat-form-field> | ||
<button mat-raised-button color="primary" (click)="fire(email.value, password.value);">Log In</button> | ||
</mat-card-content> | ||
</mat-card> | ||
<img class="img" src="{{baseUrl}}/{{images[1]}}/full/{{calcImageWidth()}},/0/default.jpg"/> | ||
|
||
</div> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
.wrapper { | ||
background-color: rgba(241, 231, 256, 0.4); | ||
display: flex; | ||
flex-flow: row wrap; | ||
align-items: center; | ||
justify-content: space-between; | ||
height: 100%; | ||
overflow: auto;} | ||
.mat-card { | ||
width: 30%; | ||
height: 30%; | ||
padding: 0; | ||
margin: 3rem 0 2rem; | ||
|
||
|
||
mat-card-header { | ||
padding: 16px 0 0 16px; | ||
color: white; | ||
background-color: rgb(97, 63, 176); | ||
} | ||
|
||
mat-card-content { | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: space-evenly; | ||
padding: 16px; | ||
mat-form-field { | ||
flex-grow: 1; | ||
margin: 0 0.5rem; | ||
} | ||
button {width: 20%;} | ||
} | ||
} | ||
|
||
.title { | ||
width: 100%; | ||
text-align: center; | ||
} | ||
img { | ||
padding: 0 1% 0 1%; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters