General move buttons above form
This commit is contained in:
parent
a5f598d0ec
commit
26b9b43e0a
|
@ -16,8 +16,6 @@ import {NotificationUtils} from "../../openaireLibrary/notifications/notificatio
|
||||||
import {Notification} from "../../openaireLibrary/notifications/notifications";
|
import {Notification} from "../../openaireLibrary/notifications/notifications";
|
||||||
import {NotificationHandler} from "../../openaireLibrary/utils/notification-handler";
|
import {NotificationHandler} from "../../openaireLibrary/utils/notification-handler";
|
||||||
|
|
||||||
declare var UIkit;
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'edit-stakeholder',
|
selector: 'edit-stakeholder',
|
||||||
template: `
|
template: `
|
||||||
|
|
|
@ -1,14 +1,16 @@
|
||||||
<div page-content (stickyEmitter)="stickyPageHeader = $event">
|
<div page-content (stickyEmitter)="stickyPageHeader = $event">
|
||||||
<div header *ngIf="stakeholder">
|
<div header *ngIf="stakeholder">
|
||||||
<div class="uk-flex uk-flex-middle uk-grid" uk-grid>
|
<div class="uk-flex uk-flex-middle uk-margin-top uk-margin-bottom info" [class.uk-active]="stickyPageHeader">
|
||||||
<div class="uk-width-expand uk-flex uk-flex-middle uk-margin-top uk-margin-bottom info" [class.uk-active]="stickyPageHeader">
|
|
||||||
<img [src]="stakeholder | logoUrl" class="uk-margin-right uk-blend-multiply">
|
<img [src]="stakeholder | logoUrl" class="uk-margin-right uk-blend-multiply">
|
||||||
<div>
|
<div>
|
||||||
<div class="uk-margin-remove uk-text-background uk-text-bold uk-h6">Admin Dashboard - Manage Profile</div>
|
<div class="uk-margin-remove uk-text-background 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>
|
<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>
|
</div>
|
||||||
<div class="uk-width-auto uk-text-right@m uk-text-center">
|
</div>
|
||||||
|
<div inner>
|
||||||
|
<div *ngIf="stakeholder" class="uk-container">
|
||||||
|
<div class="uk-margin-top uk-flex uk-flex-center uk-flex-right@m">
|
||||||
<button class="uk-button uk-button-default uk-margin-right"
|
<button class="uk-button uk-button-default uk-margin-right"
|
||||||
(click)="reset()" [class.uk-disabled]="loading || !editStakeholderComponent.dirty"
|
(click)="reset()" [class.uk-disabled]="loading || !editStakeholderComponent.dirty"
|
||||||
[disabled]="loading || !editStakeholderComponent.dirty">Reset
|
[disabled]="loading || !editStakeholderComponent.dirty">Reset
|
||||||
|
@ -17,12 +19,8 @@
|
||||||
(click)="save()" [disabled]="loading || editStakeholderComponent.disabled">Save
|
(click)="save()" [disabled]="loading || editStakeholderComponent.disabled">Save
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div inner>
|
|
||||||
<div *ngIf="stakeholder" class="uk-section uk-container">
|
|
||||||
<div class="uk-position-relative" style="min-height: 60vh">
|
<div class="uk-position-relative" style="min-height: 60vh">
|
||||||
<div [class.uk-hidden]="loading">
|
<div [class.uk-hidden]="loading" class="uk-section uk-section-small">
|
||||||
<edit-stakeholder #editStakeholderComponent [disableAlias]="true"></edit-stakeholder>
|
<edit-stakeholder #editStakeholderComponent [disableAlias]="true"></edit-stakeholder>
|
||||||
</div>
|
</div>
|
||||||
<div *ngIf="loading" class="uk-position-center">
|
<div *ngIf="loading" class="uk-position-center">
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit d925b62133bcbe92bbf042c135fdd0d8dfa5abc3
|
Subproject commit 02bf9abee4f2b514f2f02c510fab47da6bf3431b
|
Loading…
Reference in New Issue