Skip to content

Commit

Permalink
settings changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Zaikouu committed Jun 6, 2024
1 parent 6369f65 commit 91ed360
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 16 deletions.
13 changes: 1 addition & 12 deletions Front/kantor-angular/src/app/settings/settings.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,6 @@ <h1>Ustawienia</h1>
<div class="profile-inactive" *ngIf="!isProfileSelected">
<button class="buttons-inactive" (click)="selectCategory('profile')">Profile</button>
</div>
<div class="security-active" *ngIf="isSecuritySelected">
<button class="buttons-active" (click)="selectCategory('security')">Security</button>
</div>
<div class="security-inactive" *ngIf="!isSecuritySelected">
<button class="buttons-inactive" (click)="selectCategory('security')">Security</button>
</div>
<div class="help-active" *ngIf="isHelpSelected">
<button class="buttons-active" (click)="selectCategory('help')">Help</button>
</div>
Expand Down Expand Up @@ -87,12 +81,7 @@ <h1>Ustawienia</h1>
</div>
</div>
</div>

<div class="selected-security" *ngIf="isSecuritySelected">
<!-- Security settings go here -->
<p> Bezpieczeństwo </p>

</div>


<div class="selected-help" *ngIf="isHelpSelected">
<!-- Help settings go here -->
Expand Down
8 changes: 4 additions & 4 deletions Front/kantor-angular/src/app/settings/settings.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ h1 {
background: linear-gradient(94deg, rgba(255, 255, 255, 0.12) 12.6%, rgba(255, 255, 255, 0.06) 100.13%);
}

.profile-active, .security-active, .help-active {
.profile-active, .help-active {
height: 100%;
width: 33.33%;
width: 50%;
display: flex;
align-items: center;
justify-content: center;
Expand Down Expand Up @@ -113,9 +113,9 @@ h1 {
background: linear-gradient(94deg, rgba(255, 255, 255, 0.12) 12.6%, rgba(255, 255, 255, 0.06) 100.13%);
}

.profile-inactive, .security-inactive, .help-inactive {
.profile-inactive, .help-inactive {
height: 100%;
width: 33.33%;
width: 50%;
display: flex;
align-items: center;
justify-content: center;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ export class SettingsComponent implements OnInit, OnDestroy {
}).then((response) => {
console.log(response);
});
this.toggleEditUsername();
}

changeUserFirstName(): void {
Expand Down

0 comments on commit 91ed360

Please sign in to comment.