[Trunk|Admin]: Page form: Add warning message about disable a community.
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-admin-portal/trunk@56625 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
4fb1aacd4b
commit
82c6deede8
|
@ -45,51 +45,48 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group" uk-grid>
|
||||
<div class="form-group" uk-grid>
|
||||
<label class="uk-width-1-1 uk-margin-small-bottom">
|
||||
Enable/Disable positions of help contents for this page.
|
||||
Select positions of help contents for this page.
|
||||
</label>
|
||||
<label class="uk-text-danger uk-margin-small-bottom">
|
||||
By disabling a position, all contents in this position will be deleted.
|
||||
</label>
|
||||
<label class="uk-width-1-4 checkbox">
|
||||
<span class="uk-margin-small-right" style="font-weight: normal;">Top</span>
|
||||
<input tabindex="0" type="checkbox" formControlName="top">
|
||||
</label>
|
||||
<label class="uk-width-1-4 checkbox">
|
||||
<span class="uk-margin-small-right" style="font-weight: normal;">Bottom</span>
|
||||
<input tabindex="0" type="checkbox" formControlName="bottom">
|
||||
</label>
|
||||
<label class="uk-width-1-4 checkbox">
|
||||
<span class="uk-margin-small-right" style="font-weight: normal;">Left</span>
|
||||
<input tabindex="0" type="checkbox" formControlName="left">
|
||||
</label>
|
||||
<label class="uk-width-1-4 checkbox">
|
||||
<span class="uk-margin-small-right" style="font-weight: normal;">Right</span>
|
||||
<input tabindex="0" type="checkbox" formControlName="right">
|
||||
</label>
|
||||
<label class="uk-width-1-4 checkbox">
|
||||
<span class="uk-margin-small-right" style="font-weight: normal;">Bottom</span>
|
||||
<input tabindex="0" type="checkbox" formControlName="bottom">
|
||||
</label>
|
||||
<label class="uk-width-1-4 checkbox">
|
||||
<span class="uk-margin-small-right" style="font-weight: normal;">Left</span>
|
||||
<input tabindex="0" type="checkbox" formControlName="left">
|
||||
</label>
|
||||
<label class="uk-width-1-4 checkbox">
|
||||
<span class="uk-margin-small-right" style="font-weight: normal;">Right</span>
|
||||
<input tabindex="0" type="checkbox" formControlName="right">
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="form-group uk-grid">
|
||||
<label class="uk-width-2-3">Select if this page exists in OpenAIRE portal</label>
|
||||
<label class="uk-width-1-3 checkbox">
|
||||
<span class="uk-margin-small-right" style="font-weight: normal;">openaire</span>
|
||||
<input tabindex="0" type="checkbox" formControlName="openaire">
|
||||
</label>
|
||||
<div class="form-group" uk-grid>
|
||||
<label class="uk-width-1-1 uk-margin-small-bottom">
|
||||
Select if this page exists in:
|
||||
</label>
|
||||
<label class="uk-width-1-1 checkbox uk-margin-large-left">
|
||||
<span class="uk-margin-small-right" style="font-weight: normal;">OpenAIRE portal</span>
|
||||
<input tabindex="0" type="checkbox" formControlName="openaire">
|
||||
</label>
|
||||
<label class="uk-width-1-1 checkbox uk-margin-large-left">
|
||||
<span class="uk-margin-small-right" style="font-weight: normal;">OpenAIRE Connect portal</span>
|
||||
<input tabindex="0" type="checkbox" formControlName="connect">
|
||||
</label>
|
||||
<label class="uk-width-1-1 checkbox uk-margin-large-left">
|
||||
<span class="uk-margin-small-right" style="font-weight: normal;">Communities' Gateway</span>
|
||||
<input tabindex="0" type="checkbox" formControlName="communities">
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="form-group uk-grid uk-margin-remove-top">
|
||||
<label class="uk-width-2-3">Select if this page exists in OpenAIRE Connect portal</label>
|
||||
<label class="uk-width-1-3 checkbox">
|
||||
<span class="uk-margin-small-right" style="font-weight: normal;">connect</span>
|
||||
<input tabindex="0" type="checkbox" formControlName="connect">
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="form-group uk-grid uk-margin-remove-top">
|
||||
<label class="uk-width-2-3">Select if this page exists in connect portals (community specific)</label>
|
||||
<label class="uk-width-1-3 checkbox">
|
||||
<span class="uk-margin-small-right" style="font-weight: normal;">communities</span>
|
||||
<input tabindex="0" type="checkbox" formControlName="communities">
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<input type="hidden" formControlName="_id">
|
||||
</form>
|
||||
|
|
|
@ -177,4 +177,5 @@ export class PageFormComponent implements OnInit{
|
|||
console.log('Server responded: ' + error);
|
||||
this.showLoading = false;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -138,7 +138,6 @@ export class PagesComponent implements OnInit {
|
|||
|
||||
if(pages) {
|
||||
pages.forEach(_ => {
|
||||
console.log(_);
|
||||
this.checkboxes.push(<CheckPage>{page : _, checked : false});
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue