Change prefix to match application name
The old prefix was rd-, from Rich Dashboard.
Change-Id: Icd1449cc5ffa07e4c7c3d5e9ac0fa04de39aa9d9
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
Issue-ID: NONRTRIC-408
diff --git a/webapp-frontend/src/app/controlpanel.component.html b/webapp-frontend/src/app/controlpanel.component.html
index 649a5d5..494477e 100644
--- a/webapp-frontend/src/app/controlpanel.component.html
+++ b/webapp-frontend/src/app/controlpanel.component.html
@@ -51,7 +51,7 @@
</div>
</section>
<section #sidenav class="menu-body">
- <rd-sidenav-list (sidenavClose)="drawer.toggle()">></rd-sidenav-list>
+ <nrcp-sidenav-list (sidenavClose)="drawer.toggle()">></nrcp-sidenav-list>
</section>
<section class="menu-footer">
@@ -108,7 +108,7 @@
<!-- Footer -->
<footer class="main__footer" [ngClass]="{'main-footer__bg-dark': darkMode}">
<div class="main-footer__bg">
- <rd-footer></rd-footer>
+ <nrcp-footer></nrcp-footer>
</div>
</footer>
diff --git a/webapp-frontend/src/app/controlpanel.component.ts b/webapp-frontend/src/app/controlpanel.component.ts
index be39fc1..b85d524 100644
--- a/webapp-frontend/src/app/controlpanel.component.ts
+++ b/webapp-frontend/src/app/controlpanel.component.ts
@@ -22,7 +22,7 @@
import { CookieService } from 'ngx-cookie';
@Component({
- selector: 'rd-root',
+ selector: 'nrcp-root',
templateUrl: './controlpanel.component.html',
styleUrls: ['./controlpanel.component.scss']
})
diff --git a/webapp-frontend/src/app/ei-coordinator/ei-coordinator.component.html b/webapp-frontend/src/app/ei-coordinator/ei-coordinator.component.html
index 9e99cf0..79385a7 100644
--- a/webapp-frontend/src/app/ei-coordinator/ei-coordinator.component.html
+++ b/webapp-frontend/src/app/ei-coordinator/ei-coordinator.component.html
@@ -19,7 +19,7 @@
-->
<div fxLayout="row">
- <div class="rd-global-page-title">Enrichment Information Coordinator</div>
+ <div class="nrcp-global-page-title">Enrichment Information Coordinator</div>
<div class="refresh-button">
<button mat-icon-button color="primary" aria-label="Button with a refresh icon" (click)="refreshTables()">
<mat-icon>refresh</mat-icon>
diff --git a/webapp-frontend/src/app/ei-coordinator/ei-coordinator.component.ts b/webapp-frontend/src/app/ei-coordinator/ei-coordinator.component.ts
index d69deab..2789114 100644
--- a/webapp-frontend/src/app/ei-coordinator/ei-coordinator.component.ts
+++ b/webapp-frontend/src/app/ei-coordinator/ei-coordinator.component.ts
@@ -38,7 +38,7 @@
}
@Component({
- selector: 'rd-ei-coordinator',
+ selector: 'nrcp-ei-coordinator',
templateUrl: './ei-coordinator.component.html',
styleUrls: ['./ei-coordinator.component.scss'],
animations: [
diff --git a/webapp-frontend/src/app/ei-coordinator/ei-producer.datasource.spec.ts b/webapp-frontend/src/app/ei-coordinator/ei-producer.datasource.spec.ts
index 6dcbf41..107daae 100644
--- a/webapp-frontend/src/app/ei-coordinator/ei-producer.datasource.spec.ts
+++ b/webapp-frontend/src/app/ei-coordinator/ei-producer.datasource.spec.ts
@@ -23,7 +23,7 @@
import { EIService } from '../services/ei/ei.service';
import { NotificationService } from '../services/ui/notification.service';
import { ToastrModule } from 'ngx-toastr';
-import { EIJob, EIProducer, OperationalState, ProducerRegistrationInfo, ProducerStatus } from '../interfaces/ei.types';
+import { EIProducer, OperationalState, ProducerRegistrationInfo, ProducerStatus } from '../interfaces/ei.types';
import { EIProducerDataSource } from './ei-producer.datasource';
describe('EIProducerDataSource', () => {
diff --git a/webapp-frontend/src/app/footer/footer.component.ts b/webapp-frontend/src/app/footer/footer.component.ts
index dc4c3c3..dd57545 100644
--- a/webapp-frontend/src/app/footer/footer.component.ts
+++ b/webapp-frontend/src/app/footer/footer.component.ts
@@ -23,7 +23,7 @@
import { UiService } from '../services/ui/ui.service';
@Component({
- selector: 'rd-footer',
+ selector: 'nrcp-footer',
templateUrl: './footer.component.html',
styleUrls: ['./footer.component.scss']
})
diff --git a/webapp-frontend/src/app/main/main.component.html b/webapp-frontend/src/app/main/main.component.html
index 4eedb08..7335978 100644
--- a/webapp-frontend/src/app/main/main.component.html
+++ b/webapp-frontend/src/app/main/main.component.html
@@ -19,6 +19,6 @@
========================LICENSE_END===================================
-->
<div class = "main__container">
- <rd-policy-card></rd-policy-card>
- <rd-ei-card></rd-ei-card>
+ <nrcp-policy-card></nrcp-policy-card>
+ <nrcp-ei-card></nrcp-ei-card>
</div>
diff --git a/webapp-frontend/src/app/main/main.component.ts b/webapp-frontend/src/app/main/main.component.ts
index 9d11525..298395f 100644
--- a/webapp-frontend/src/app/main/main.component.ts
+++ b/webapp-frontend/src/app/main/main.component.ts
@@ -20,7 +20,7 @@
import { Component, OnInit } from '@angular/core';
@Component({
- selector: 'rd-main',
+ selector: 'nrcp-main',
templateUrl: './main.component.html',
styleUrls: ['./main.component.scss']
})
diff --git a/webapp-frontend/src/app/navigation/sidenav-list/sidenav-list.component.ts b/webapp-frontend/src/app/navigation/sidenav-list/sidenav-list.component.ts
index 914fa2d..486a8cd 100644
--- a/webapp-frontend/src/app/navigation/sidenav-list/sidenav-list.component.ts
+++ b/webapp-frontend/src/app/navigation/sidenav-list/sidenav-list.component.ts
@@ -21,7 +21,7 @@
import { UiService } from '../../services/ui/ui.service';
@Component({
- selector: 'rd-sidenav-list',
+ selector: 'nrcp-sidenav-list',
templateUrl: './sidenav-list.component.html',
styleUrls: ['./sidenav-list.component.scss']
})
diff --git a/webapp-frontend/src/app/node-modules/node-modules.component.ts b/webapp-frontend/src/app/node-modules/node-modules.component.ts
index 6d650a1..5a3cfb4 100644
--- a/webapp-frontend/src/app/node-modules/node-modules.component.ts
+++ b/webapp-frontend/src/app/node-modules/node-modules.component.ts
@@ -1,7 +1,7 @@
import { Component, OnInit } from '@angular/core';
@Component({
- selector: 'rd-node-modules',
+ selector: 'nrcp-node-modules',
templateUrl: './node-modules.component.html',
styleUrls: ['./node-modules.component.scss']
})
diff --git a/webapp-frontend/src/app/policy-control/no-type-policy-instance-dialog.component.ts b/webapp-frontend/src/app/policy-control/no-type-policy-instance-dialog.component.ts
index 6ebbbcc..288ba2e 100644
--- a/webapp-frontend/src/app/policy-control/no-type-policy-instance-dialog.component.ts
+++ b/webapp-frontend/src/app/policy-control/no-type-policy-instance-dialog.component.ts
@@ -30,7 +30,7 @@
import { CreatePolicyInstance } from '../interfaces/policy.types';
@Component({
- selector: 'rd-no-type-policy-instance-dialog',
+ selector: 'nrcp-no-type-policy-instance-dialog',
templateUrl: './no-type-policy-instance-dialog.component.html',
styleUrls: ['./no-type-policy-instance-dialog.component.scss']
})
diff --git a/webapp-frontend/src/app/policy-control/policy-control.component.html b/webapp-frontend/src/app/policy-control/policy-control.component.html
index a8f5021..3deb2dd 100644
--- a/webapp-frontend/src/app/policy-control/policy-control.component.html
+++ b/webapp-frontend/src/app/policy-control/policy-control.component.html
@@ -19,7 +19,7 @@
-->
<div fxLayout="row">
- <div class="rd-global-page-title">Policy Control</div>
+ <div class="nrcp-global-page-title">Policy Control</div>
<div class="refresh-button">
<button mat-icon-button color="primary" aria-label="Button with a refresh icon" (click)="refreshTables()">
<mat-icon>refresh</mat-icon>
@@ -57,8 +57,8 @@
<!-- =================== Policy instances for one type ======================== -->
<ng-container matColumnDef="instanceTableContainer">
<mat-cell *matCellDef="let policyTypeSchema">
- <rd-policy-instance [policyTypeSchema]=policyTypeSchema [expanded]=this.getExpandedObserver(policyTypeSchema)>
- </rd-policy-instance>
+ <nrcp-policy-instance [policyTypeSchema]=policyTypeSchema [expanded]=this.getExpandedObserver(policyTypeSchema)>
+ </nrcp-policy-instance>
</mat-cell>
</ng-container>
<!-- ======= -->
diff --git a/webapp-frontend/src/app/policy-control/policy-control.component.ts b/webapp-frontend/src/app/policy-control/policy-control.component.ts
index ad3f13d..5ff7e88 100644
--- a/webapp-frontend/src/app/policy-control/policy-control.component.ts
+++ b/webapp-frontend/src/app/policy-control/policy-control.component.ts
@@ -37,7 +37,7 @@
}
@Component({
- selector: 'rd-policy-control',
+ selector: 'nrcp-policy-control',
templateUrl: './policy-control.component.html',
styleUrls: ['./policy-control.component.scss'],
animations: [
diff --git a/webapp-frontend/src/app/policy-control/policy-instance-dialog.component.ts b/webapp-frontend/src/app/policy-control/policy-instance-dialog.component.ts
index 72a2041..70c1057 100644
--- a/webapp-frontend/src/app/policy-control/policy-instance-dialog.component.ts
+++ b/webapp-frontend/src/app/policy-control/policy-instance-dialog.component.ts
@@ -35,7 +35,7 @@
@Component({
- selector: 'rd-policy-instance-dialog',
+ selector: 'nrcp-policy-instance-dialog',
templateUrl: './policy-instance-dialog.component.html',
styleUrls: ['./policy-instance-dialog.component.scss'],
animations: [
diff --git a/webapp-frontend/src/app/policy-control/policy-instance.component.ts b/webapp-frontend/src/app/policy-control/policy-instance.component.ts
index eb6bea8..94cdb05 100644
--- a/webapp-frontend/src/app/policy-control/policy-instance.component.ts
+++ b/webapp-frontend/src/app/policy-control/policy-instance.component.ts
@@ -36,7 +36,7 @@
import { UiService } from '../services/ui/ui.service';
@Component({
- selector: 'rd-policy-instance',
+ selector: 'nrcp-policy-instance',
templateUrl: './policy-instance.component.html',
styleUrls: ['./policy-instance.component.scss']
})
diff --git a/webapp-frontend/src/app/ui/confirm-dialog/confirm-dialog.component.ts b/webapp-frontend/src/app/ui/confirm-dialog/confirm-dialog.component.ts
index 1ad54b9..8b389bb 100644
--- a/webapp-frontend/src/app/ui/confirm-dialog/confirm-dialog.component.ts
+++ b/webapp-frontend/src/app/ui/confirm-dialog/confirm-dialog.component.ts
@@ -22,7 +22,7 @@
import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';
@Component({
- selector: 'rd-confirm-dialog',
+ selector: 'nrcp-confirm-dialog',
templateUrl: './confirm-dialog.component.html',
})
export class ConfirmDialogComponent implements OnInit {
diff --git a/webapp-frontend/src/app/ui/ei-card/ei-card.component.ts b/webapp-frontend/src/app/ui/ei-card/ei-card.component.ts
index 6a7f83f..273e09f 100644
--- a/webapp-frontend/src/app/ui/ei-card/ei-card.component.ts
+++ b/webapp-frontend/src/app/ui/ei-card/ei-card.component.ts
@@ -22,7 +22,7 @@
import { UiService } from '../../services/ui/ui.service';
@Component({
- selector: 'rd-ei-card',
+ selector: 'nrcp-ei-card',
templateUrl: './ei-card.component.html',
styleUrls: ['./ei-card.component.scss']
})
diff --git a/webapp-frontend/src/app/ui/error-dialog/error-dialog.component.ts b/webapp-frontend/src/app/ui/error-dialog/error-dialog.component.ts
index 04a0684..197cfd8 100644
--- a/webapp-frontend/src/app/ui/error-dialog/error-dialog.component.ts
+++ b/webapp-frontend/src/app/ui/error-dialog/error-dialog.component.ts
@@ -25,7 +25,7 @@
}
@Component({
- selector: 'rd-error-dialog',
+ selector: 'nrcp-error-dialog',
templateUrl: './error-dialog.component.html',
styleUrls: ['./error-dialog.component.scss']
})
diff --git a/webapp-frontend/src/app/ui/policy-card/policy-card.component.ts b/webapp-frontend/src/app/ui/policy-card/policy-card.component.ts
index 902e260..3cd9d5d 100644
--- a/webapp-frontend/src/app/ui/policy-card/policy-card.component.ts
+++ b/webapp-frontend/src/app/ui/policy-card/policy-card.component.ts
@@ -22,7 +22,7 @@
import { UiService } from '../../services/ui/ui.service';
@Component({
- selector: 'rd-policy-card',
+ selector: 'nrcp-policy-card',
templateUrl: './policy-card.component.html',
styleUrls: ['./policy-card.component.scss']
})
diff --git a/webapp-frontend/src/index.html b/webapp-frontend/src/index.html
index 83f24ae..0f8ee56 100644
--- a/webapp-frontend/src/index.html
+++ b/webapp-frontend/src/index.html
@@ -28,6 +28,6 @@
<link rel="icon" type="image/x-icon" href="assets/oran-logo.png">
</head>
<body>
- <rd-root></rd-root>
+ <nrcp-root></nrcp-root>
</body>
</html>
diff --git a/webapp-frontend/src/styles.scss b/webapp-frontend/src/styles.scss
index c37fc42..23555ed 100644
--- a/webapp-frontend/src/styles.scss
+++ b/webapp-frontend/src/styles.scss
@@ -37,7 +37,7 @@
font-size: 20px;
}
-.rd-global-page-title {
+.nrcp-global-page-title {
margin-left: 0.5%;
color: #432c85;
font-size: 25px;
diff --git a/webapp-frontend/src/styles/dark-theme.scss b/webapp-frontend/src/styles/dark-theme.scss
index 6214081..0e0b3b8 100644
--- a/webapp-frontend/src/styles/dark-theme.scss
+++ b/webapp-frontend/src/styles/dark-theme.scss
@@ -32,6 +32,6 @@
@include angular-material-theme($dark-theme);
}
-.dark-theme .rd-global-page-title {
+.dark-theme .nrcp-global-page-title {
color: white;
}
\ No newline at end of file