Skip to content

Commit 11da6c8

Browse files
committed
Move OAuth Position
1 parent 9ee5f3e commit 11da6c8

File tree

3 files changed

+10
-11
lines changed

3 files changed

+10
-11
lines changed

package-lock.json

Lines changed: 0 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
.submit {
22
background-color: #E5E5E5;
3+
}
4+
5+
.oauth {
6+
margin-top: 20px;
37
}

src/app/login-form/login-form.component.html

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,11 @@ <h1 i18n="@@login_title">Admin Login</h1>
1010
<input matInput i18n-placeholder="@@password" type="password" placeholder="Password" [(ngModel)]="password" required>
1111
</mat-form-field>
1212

13-
<button i18n="@@submit" mat-button (click)="onSubmit($event)" class="submit">Submit</button>
14-
</div>
15-
<div *ngIf="oauth.use_oauth==true" class="container">
16-
<a href="{{ oauth.entrance_url }}">{{ oauth.display_name }}</a>
17-
</div>
13+
<button i18n="@@submit" mat-button (click)="onSubmit($event)" class="submit">Submit</button>
14+
15+
<div *ngIf="oauth.use_oauth==true" class="oauth">
16+
<a href="{{ oauth.entrance_url }}">{{ oauth.display_name }}</a>
17+
</div>
18+
</div>
1819
<div fxFlex="30%"></div>
1920
</div>

0 commit comments

Comments
 (0)