openaire-library/dashboard/helpTexts/edit-page-help-content.comp...

31 lines
1.2 KiB
HTML

<div id="page_content_inner">
<div id="editPageHelpContent" class="uk-card uk-card-default uk-padding">
<div id="content">
<div class="menubar fixed">
<div class="sidebar-toggler visible-xs">
<i class="ion-navicon"></i>
</div>
<h4 class="uk-text-bold">
<span>Edit help text <span
*ngIf="page && page.name">of page "{{page.name}}"</span></span>
</h4>
</div>
<div class="content-wrapper">
<div>
<div *ngIf="errorMessage" class="uk-alert uk-alert-danger" role="alert">{{errorMessage}}</div>
<div [style.display]="showLoading ? 'inline' : 'none'" class="uk-animation-fade uk-width-1-1" role="alert">
<img class="uk-align-center loading-gif"></div>
<page-content-form [communityPid]="communityPid" [pageId]="pageId" [page]="page"
[updateErrorMessage]="updateErrorMessage"></page-content-form>
<button (click)="saveCustom()" class="uk-button uk-button-primary">Update help text</button>
<button (click)="cancelCustom()" class="uk-button">Cancel</button>
</div>
</div>
</div>
</div>
</div>