[Monitor Dashboard|Trunk]
Admin tool pages: updates after migration css updates after theme change git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-monitor-portal/trunk/monitor_dashboard@59725 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
fe47322863
commit
d83f8ca0b2
|
@ -39,8 +39,10 @@ export class AppComponent implements OnInit, OnDestroy {
|
||||||
logoUrl: null,
|
logoUrl: null,
|
||||||
logoSmallUrl: null,
|
logoSmallUrl: null,
|
||||||
position: 'center',
|
position: 'center',
|
||||||
badge: false
|
badge: false,
|
||||||
|
stickyAnimation : false
|
||||||
};
|
};
|
||||||
|
|
||||||
userMenuItems: MenuItem[] = [new MenuItem("", "My profile", "", "", false, [], [], {})];
|
userMenuItems: MenuItem[] = [new MenuItem("", "My profile", "", "", false, [], [], {})];
|
||||||
adminMenuItems: MenuItem[] = [];
|
adminMenuItems: MenuItem[] = [];
|
||||||
stakeholder: Stakeholder = null;
|
stakeholder: Stakeholder = null;
|
||||||
|
@ -219,7 +221,8 @@ export class AppComponent implements OnInit, OnDestroy {
|
||||||
logoUrl: null,
|
logoUrl: null,
|
||||||
logoSmallUrl: null,
|
logoSmallUrl: null,
|
||||||
position: 'center',
|
position: 'center',
|
||||||
badge: false
|
badge: false,
|
||||||
|
stickyAnimation: false
|
||||||
};
|
};
|
||||||
if (this.isAdmin()) {
|
if (this.isAdmin()) {
|
||||||
this.menuItems.push({
|
this.menuItems.push({
|
||||||
|
@ -239,7 +242,8 @@ export class AppComponent implements OnInit, OnDestroy {
|
||||||
logoUrl: null,
|
logoUrl: null,
|
||||||
logoSmallUrl: null,
|
logoSmallUrl: null,
|
||||||
position: 'center',
|
position: 'center',
|
||||||
badge: false
|
badge: false,
|
||||||
|
stickyAnimation: false
|
||||||
};
|
};
|
||||||
this.menuItems.push({
|
this.menuItems.push({
|
||||||
rootItem: new MenuItem("", "Dashboard",
|
rootItem: new MenuItem("", "Dashboard",
|
||||||
|
@ -274,7 +278,8 @@ export class AppComponent implements OnInit, OnDestroy {
|
||||||
logoUrl: 'assets/common-assets/logo-large-monitor.png',
|
logoUrl: 'assets/common-assets/logo-large-monitor.png',
|
||||||
logoSmallUrl: "assets/common-assets/logo-small-monitor.png",
|
logoSmallUrl: "assets/common-assets/logo-small-monitor.png",
|
||||||
position: 'left',
|
position: 'left',
|
||||||
badge: true
|
badge: true,
|
||||||
|
stickyAnimation: false
|
||||||
};
|
};
|
||||||
//TODO monitor menu items?
|
//TODO monitor menu items?
|
||||||
|
|
||||||
|
@ -286,22 +291,23 @@ export class AppComponent implements OnInit, OnDestroy {
|
||||||
logoUrl: null,
|
logoUrl: null,
|
||||||
logoSmallUrl: null,
|
logoSmallUrl: null,
|
||||||
position: 'center',
|
position: 'center',
|
||||||
badge: false
|
badge: false,
|
||||||
|
stickyAnimation: false
|
||||||
};
|
};
|
||||||
this.adminMenuItems = [];
|
this.adminMenuItems = [];
|
||||||
this.specialSideBarMenuItem = null;
|
this.specialSideBarMenuItem = null;
|
||||||
this.adminMenuItems.push(new MenuItem("stakeholders", "Manage profiles", "", "/admin", false, [], [], {}, "<i uk-icon=\"cog\"></i>"));
|
this.adminMenuItems.push(new MenuItem("stakeholders", "Manage profiles", "", "/admin", false, [], [], {}, "<i uk-icon=\"cog\"></i>"));
|
||||||
/*let adminOptions = new MenuItem("adminOptions", "Admin Options", "", "", false, [], [], {})
|
/*let adminOptions = new MenuItem("adminOptions", "Admin Options", "", null, false, [], [], {})
|
||||||
adminOptions.items.push(new MenuItem("pages", "Pages", "", "/pages", false, [], [], {}));
|
adminOptions.items.push(new MenuItem("pages", "Pages", "", "/pages", false, [], [], {}));
|
||||||
adminOptions.items.push(new MenuItem("portals", "Portals", "", "/portals", false, [], [], {}));
|
adminOptions.items.push(new MenuItem("portals", "Portals", "", "/portals", false, [], [], {}));
|
||||||
adminOptions.items.push(new MenuItem("entities", "Entities", "", "/entities", false, [], [], {}));
|
adminOptions.items.push(new MenuItem("entities", "Entities", "", "/entities", false, [], [], {}));
|
||||||
adminOptions.items.push(new MenuItem("classes", "Class help texts", "", "/classes", false, [], [], {}));
|
adminOptions.items.push(new MenuItem("classes", "Class help texts", "", "/classes", false, [], [], {}));
|
||||||
this.adminMenuItems.push(adminOptions);
|
this.adminMenuItems.push(adminOptions);
|
||||||
let monitorOptions = new MenuItem("monitorOptions", "Monitor Options", "", "", false, [], [], {})
|
let monitorOptions = new MenuItem("monitorOptions", "Monitor Options", "", null, false, [], [], {})
|
||||||
monitorOptions.items.push(new MenuItem("pages", "Pages", "", "/pages", false, [], [], {communityId: 'openaire'}));
|
monitorOptions.items.push(new MenuItem("pages", "Pages", "", "/pages", false, [], [], {communityId: 'monitor'}));
|
||||||
monitorOptions.items.push(new MenuItem("entities", "Entities", "", "/entities", false, [], [], {communityId: 'openaire'}));
|
monitorOptions.items.push(new MenuItem("entities", "Entities", "", "/entities", false, [], [], {communityId: 'monitor'}));
|
||||||
monitorOptions.items.push(new MenuItem("classes", "Class help texts", "", "/classContents", false, [], [], {communityId: 'openaire'}));
|
monitorOptions.items.push(new MenuItem("classes", "Class help texts", "", "/classContents", false, [], [], {communityId: 'monitor'}));
|
||||||
monitorOptions.items.push(new MenuItem("helptexts", "Help texts", "", "/helptexts", false, [], [], {communityId: 'openaire'}));
|
monitorOptions.items.push(new MenuItem("helptexts", "Help texts", "", "/helptexts", false, [], [], {communityId: 'monitor'}));
|
||||||
this.adminMenuItems.push(monitorOptions);*/
|
this.adminMenuItems.push(monitorOptions);*/
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,13 +1,12 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import {RouterModule} from '@angular/router';
|
import {RouterModule} from '@angular/router';
|
||||||
import {IsCommunity} from "../openaireLibrary/connect/communityGuard/isCommunity.guard";
|
|
||||||
import {ConnectAdminLoginGuard} from "../openaireLibrary/connect/communityGuard/connectAdminLoginGuard.guard";
|
|
||||||
import {DivHelpContentsComponent} from "../openaireLibrary/dashboard/divhelpcontent/div-help-contents.component";
|
import {DivHelpContentsComponent} from "../openaireLibrary/dashboard/divhelpcontent/div-help-contents.component";
|
||||||
|
import {AdminDashboardGuard} from "../utils/adminDashboard.guard";
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
RouterModule.forChild([
|
RouterModule.forChild([
|
||||||
{ path: '', canActivate: [IsCommunity, ConnectAdminLoginGuard], component: DivHelpContentsComponent}
|
{ path: '', canActivate: [ AdminDashboardGuard], component: DivHelpContentsComponent}
|
||||||
])
|
])
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
|
|
|
@ -2,14 +2,13 @@ import {NgModule} from '@angular/core';
|
||||||
import {CommonModule} from '@angular/common';
|
import {CommonModule} from '@angular/common';
|
||||||
import {DivHelpContentsRoutingModule} from './div-help-contents-routing.module';
|
import {DivHelpContentsRoutingModule} from './div-help-contents-routing.module';
|
||||||
import {DivHelpContentsModule} from "../openaireLibrary/dashboard/divhelpcontent/div-help-contents.module";
|
import {DivHelpContentsModule} from "../openaireLibrary/dashboard/divhelpcontent/div-help-contents.module";
|
||||||
import {IsCommunity} from "../openaireLibrary/connect/communityGuard/isCommunity.guard";
|
import {AdminDashboardGuard} from "../utils/adminDashboard.guard";
|
||||||
import {ConnectAdminLoginGuard} from "../openaireLibrary/connect/communityGuard/connectAdminLoginGuard.guard";
|
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
CommonModule, DivHelpContentsRoutingModule, DivHelpContentsModule
|
CommonModule, DivHelpContentsRoutingModule, DivHelpContentsModule
|
||||||
],
|
],
|
||||||
|
|
||||||
providers: [IsCommunity, ConnectAdminLoginGuard],
|
providers: [AdminDashboardGuard],
|
||||||
})
|
})
|
||||||
export class MonitorDivHelpContentsModule { }
|
export class MonitorDivHelpContentsModule { }
|
||||||
|
|
|
@ -1,14 +1,13 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import {RouterModule} from '@angular/router';
|
import {RouterModule} from '@angular/router';
|
||||||
import {IsCommunity} from "../openaireLibrary/connect/communityGuard/isCommunity.guard";
|
|
||||||
import {ConnectAdminLoginGuard} from "../openaireLibrary/connect/communityGuard/connectAdminLoginGuard.guard";
|
|
||||||
import {EditDivHelpContentComponent} from "../openaireLibrary/dashboard/divhelpcontent/edit-div-help-content.component";
|
import {EditDivHelpContentComponent} from "../openaireLibrary/dashboard/divhelpcontent/edit-div-help-content.component";
|
||||||
|
import {AdminDashboardGuard} from "../utils/adminDashboard.guard";
|
||||||
|
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
RouterModule.forChild([
|
RouterModule.forChild([
|
||||||
{ path: '', canActivate: [IsCommunity, ConnectAdminLoginGuard], component: EditDivHelpContentComponent}
|
{ path: '', canActivate: [AdminDashboardGuard], component: EditDivHelpContentComponent}
|
||||||
])
|
])
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
|
|
|
@ -3,13 +3,12 @@ import {CommonModule} from '@angular/common';
|
||||||
|
|
||||||
import {EditDivHelpContentRoutingModule} from './edit-div-help-content-routing.module';
|
import {EditDivHelpContentRoutingModule} from './edit-div-help-content-routing.module';
|
||||||
import {EditDivHelpContentModule} from "../openaireLibrary/dashboard/divhelpcontent/edit-div-help-content.module";
|
import {EditDivHelpContentModule} from "../openaireLibrary/dashboard/divhelpcontent/edit-div-help-content.module";
|
||||||
import {IsCommunity} from "../openaireLibrary/connect/communityGuard/isCommunity.guard";
|
import {AdminDashboardGuard} from "../utils/adminDashboard.guard";
|
||||||
import {ConnectAdminLoginGuard} from "../openaireLibrary/connect/communityGuard/connectAdminLoginGuard.guard";
|
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
CommonModule, EditDivHelpContentRoutingModule, EditDivHelpContentModule
|
CommonModule, EditDivHelpContentRoutingModule, EditDivHelpContentModule
|
||||||
],
|
],
|
||||||
providers: [IsCommunity, ConnectAdminLoginGuard],
|
providers: [AdminDashboardGuard],
|
||||||
})
|
})
|
||||||
export class MonitorEditDivHelpContentModule { }
|
export class MonitorEditDivHelpContentModule { }
|
||||||
|
|
|
@ -1,13 +1,12 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import {RouterModule} from '@angular/router';
|
import {RouterModule} from '@angular/router';
|
||||||
import {IsCommunity} from "../openaireLibrary/connect/communityGuard/isCommunity.guard";
|
|
||||||
import {ConnectAdminLoginGuard} from "../openaireLibrary/connect/communityGuard/connectAdminLoginGuard.guard";
|
|
||||||
import {NewDivHelpContentComponent} from "../openaireLibrary/dashboard/divhelpcontent/new-div-help-content.component";
|
import {NewDivHelpContentComponent} from "../openaireLibrary/dashboard/divhelpcontent/new-div-help-content.component";
|
||||||
|
import {AdminDashboardGuard} from "../utils/adminDashboard.guard";
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
RouterModule.forChild([
|
RouterModule.forChild([
|
||||||
{ path: '', canActivate: [IsCommunity, ConnectAdminLoginGuard], component: NewDivHelpContentComponent}
|
{ path: '', canActivate: [AdminDashboardGuard], component: NewDivHelpContentComponent}
|
||||||
])
|
])
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
|
|
|
@ -1,16 +1,14 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import {RouterModule} from '@angular/router';
|
|
||||||
import {CommonModule} from '@angular/common';
|
import {CommonModule} from '@angular/common';
|
||||||
import {NewDivHelpContentRoutingModule} from "./new-div-help-content-routing.module";
|
import {NewDivHelpContentRoutingModule} from "./new-div-help-content-routing.module";
|
||||||
import {NewDivHelpContentModule} from "../openaireLibrary/dashboard/divhelpcontent/new-div-help-content.module";
|
import {NewDivHelpContentModule} from "../openaireLibrary/dashboard/divhelpcontent/new-div-help-content.module";
|
||||||
import {ConnectAdminLoginGuard} from "../openaireLibrary/connect/communityGuard/connectAdminLoginGuard.guard";
|
import {AdminDashboardGuard} from "../utils/adminDashboard.guard";
|
||||||
import {IsCommunity} from "../openaireLibrary/connect/communityGuard/isCommunity.guard";
|
|
||||||
|
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
CommonModule, NewDivHelpContentRoutingModule, NewDivHelpContentModule
|
CommonModule, NewDivHelpContentRoutingModule, NewDivHelpContentModule
|
||||||
],
|
],
|
||||||
providers: [IsCommunity, ConnectAdminLoginGuard],
|
providers: [AdminDashboardGuard],
|
||||||
})
|
})
|
||||||
export class MonitorNewDivHelpContentModule { }
|
export class MonitorNewDivHelpContentModule { }
|
||||||
|
|
|
@ -1,14 +1,13 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import {RouterModule} from '@angular/router';
|
import {RouterModule} from '@angular/router';
|
||||||
import {IsCommunity} from "../openaireLibrary/connect/communityGuard/isCommunity.guard";
|
|
||||||
import {ConnectAdminLoginGuard} from "../openaireLibrary/connect/communityGuard/connectAdminLoginGuard.guard";
|
|
||||||
import {EditPageHelpContentComponent} from "../openaireLibrary/dashboard/helpTexts/edit-page-help-content.component";
|
import {EditPageHelpContentComponent} from "../openaireLibrary/dashboard/helpTexts/edit-page-help-content.component";
|
||||||
|
import {AdminDashboardGuard} from "../utils/adminDashboard.guard";
|
||||||
|
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
RouterModule.forChild([
|
RouterModule.forChild([
|
||||||
{ path: '', canActivate: [IsCommunity, ConnectAdminLoginGuard], component: EditPageHelpContentComponent}
|
{ path: '', canActivate: [AdminDashboardGuard], component: EditPageHelpContentComponent}
|
||||||
])
|
])
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
|
|
|
@ -1,16 +1,15 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import {RouterModule} from '@angular/router';
|
import {RouterModule} from '@angular/router';
|
||||||
import {CommonModule} from '@angular/common';
|
import {CommonModule} from '@angular/common';
|
||||||
import {IsCommunity} from "../openaireLibrary/connect/communityGuard/isCommunity.guard";
|
|
||||||
import {ConnectAdminLoginGuard} from "../openaireLibrary/connect/communityGuard/connectAdminLoginGuard.guard";
|
|
||||||
import {EditPageHelpContentRoutingModule} from "./edit-page-help-content-routing.module";
|
import {EditPageHelpContentRoutingModule} from "./edit-page-help-content-routing.module";
|
||||||
import {EditPageHelpContentModule} from "../openaireLibrary/dashboard/helpTexts/edit-page-help-content.module";
|
import {EditPageHelpContentModule} from "../openaireLibrary/dashboard/helpTexts/edit-page-help-content.module";
|
||||||
|
import {AdminDashboardGuard} from "../utils/adminDashboard.guard";
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
CommonModule, RouterModule,
|
CommonModule, RouterModule,
|
||||||
EditPageHelpContentRoutingModule, EditPageHelpContentModule
|
EditPageHelpContentRoutingModule, EditPageHelpContentModule
|
||||||
],
|
],
|
||||||
providers: [IsCommunity, ConnectAdminLoginGuard]
|
providers: [AdminDashboardGuard]
|
||||||
})
|
})
|
||||||
export class MonitorEditPageHelpContentModule { }
|
export class MonitorEditPageHelpContentModule { }
|
||||||
|
|
|
@ -1,14 +1,13 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import {RouterModule} from '@angular/router';
|
import {RouterModule} from '@angular/router';
|
||||||
import {IsCommunity} from "../openaireLibrary/connect/communityGuard/isCommunity.guard";
|
|
||||||
import {ConnectAdminLoginGuard} from "../openaireLibrary/connect/communityGuard/connectAdminLoginGuard.guard";
|
|
||||||
import {NewPageHelpContentComponent} from "../openaireLibrary/dashboard/helpTexts/new-page-help-content.component";
|
import {NewPageHelpContentComponent} from "../openaireLibrary/dashboard/helpTexts/new-page-help-content.component";
|
||||||
|
import {AdminDashboardGuard} from "../utils/adminDashboard.guard";
|
||||||
|
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
RouterModule.forChild([
|
RouterModule.forChild([
|
||||||
{ path: '', canActivate: [IsCommunity, ConnectAdminLoginGuard], component: NewPageHelpContentComponent}
|
{ path: '', canActivate: [AdminDashboardGuard], component: NewPageHelpContentComponent}
|
||||||
])
|
])
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
|
|
|
@ -1,10 +1,9 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import {RouterModule} from '@angular/router';
|
import {RouterModule} from '@angular/router';
|
||||||
import {CommonModule} from '@angular/common';
|
import {CommonModule} from '@angular/common';
|
||||||
import {IsCommunity} from "../openaireLibrary/connect/communityGuard/isCommunity.guard";
|
|
||||||
import {ConnectAdminLoginGuard} from "../openaireLibrary/connect/communityGuard/connectAdminLoginGuard.guard";
|
|
||||||
import {NewPageHelpContentRoutingModule} from "./new-page-help-content-routing.module";
|
import {NewPageHelpContentRoutingModule} from "./new-page-help-content-routing.module";
|
||||||
import {NewPageHelpContentModule} from "../openaireLibrary/dashboard/helpTexts/new-page-help-content.module";
|
import {NewPageHelpContentModule} from "../openaireLibrary/dashboard/helpTexts/new-page-help-content.module";
|
||||||
|
import {AdminDashboardGuard} from "../utils/adminDashboard.guard";
|
||||||
|
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
|
@ -12,6 +11,6 @@ import {NewPageHelpContentModule} from "../openaireLibrary/dashboard/helpTexts/n
|
||||||
CommonModule, RouterModule,
|
CommonModule, RouterModule,
|
||||||
NewPageHelpContentRoutingModule, NewPageHelpContentModule
|
NewPageHelpContentRoutingModule, NewPageHelpContentModule
|
||||||
],
|
],
|
||||||
providers: [IsCommunity, ConnectAdminLoginGuard],
|
providers: [ AdminDashboardGuard],
|
||||||
})
|
})
|
||||||
export class MonitorNewPageHelpContentModule { }
|
export class MonitorNewPageHelpContentModule { }
|
||||||
|
|
|
@ -1,13 +1,12 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import {RouterModule} from '@angular/router';
|
import {RouterModule} from '@angular/router';
|
||||||
import {IsCommunity} from "../openaireLibrary/connect/communityGuard/isCommunity.guard";
|
|
||||||
import {ConnectAdminLoginGuard} from "../openaireLibrary/connect/communityGuard/connectAdminLoginGuard.guard";
|
|
||||||
import {PageHelpContentsComponent} from "../openaireLibrary/dashboard/helpTexts/page-help-contents.component";
|
import {PageHelpContentsComponent} from "../openaireLibrary/dashboard/helpTexts/page-help-contents.component";
|
||||||
|
import {AdminDashboardGuard} from "../utils/adminDashboard.guard";
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
RouterModule.forChild([
|
RouterModule.forChild([
|
||||||
{ path: '', canActivate: [IsCommunity, ConnectAdminLoginGuard], component: PageHelpContentsComponent}
|
{ path: '', canActivate: [AdminDashboardGuard], component: PageHelpContentsComponent}
|
||||||
])
|
])
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
|
|
|
@ -2,13 +2,12 @@ import {NgModule} from '@angular/core';
|
||||||
import {CommonModule} from '@angular/common';
|
import {CommonModule} from '@angular/common';
|
||||||
import {PageHelpContentsRoutingModule} from './page-help-contents-routing.module';
|
import {PageHelpContentsRoutingModule} from './page-help-contents-routing.module';
|
||||||
import {PageHelpContentsModule} from "../openaireLibrary/dashboard/helpTexts/page-help-contents.module";
|
import {PageHelpContentsModule} from "../openaireLibrary/dashboard/helpTexts/page-help-contents.module";
|
||||||
import {IsCommunity} from "../openaireLibrary/connect/communityGuard/isCommunity.guard";
|
import {AdminDashboardGuard} from "../utils/adminDashboard.guard";
|
||||||
import {ConnectAdminLoginGuard} from "../openaireLibrary/connect/communityGuard/connectAdminLoginGuard.guard";
|
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
CommonModule, PageHelpContentsRoutingModule, PageHelpContentsModule
|
CommonModule, PageHelpContentsRoutingModule, PageHelpContentsModule
|
||||||
],
|
],
|
||||||
providers: [IsCommunity, ConnectAdminLoginGuard],
|
providers: [AdminDashboardGuard],
|
||||||
})
|
})
|
||||||
export class MonitorPageHelpContentsModule { }
|
export class MonitorPageHelpContentsModule { }
|
||||||
|
|
|
@ -102,9 +102,9 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="uk-padding-small uk-padding-remove-top">
|
<div class="uk-padding-small">
|
||||||
<a class="" [routerLink]="stakeholder.alias">
|
<a class="" [routerLink]="stakeholder.alias">
|
||||||
<div class="uk-flex uk-flex-center" uk-grid>
|
<div class="uk-flex uk-flex-center">
|
||||||
{{stakeholder.name}}
|
{{stakeholder.name}}
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
|
@ -117,7 +117,7 @@
|
||||||
<div *ngIf="!loading">
|
<div *ngIf="!loading">
|
||||||
<div class="uk-card uk-card-default clickable" (click)="editStakeholder(null, isDefault)">
|
<div class="uk-card uk-card-default clickable" (click)="editStakeholder(null, isDefault)">
|
||||||
<div class="uk-card-body">
|
<div class="uk-card-body">
|
||||||
<div uk-grid>
|
<div>
|
||||||
<div class="uk-width-1-1">
|
<div class="uk-width-1-1">
|
||||||
{{text}}
|
{{text}}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import {RouterModule} from '@angular/router';
|
import {RouterModule} from '@angular/router';
|
||||||
import {PagesComponent} from "../openaireLibrary/dashboard/page/pages.component";
|
import {PagesComponent} from "../openaireLibrary/dashboard/page/pages.component";
|
||||||
import {ConnectAdminLoginGuard} from "../openaireLibrary/connect/communityGuard/connectAdminLoginGuard.guard";
|
|
||||||
import {IsCommunityOrAdmin} from "../openaireLibrary/connect/communityGuard/isCommunityOrAdmin";
|
import {IsCommunityOrAdmin} from "../openaireLibrary/connect/communityGuard/isCommunityOrAdmin";
|
||||||
|
import {AdminDashboardGuard} from "../utils/adminDashboard.guard";
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
RouterModule.forChild([
|
RouterModule.forChild([
|
||||||
{ path: '', canActivate: [IsCommunityOrAdmin, ConnectAdminLoginGuard], component: PagesComponent}
|
{ path: '', canActivate: [IsCommunityOrAdmin, AdminDashboardGuard], component: PagesComponent}
|
||||||
])
|
])
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
|
|
|
@ -2,14 +2,14 @@ import {NgModule} from '@angular/core';
|
||||||
import {CommonModule} from '@angular/common';
|
import {CommonModule} from '@angular/common';
|
||||||
import {PagesRoutingModule} from './pages-routing.module';
|
import {PagesRoutingModule} from './pages-routing.module';
|
||||||
import {IsCommunityOrAdmin} from "../openaireLibrary/connect/communityGuard/isCommunityOrAdmin";
|
import {IsCommunityOrAdmin} from "../openaireLibrary/connect/communityGuard/isCommunityOrAdmin";
|
||||||
import {ConnectAdminLoginGuard} from "../openaireLibrary/connect/communityGuard/connectAdminLoginGuard.guard";
|
|
||||||
import {PagesModule} from "../openaireLibrary/dashboard/page/pages.module";
|
import {PagesModule} from "../openaireLibrary/dashboard/page/pages.module";
|
||||||
|
import {AdminDashboardGuard} from "../utils/adminDashboard.guard";
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
CommonModule, PagesRoutingModule, PagesModule
|
CommonModule, PagesRoutingModule, PagesModule
|
||||||
],
|
],
|
||||||
providers: [IsCommunityOrAdmin, ConnectAdminLoginGuard],
|
providers: [IsCommunityOrAdmin, AdminDashboardGuard],
|
||||||
|
|
||||||
})
|
})
|
||||||
export class MonitorPagesModule { }
|
export class MonitorPagesModule { }
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import {RouterModule} from '@angular/router';
|
import {RouterModule} from '@angular/router';
|
||||||
import {CommunitiesComponent} from "../openaireLibrary/dashboard/portal/communities.component";
|
import {PortalsComponent} from "../openaireLibrary/dashboard/portal/portals.component";
|
||||||
import {AdminLoginGuard} from "../openaireLibrary/login/adminLoginGuard.guard";
|
import {AdminLoginGuard} from "../openaireLibrary/login/adminLoginGuard.guard";
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
RouterModule.forChild([
|
RouterModule.forChild([
|
||||||
{ path: '', canActivate: [AdminLoginGuard], component: CommunitiesComponent}
|
{ path: '', canActivate: [AdminLoginGuard], component: PortalsComponent}
|
||||||
])
|
])
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
import {NgModule} from '@angular/core';
|
import {NgModule} from '@angular/core';
|
||||||
import {CommonModule} from '@angular/common';
|
import {CommonModule} from '@angular/common';
|
||||||
import {CommunitiesModule} from "../openaireLibrary/dashboard/portal/communities.module";
|
import {PortalModule} from "../openaireLibrary/dashboard/portal/portals.module";
|
||||||
import {AdminLoginGuard} from "../openaireLibrary/login/adminLoginGuard.guard";
|
import {AdminLoginGuard} from "../openaireLibrary/login/adminLoginGuard.guard";
|
||||||
import {PortalsRoutingModule} from "./portals-routing.module";
|
import {PortalsRoutingModule} from "./portals-routing.module";
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
CommonModule, CommunitiesModule, PortalsRoutingModule
|
CommonModule, PortalModule, PortalsRoutingModule
|
||||||
],
|
],
|
||||||
declarations: [],
|
declarations: [],
|
||||||
providers: [AdminLoginGuard],
|
providers: [AdminLoginGuard],
|
||||||
|
|
|
@ -36,15 +36,15 @@
|
||||||
left: calc(var(--sidebar-width) + 0px);
|
left: calc(var(--sidebar-width) + 0px);
|
||||||
}
|
}
|
||||||
|
|
||||||
#sidebar_main .menu_section > ul > li > a {
|
#sidebar_main .menu_section > ul > li > a, #sidebar_main .menu_section > ul > li > ul > li > a {
|
||||||
font-size: var(--sidebar-font-size);
|
font-size: var(--sidebar-font-size);
|
||||||
color: rgba(0, 0, 0, .7);
|
color: rgba(0, 0, 0, .7);
|
||||||
}
|
}
|
||||||
|
|
||||||
#sidebar_main .menu_section > ul > li > a:hover{
|
#sidebar_main .menu_section > ul > li > a:hover, #sidebar_main .menu_section > ul > li > ul > li > a:hover{
|
||||||
color: var(--secondary-color);
|
color: var(--secondary-color);
|
||||||
}
|
}
|
||||||
#sidebar_main .menu_section > ul li.current_section > a {
|
#sidebar_main .menu_section > ul li.current_section > a, #sidebar_main .menu_section > ul li.current_section > ul > li.current_section > a {
|
||||||
color: var(--primary-color);
|
color: var(--primary-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -280,6 +280,11 @@ li.selectedVisibility::before {
|
||||||
width: 800px;
|
width: 800px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.tm-header .uk-navbar-container{
|
||||||
|
background-color: var(--background-color) !important;
|
||||||
|
box-shadow: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
.visibilityMenuIcon{
|
.visibilityMenuIcon{
|
||||||
border-right: 1px solid var(--secondary-color);
|
border-right: 1px solid var(--secondary-color);
|
||||||
border-bottom: 1px solid var(--secondary-color);
|
border-bottom: 1px solid var(--secondary-color);
|
||||||
|
|
|
@ -59,7 +59,7 @@ export let properties: EnvProperties = {
|
||||||
|
|
||||||
monitorServiceAPIURL: "https://beta.services.openaire.eu/uoa-monitor-service/",
|
monitorServiceAPIURL: "https://beta.services.openaire.eu/uoa-monitor-service/",
|
||||||
|
|
||||||
adminToolsAPIURL: "https://beta.services.openaire.eu/uoa-admin-tools",
|
adminToolsAPIURL: "https://beta.services.openaire.eu/uoa-monitor-service/",
|
||||||
|
|
||||||
adminToolsCommunity: "monitor",
|
adminToolsCommunity: "monitor",
|
||||||
datasourcesAPI: "https://beta.services.openaire.eu/openaire/ds/search/",
|
datasourcesAPI: "https://beta.services.openaire.eu/openaire/ds/search/",
|
||||||
|
|
|
@ -7,6 +7,7 @@ import {EnvProperties} from "../app/openaireLibrary/utils/properties/env-propert
|
||||||
|
|
||||||
export let properties: EnvProperties = {
|
export let properties: EnvProperties = {
|
||||||
environment: "development",
|
environment: "development",
|
||||||
|
adminToolsPortalType: "monitor",
|
||||||
isDashboard: true,
|
isDashboard: true,
|
||||||
enablePiwikTrack: false,
|
enablePiwikTrack: false,
|
||||||
useCache: false,
|
useCache: false,
|
||||||
|
@ -62,7 +63,7 @@ export let properties: EnvProperties = {
|
||||||
// monitorServiceAPIURL: "https://beta.services.openaire.eu/uoa-monitor-service",
|
// monitorServiceAPIURL: "https://beta.services.openaire.eu/uoa-monitor-service",
|
||||||
monitorServiceAPIURL: "http://duffy.di.uoa.gr:8080/uoa-monitor-service",
|
monitorServiceAPIURL: "http://duffy.di.uoa.gr:8080/uoa-monitor-service",
|
||||||
|
|
||||||
adminToolsAPIURL: "http://mpagasas.di.uoa.gr:8080/uoa-admin-tools",
|
adminToolsAPIURL: "http://duffy.di.uoa.gr:8080/uoa-monitor-service/",
|
||||||
|
|
||||||
adminToolsCommunity: "monitor",
|
adminToolsCommunity: "monitor",
|
||||||
datasourcesAPI: "https://beta.services.openaire.eu/openaire/ds/search/",
|
datasourcesAPI: "https://beta.services.openaire.eu/openaire/ds/search/",
|
||||||
|
|
Loading…
Reference in New Issue