Structural refactoring (#68)

* Moved html in scss to separate files
* Moved components to designated folders
* Moved logic from html to ts
This commit is contained in:
Nejc Zdovc
2016-07-15 19:23:24 +02:00
committed by József Farkas
parent 036c2d0a70
commit baaec669e0
69 changed files with 834 additions and 821 deletions

View File

@@ -0,0 +1,25 @@
import { Component, OnInit } from '@angular/core';
import { KeyActionSaver } from '../../key-action-saver';
import { NoneAction } from '../../../../../config-serializer/config-items/NoneAction';
@Component({
moduleId: module.id,
selector: 'none-tab',
template: require('./none-tab.component.html'),
styles: [require('./none-tab.component.scss')]
})
export class NoneTabComponent implements OnInit, KeyActionSaver {
constructor() { }
ngOnInit() { }
keyActionValid(): boolean {
return true;
}
toKeyAction(): NoneAction {
return new NoneAction();
}
}