diff --git a/web/src/app/app.component.scss b/web/src/app/app.component.scss
index 03da8ab15..e69de29bb 100644
--- a/web/src/app/app.component.scss
+++ b/web/src/app/app.component.scss
@@ -1,63 +0,0 @@
-svg-icon.logo {
- float: left;
- width: 55px;
- height: 55px;
- margin: 0px 15px;
- fill:white
-}
-
-.logo-container {
- padding-left: 0px;
-}
-
-p.navbar-brand >a{
- text-decoration: none;
- color: #9d9d9d;
- &:hover {
- color: white;
- }
-}
-
-/*
- * All side bar links styling.
-*/
-.nav-sidebar > li > a {
- padding-right: 20px;
- padding-left: 20px;
-}
-
-.nav-sidebar > .active > a,
-.nav-sidebar > .active > a:hover,
-.nav-sidebar > .active > a:focus {
- color: #fff;
- background-color: #428bca;
-}
-
-
-.nav.nav-tabs {
- & > li {
- & > a{
- min-height: 56px;
- padding-top: 17px;
- }
-
- &:first-child > a{
- border-left: none;
- }
- }
- & > p{
- margin: 0px;
- }
-}
-
-.navbar-brand {
- float: none;
-}
-
-.navbar-inverse {
- border: none;
-}
-
-.navbar {
- margin-bottom: 0px;
-}
diff --git a/web/src/app/app.component.spec.ts b/web/src/app/app.component.spec.ts
index 52532b714..adb2be4c3 100644
--- a/web/src/app/app.component.spec.ts
+++ b/web/src/app/app.component.spec.ts
@@ -14,6 +14,7 @@ import { SelectedRouteService } from './services/selected-route/selected-route';
import { GeneralMessageModalComponent } from './shared/general-message-modal/general-message-modal.component'
import { SpinnerComponent } from './shared/spinner/spinner.component'
import { AlertComponent } from './shared/alert/alert.component';
+import { NavBarComponent } from './shared/nav-bar/nav-bar.component';
describe('AppComponent', () => {
@@ -27,7 +28,7 @@ describe('AppComponent', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [
- AppComponent, GeneralMessageModalComponent, SpinnerComponent, AlertComponent
+ AppComponent, GeneralMessageModalComponent, SpinnerComponent, AlertComponent, NavBarComponent
],
imports: [
AngularSvgIconModule,
@@ -51,9 +52,6 @@ describe('AppComponent', () => {
expect(app).toBeTruthy();
}));
- it(`should have as title 'Taskana administration'`, (() => {
- expect(app.title).toEqual('Taskana administration');
- }));
it('should render title in a
tag', (() => {
fixture.detectChanges();
diff --git a/web/src/app/app.component.ts b/web/src/app/app.component.ts
index c7eba7cfd..55ec5f4d5 100644
--- a/web/src/app/app.component.ts
+++ b/web/src/app/app.component.ts
@@ -1,5 +1,4 @@
import { Component, OnInit, HostListener, OnDestroy } from '@angular/core';
-import { environment } from '../environments/environment';
import { Router, NavigationStart } from '@angular/router';
import { Subscription } from 'rxjs/Subscription';
@@ -16,11 +15,7 @@ import { SelectedRouteService } from './services/selected-route/selected-route';
styleUrls: ['./app.component.scss']
})
export class AppComponent implements OnInit, OnDestroy {
- title = 'Taskana administration';
- adminUrl: string = environment.taskanaAdminUrl;
- monitorUrl: string = environment.taskanaMonitorUrl;
- workplaceUrl: string = environment.taskanaWorkplaceUrl;
workbasketsRoute = true;
modalErrorMessage = '';
diff --git a/web/src/app/app.module.ts b/web/src/app/app.module.ts
index 8de914b1b..492890c0b 100644
--- a/web/src/app/app.module.ts
+++ b/web/src/app/app.module.ts
@@ -37,6 +37,7 @@ import { ImportExportComponent } from './shared/import-export/import-export.comp
import { MasterAndDetailComponent } from './shared/master-and-detail/master-and-detail.component';
import { ClassificationTypesSelectorComponent } from './shared/classification-types-selector/classification-types-selector.component';
import { TaskanaTreeComponent } from './shared/tree/tree.component';
+import { NavBarComponent } from './shared/nav-bar/nav-bar.component';
/**
* Services
@@ -100,6 +101,7 @@ const DECLARATIONS = [
TaskanaTreeComponent,
ClassificationTypesSelectorComponent,
ClassificationDetailsComponent,
+ NavBarComponent,
MapValuesPipe,
RemoveNoneTypePipe,
SelectWorkBasketPipe,
diff --git a/web/src/app/shared/import-export/import-export.component.html b/web/src/app/shared/import-export/import-export.component.html
index aad06e0e5..edceeaff4 100644
--- a/web/src/app/shared/import-export/import-export.component.html
+++ b/web/src/app/shared/import-export/import-export.component.html
@@ -1,10 +1,12 @@
-
+