Skip to content
This repository was archived by the owner on Aug 1, 2021. It is now read-only.

Commit 7e0718c

Browse files
Merge pull request #176 from brunohbrito/dev
home mobile view
2 parents 6459287 + ff7ecf3 commit 7e0718c

3 files changed

Lines changed: 11 additions & 14 deletions

File tree

src/Frontend/Jp.AdminUI/src/app/panel/clients/edit/client-edit.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export class ClientEditComponent implements OnInit {
5252
this.showButtonLoading = true;
5353
this.errors = [];
5454

55-
this.clientService.partialUpdate(this.clientId, jsonpatch.generate(this.patchObserver)).subscribe(
55+
this.clientService.update(this.clientId, this.model).subscribe(
5656
() => {
5757
this.updateCurrentClientId();
5858
this.showSuccessMessage();

src/Frontend/Jp.AdminUI/src/app/panel/home/home.component.html

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,12 @@
55
<h1 class="display-3"> {{ 'home.WELCOME' | translate }}!</h1>
66
<p class="lead">{{ 'home.DESCRIPTION' | translate }}.</p>
77
<hr class="my-4">
8-
<p>
9-
<img src="assets/img/brand/logo-full.png" class="d-none d-xl-block img-fluid">
10-
<img src="assets/img/brand/logo-min.png" class="d-lg-none">
11-
</p>
8+
<div class="text-center">
9+
<img src="assets/img/brand/logo-full.png" class="d-none d-lg-block mx-auto home-logo-big">
10+
<img src="assets/img/brand/logo-min.png" class="d-lg-none mx-auto img-fluid home-logo">
11+
</div>
1212
<p class="lead">
13-
<a class="btn btn-primary btn-lg" href="https://github.com/brunohbrito/JP-Project" target="_blank"
14-
role="button">Learn
13+
<a class="btn btn-primary btn-lg" href="https://github.com/brunohbrito/JP-Project" target="_blank" role="button">Learn
1514
more
1615
</a>
1716
</p>
@@ -54,8 +53,7 @@ <h4 class="my-0 font-weight-normal">{{ 'general.api-resource' | translate }}</h4
5453
<h1 class="card-title">
5554
<span class="font-size-1" title="Api Resources" aria-hidden="true">☁️</span>
5655
</h1>
57-
<a [routerLink]="'/api-resource'"
58-
class="btn btn-lg btn-block btn-primary">{{ 'Manage' | translate }}</a>
56+
<a [routerLink]="'/api-resource'" class="btn btn-lg btn-block btn-primary">{{ 'Manage' | translate }}</a>
5957
</div>
6058
</div>
6159

src/Frontend/Jp.AdminUI/src/app/panel/home/home.component.scss

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
@import "../../shared/styles/bootstrap/_variables.scss";
33
@import "../../shared/styles/bootstrap/_mixins";
44
@import '../../shared/styles/app/variables.scss';
5-
65
.home-container {
76
margin: 0 auto;
87
max-width: map-get($container-max-widths, "lg");
9-
108
.home-logo {
119
width: 240px;
1210
}
13-
11+
.home-logo-big {
12+
height: 400px;
13+
}
1414
.home-text {
1515
text-align: center;
1616
@include media-breakpoint-up(lg) {
@@ -20,8 +20,7 @@
2020
.home-text-big {
2121
font-size: 3.9375rem;
2222
}
23-
2423
.img-angular {
2524
width: 120px;
2625
}
27-
}
26+
}

0 commit comments

Comments
 (0)