Issue 388 - Device node (#397)

* Issue 388 - Device node (first version before review) (#388)

* fix: style linting issues

* review: revert the same padding size of the level 1 components on the sidebar

* feat(uhk-icon): Create uhk-icon set and fix USB device icon visibility in electron

* style: Use semicolon in js files
This commit is contained in:
Attila Csanyi
2017-09-10 22:56:03 +02:00
committed by László Monda
parent accdf5facd
commit c135aed7c9
65 changed files with 252 additions and 90 deletions

View File

@@ -0,0 +1,15 @@
import { Routes } from '@angular/router';
import { DeviceSettingsComponent } from './settings/device-settings.component';
export const deviceRoutes: Routes = [
{
path: '',
redirectTo: 'device',
pathMatch: 'full'
},
{
path: 'device/settings',
component: DeviceSettingsComponent
}
];

View File

@@ -0,0 +1,2 @@
export * from './settings/device-settings.component';
export * from './device.routes';

View File

@@ -0,0 +1,4 @@
<h1>
<i class="fa fa-cog"></i>
<span>Device settings...</span>
</h1>

View File

@@ -0,0 +1,5 @@
:host {
overflow-y: auto;
display: block;
height: 100%;
}

View File

@@ -0,0 +1,15 @@
import { Component } from '@angular/core';
@Component({
selector: 'device-settings',
templateUrl: './device-settings.component.html',
styleUrls: ['./device-settings.component.scss'],
host: {
'class': 'container-fluid'
}
})
export class DeviceSettingsComponent {
constructor() {}
}