import { UiService } from './services/ui/ui.service';
import { CookieService } from 'ngx-cookie-service';
import { NodeModulesComponent } from './node-modules/node-modules.component';
-import { EICardComponent } from './ui/ei-card/ei-card.component';
import { HttpMockRequestInterceptor } from './interceptor.mock';
import { environment } from 'src/environments/environment';
import { HttpRequestInterceptor } from './interceptor';
declarations: [
AppComponent,
ConfirmDialogComponent,
- EICardComponent,
ErrorDialogComponent,
FooterComponent,
MainComponent,
limitations under the License.
========================LICENSE_END===================================
-->
-<div class="ei__card" routerLink="/ei-coordinator" [ngClass]="{'add__card-dark': darkMode}">
- <div class="header__container">
- <span class="card__title">Enrichment Information Coordinator</span>
- <div class="body__container">
- <img src="assets/oran-logo.png" width="250px"/>
+ <div class="ei__card" routerLink="/ei-coordinator" [ngClass]="{'add__card-dark': darkMode}">
+ <div class="header__container">
+ <span class="card__title">Enrichment Information Coordinator</span>
+ <div class="body__container">
+ <img src="assets/oran-logo.png" width="250px"/>
+ </div>
</div>
-</div>
+
\ No newline at end of file
--- /dev/null
+/*-\r
+ * ========================LICENSE_START=================================\r
+ * O-RAN-SC\r
+ * %%\r
+ * Copyright (C) 2019 Nordix Foundation\r
+ * %%\r
+ * Licensed under the Apache License, Version 2.0 (the "License");\r
+ * you may not use this file except in compliance with the License.\r
+ * You may obtain a copy of the License at\r
+ *\r
+ * http://www.apache.org/licenses/LICENSE-2.0\r
+ *\r
+ * Unless required by applicable law or agreed to in writing, software\r
+ * distributed under the License is distributed on an "AS IS" BASIS,\r
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+ * See the License for the specific language governing permissions and\r
+ * limitations under the License.\r
+ * ========================LICENSE_END===================================\r
+ */\r
+ .ei__card {\r
+ background-color: #ffffff;\r
+ box-shadow: 0 0 2rem rgba(0, 0, 255, 0.1);\r
+ display: grid;\r
+ grid-template-columns: 1fr;\r
+ grid-template-rows: 1fr 1fr;\r
+ padding: 2rem;\r
+ margin: 2rem;\r
+ width: 19rem;\r
+ height: 30rem;\r
+ justify-items: center;\r
+ cursor: pointer;\r
+ border-radius: 1.75rem;\r
+ animation: fadein 1.25s ease-in-out 0ms 1;\r
+ color: #443282;\r
+ }\r
+\r
+ .add__card-dark {\r
+ background: linear-gradient(to bottom, rgb(78, 78, 129), rgb(45, 44, 61));\r
+ color: white;\r
+ }\r
+\r
+ .card__title {\r
+ text-transform: uppercase;\r
+ letter-spacing: 0.1rem;\r
+ }\r
+\r
+ .body__container {\r
+ align-self: end;\r
+ display: flex;\r
+ justify-content: space-between;\r
+ align-items: center;\r
+ flex-flow: column;\r
+ }\r
+\r
+ .add__icon {\r
+ width: 10rem;\r
+ margin-bottom: 1.15rem;\r
+ }
\ No newline at end of file
*/
import {async, ComponentFixture, TestBed} from '@angular/core/testing';
-import {EICardComponent} from './ei-card.component';
+import {EiCardComponent} from './ei-card.component';
import { MatIconModule } from '@angular/material/icon';
import { RouterTestingModule } from '@angular/router/testing';
import {UiService} from '../../services/ui/ui.service';
describe('EICardComponent', () => {
- let component: EICardComponent;
- let fixture: ComponentFixture<EICardComponent>;
+ let component: EiCardComponent;
+ let fixture: ComponentFixture<EiCardComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
- declarations: [EICardComponent],
+ declarations: [EiCardComponent],
imports: [ MatIconModule,
RouterTestingModule
],
}));
beforeEach(() => {
- fixture = TestBed.createComponent(EICardComponent);
+ fixture = TestBed.createComponent(EiCardComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
templateUrl: './ei-card.component.html',
styleUrls: ['./ei-card.component.scss']
})
-export class EICardComponent implements OnInit, OnDestroy {
+export class EiCardComponent implements OnInit, OnDestroy {
darkMode: boolean;
constructor(public router: Router, private ui: UiService) { }
import { MatSortModule } from '@angular/material/sort';
import { MatButtonModule } from '@angular/material/button';
import { FlexLayoutModule } from '@angular/flex-layout';
+import { EiCardComponent } from './ei-card/ei-card.component';
const routes: Routes = [
declarations: [
EICoordinatorComponent,
ProducersListComponent,
- JobsListComponent
+ JobsListComponent,
+ EiCardComponent
],
imports: [
CommonModule,
RouterModule.forChild(routes)
],
exports: [
- EICoordinatorComponent
+ EICoordinatorComponent,
+ EiCardComponent
]
})
export class EiCoordinatorModule { }
+++ /dev/null
-/*-
- * ========================LICENSE_START=================================
- * O-RAN-SC
- * %%
- * Copyright (C) 2019 Nordix Foundation
- * %%
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ========================LICENSE_END===================================
- */
-.ei__card {
- background-color: #ffffff;
- box-shadow: 0 0 2rem rgba(0, 0, 255, 0.1);
- display: grid;
- grid-template-columns: 1fr;
- grid-template-rows: 1fr 1fr;
- padding: 2rem;
- margin: 2rem;
- width: 19rem;
- height: 30rem;
- justify-items: center;
- cursor: pointer;
- border-radius: 1.75rem;
- animation: fadein 1.25s ease-in-out 0ms 1;
- color: #443282;
-}
-
-.add__card-dark {
- background: linear-gradient(to bottom, rgb(78, 78, 129), rgb(45, 44, 61));
- color: white;
-}
-
-.card__title {
- text-transform: uppercase;
- letter-spacing: 0.1rem;
-}
-
-.body__container {
- align-self: end;
- display: flex;
- justify-content: space-between;
- align-items: center;
- flex-flow: column;
-}
-
-.add__icon {
- width: 10rem;
- margin-bottom: 1.15rem;
-}
\ No newline at end of file