aboutsummaryrefslogtreecommitdiffstats
path: root/cds-ui/designer-client/src/app/modules/shared-modules
diff options
context:
space:
mode:
authorKAPIL SINGAL <ks220y@att.com>2019-12-09 14:29:57 +0000
committerGerrit Code Review <gerrit@onap.org>2019-12-09 14:29:57 +0000
commitdac9afbc6df66dfe3700b37f12b51bccebf74e83 (patch)
tree22cbfc84b5eeb7761d8ebcf8b3ecbd2c7bef3815 /cds-ui/designer-client/src/app/modules/shared-modules
parenta48981d05a85f45010ff4c8bf6e797037a9ea4fa (diff)
parent1b8623b4cf3e5ddf8eb3e9a6fd38cb3982eeb94f (diff)
Merge "rename ui project from client-franfurt to designer-client"
Diffstat (limited to 'cds-ui/designer-client/src/app/modules/shared-modules')
-rw-r--r--cds-ui/designer-client/src/app/modules/shared-modules/header/header.component.css12
-rw-r--r--cds-ui/designer-client/src/app/modules/shared-modules/header/header.component.html72
-rw-r--r--cds-ui/designer-client/src/app/modules/shared-modules/header/header.component.spec.ts25
-rw-r--r--cds-ui/designer-client/src/app/modules/shared-modules/header/header.component.ts15
-rw-r--r--cds-ui/designer-client/src/app/modules/shared-modules/shared-modules.module.ts13
5 files changed, 137 insertions, 0 deletions
diff --git a/cds-ui/designer-client/src/app/modules/shared-modules/header/header.component.css b/cds-ui/designer-client/src/app/modules/shared-modules/header/header.component.css
new file mode 100644
index 000000000..240f9dfae
--- /dev/null
+++ b/cds-ui/designer-client/src/app/modules/shared-modules/header/header.component.css
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+
+
+
+ \ No newline at end of file
diff --git a/cds-ui/designer-client/src/app/modules/shared-modules/header/header.component.html b/cds-ui/designer-client/src/app/modules/shared-modules/header/header.component.html
new file mode 100644
index 000000000..541b38d1a
--- /dev/null
+++ b/cds-ui/designer-client/src/app/modules/shared-modules/header/header.component.html
@@ -0,0 +1,72 @@
+<div class="primary-nav">
+ <img class="logo-icon open-panel nav-toggle" src="../assets/img/logo-icon.svg" title="CDS">
+ <nav role="navigation" class="menu">
+ <img class="logotype" src="../assets/img/logo-text.svg">
+ <div class="overflow-container">
+ <ul class="menu-dropdown">
+ <li class="active">
+ <a href="packages/list">Packages</a>
+ <span class="icon">
+ <!-- <i class="fa fa-dashboard"></i> -->
+ <img src="../assets/img/icon-nav-packages.svg">
+ </span>
+ </li>
+ <li class="menu-hasdropdown">
+ <a href="#">Data Dictionary</a>
+ <span class="icon">
+ <img src="../assets/img/icon-nav-dictionary.svg">
+ </span>
+ <label title="toggle menu" for="settings">
+ <span class="downarrow">
+ <i class="fa fa-caret-down"></i>
+ </span>
+ </label>
+ <input type="checkbox" class="sub-menu-checkbox" id="settings" />
+ <ul class="sub-menu-dropdown">
+ <li>
+ <a href="">Link</a>
+ </li>
+ <li>
+ <a href="">Link</a>
+ </li>
+ <li>
+ <a href="">Link</a>
+ </li>
+ </ul>
+ </li>
+ <!-- <li>
+ <a href="#">Favourites</a>
+ <span class="icon">
+ <i class="fa fa-heart"></i>
+ </span>
+ </li>
+ <li>
+ <a href="#">Messages</a>
+ <span class="icon">
+ <i class="fa fa-envelope"></i>
+ </span>
+ </li> -->
+ </ul>
+ </div>
+ <ul class="menu-dropdown userProfile">
+ <li>
+ <div class="dropdown">
+ <input class="dropdown-toggle" type="text">
+ <div class="dropdown-text">User name</div>
+ <ul class="dropdown-content">
+ <li>
+ <a href="#">Settings</a>
+ </li>
+ <li>
+ <a href="#">Projects</a>
+ </li>
+ <li>
+ <a href="#">Log out</a>
+ </li>
+ </ul>
+ </div>
+ </li>
+ </ul>
+
+ </nav>
+</div>
diff --git a/cds-ui/designer-client/src/app/modules/shared-modules/header/header.component.spec.ts b/cds-ui/designer-client/src/app/modules/shared-modules/header/header.component.spec.ts
new file mode 100644
index 000000000..2d0479d7d
--- /dev/null
+++ b/cds-ui/designer-client/src/app/modules/shared-modules/header/header.component.spec.ts
@@ -0,0 +1,25 @@
+import { async, ComponentFixture, TestBed } from '@angular/core/testing';
+
+import { HeaderComponent } from './header.component';
+
+describe('HeaderComponent', () => {
+ let component: HeaderComponent;
+ let fixture: ComponentFixture<HeaderComponent>;
+
+ beforeEach(async(() => {
+ TestBed.configureTestingModule({
+ declarations: [ HeaderComponent ]
+ })
+ .compileComponents();
+ }));
+
+ beforeEach(() => {
+ fixture = TestBed.createComponent(HeaderComponent);
+ component = fixture.componentInstance;
+ fixture.detectChanges();
+ });
+
+ it('should create', () => {
+ expect(component).toBeTruthy();
+ });
+});
diff --git a/cds-ui/designer-client/src/app/modules/shared-modules/header/header.component.ts b/cds-ui/designer-client/src/app/modules/shared-modules/header/header.component.ts
new file mode 100644
index 000000000..3ee4d0f65
--- /dev/null
+++ b/cds-ui/designer-client/src/app/modules/shared-modules/header/header.component.ts
@@ -0,0 +1,15 @@
+import { Component, OnInit } from '@angular/core';
+
+@Component({
+ selector: 'app-header',
+ templateUrl: './header.component.html',
+ styleUrls: ['./header.component.css']
+})
+export class HeaderComponent implements OnInit {
+
+ constructor() { }
+
+ ngOnInit() {
+ }
+
+}
diff --git a/cds-ui/designer-client/src/app/modules/shared-modules/shared-modules.module.ts b/cds-ui/designer-client/src/app/modules/shared-modules/shared-modules.module.ts
new file mode 100644
index 000000000..6b6d39689
--- /dev/null
+++ b/cds-ui/designer-client/src/app/modules/shared-modules/shared-modules.module.ts
@@ -0,0 +1,13 @@
+import { NgModule } from '@angular/core';
+import { CommonModule } from '@angular/common';
+import { HeaderComponent } from './header/header.component';
+
+
+
+@NgModule({
+ declarations: [HeaderComponent],
+ imports: [
+ CommonModule
+ ], exports : [HeaderComponent]
+})
+export class SharedModulesModule { }