-
-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #219 from NicolasConstant/develop
0.20.0 PR
- Loading branch information
Showing
25 changed files
with
473 additions
and
115 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
4 changes: 2 additions & 2 deletions
4
src/app/components/create-status/create-status.component.html
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
36 changes: 25 additions & 11 deletions
36
src/app/components/floating-column/add-new-account/add-new-account.component.html
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,19 +1,33 @@ | ||
<div class="panel" [class.comrade__background]="isComrade"> | ||
<h3 class="panel__title" [class.comrade__text]="isComrade">Add new account</h3> | ||
|
||
<h2 class="comrade__title" *ngIf="isComrade">Welcome Comrade!</h2> | ||
<form (ngSubmit)="onSubmit()"> | ||
<label [class.comrade__text]="isComrade">Please provide your <span *ngIf="isComrade">comrade</span> account:</label> | ||
<input type="text" class="form-control form-control-sm form-color" [(ngModel)]="mastodonFullHandle" name="mastodonFullHandle" [class.comrade__input]="isComrade" | ||
placeholder="@nickname@mastodon.social" /> | ||
<br /> | ||
<button *ngIf="!isLoading" type="submit" class="btn btn-success btn-sm" [class.comrade__button]="isComrade">Submit</button> | ||
<app-waiting-animation *ngIf="isLoading" class="waiting-icon"></app-waiting-animation> | ||
</form> | ||
<div class="panel__content"> | ||
<h2 class="comrade__title" *ngIf="isComrade">Welcome Comrade!</h2> | ||
<form (ngSubmit)="onSubmit()"> | ||
<label [class.comrade__text]="isComrade">Please provide your <span *ngIf="isComrade">comrade</span> | ||
instance:</label> | ||
|
||
<div *ngIf="isComrade" class="comrade__video"> | ||
<iframe width="300" height="170" src="https://www.youtube.com/embed/NzBjnoRG7Mo?feature=oembed&autoplay=1&auto_play=1" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> | ||
<div> | ||
<input type="text" class="form-control form-control-sm form-with-button" | ||
[(ngModel)]="setInstance" name="instance" [class.comrade__input]="isComrade" | ||
placeholder="mastodon.social" /> | ||
|
||
<button type="submit" class="form-button" | ||
title="add account" | ||
[class.comrade__button]="isComrade"> | ||
<span *ngIf="!isLoading">Submit</span> | ||
<app-waiting-animation *ngIf="isLoading" class="waiting-icon"></app-waiting-animation> | ||
</button> | ||
|
||
</div> | ||
</form> | ||
|
||
<div *ngIf="isComrade" class="comrade__video"> | ||
<iframe width="300" height="170" | ||
src="https://www.youtube.com/embed/NzBjnoRG7Mo?feature=oembed&autoplay=1&auto_play=1" frameborder="0" | ||
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" | ||
allowfullscreen></iframe> | ||
</div> | ||
|
||
</div> | ||
</div> |
67 changes: 60 additions & 7 deletions
67
src/app/components/floating-column/add-new-account/add-new-account.component.scss
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
Oops, something went wrong.