summaryrefslogtreecommitdiffstats
path: root/cds-ui/designer-client/src/app/modules/shared-modules/header
diff options
context:
space:
mode:
Diffstat (limited to 'cds-ui/designer-client/src/app/modules/shared-modules/header')
-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
4 files changed, 124 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() {
+ }
+
+}