2022-03-24 13:57:28 +01:00
|
|
|
<div page-content (stickyEmitter)="stickyPageHeader = $event">
|
|
|
|
<div header *ngIf="stakeholder">
|
|
|
|
<div class="uk-flex uk-flex-middle uk-child-width-1-1 uk-child-width-1-2@m uk-grid" uk-grid>
|
|
|
|
<div class="uk-flex uk-flex-middle uk-margin-top uk-margin-bottom info" [class.uk-active]="stickyPageHeader">
|
|
|
|
<img *ngIf="stakeholder.logoUrl" [src]="stakeholder.logoUrl" class="uk-width-small uk-margin-right">
|
|
|
|
<div class="uk-width-expand">
|
|
|
|
<div class="uk-margin-remove uk-text-primary-gradient uk-text-bold uk-h6">Admin Dashboard - Manage Profile</div>
|
|
|
|
<h1 class="uk-h4 uk-margin-remove">{{stakeholder.name}}<span *ngIf="editStakeholderComponent && editStakeholderComponent.dirty && !loading" class="uk-text-large"> (unsaved changes)</span></h1>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="uk-text-right@m uk-text-center">
|
|
|
|
<button class="uk-button uk-button-secondary outlined uk-margin-right"
|
|
|
|
(click)="reset()"
|
|
|
|
[disabled]="loading || !editStakeholderComponent.dirty">Reset
|
|
|
|
</button>
|
|
|
|
<button class="uk-button uk-button-secondary"
|
|
|
|
(click)="save()"
|
|
|
|
[disabled]="loading || editStakeholderComponent.disabled">Save
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-11-01 16:41:56 +01:00
|
|
|
<div inner>
|
2020-10-19 23:18:09 +02:00
|
|
|
<div *ngIf="stakeholder">
|
2022-03-24 13:57:28 +01:00
|
|
|
<div class="uk-position-relative" style="min-height: 60vh">
|
2020-10-19 23:18:09 +02:00
|
|
|
<div [class.hidden]="loading">
|
|
|
|
<edit-stakeholder #editStakeholderComponent [disableAlias]="true"
|
2022-03-24 13:57:28 +01:00
|
|
|
[paddingLarge]="true" ></edit-stakeholder>
|
2020-10-19 23:18:09 +02:00
|
|
|
</div>
|
|
|
|
<div *ngIf="loading" class="uk-position-center">
|
|
|
|
<loading *ngIf="loading"></loading>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|