accountant-ui/src/app.component.ts

24 lines
544 B
TypeScript
Raw Normal View History

2017-08-01 23:09:21 +02:00
// vim: set tw=80 ts=2 sw=2 sts=2 :
import { Component } from '@angular/core';
@Component({
selector: 'accountant',
styles: [ require('./main.scss').toString() ],
2017-08-01 23:09:21 +02:00
template: `
<md-toolbar class="mat-elevation-z6" color="primary">
2017-09-16 19:47:07 +02:00
<div class="acc-toolbar">
<a md-button style="text-transform: uppercase"
routerLink="/accounts">
Accountant
</a>
</div>
</md-toolbar>
2017-08-01 23:09:21 +02:00
2017-09-16 19:47:07 +02:00
<div class="acc-content">
<router-outlet></router-outlet>
</div>
2017-08-01 23:09:21 +02:00
`
})
export class AppComponent { }