frontend footer
This commit is contained in:
parent
f1651078e4
commit
ba6451856a
|
@ -1,2 +1,5 @@
|
||||||
<router-outlet></router-outlet>
|
<router-outlet></router-outlet>
|
||||||
<app-footer></app-footer>
|
<div class="container mt-5 text-muted text-center">
|
||||||
|
© 2018, 8bit Solutions LLC
|
||||||
|
<br> {{'versionNumber' | i18n : version}}
|
||||||
|
</div>
|
||||||
|
|
|
@ -4,12 +4,19 @@ import {
|
||||||
OnInit,
|
OnInit,
|
||||||
} from '@angular/core';
|
} from '@angular/core';
|
||||||
|
|
||||||
|
import { PlatformUtilsService } from 'jslib/abstractions/platformUtils.service';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-frontend-layout',
|
selector: 'app-frontend-layout',
|
||||||
templateUrl: 'frontend-layout.component.html',
|
templateUrl: 'frontend-layout.component.html',
|
||||||
})
|
})
|
||||||
export class FrontendLayoutComponent implements OnInit, OnDestroy {
|
export class FrontendLayoutComponent implements OnInit, OnDestroy {
|
||||||
|
version: string;
|
||||||
|
|
||||||
|
constructor(private platformUtilsService: PlatformUtilsService) { }
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
|
this.version = this.platformUtilsService.getApplicationVersion();
|
||||||
document.body.classList.add('layout_frontend');
|
document.body.classList.add('layout_frontend');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -134,6 +134,7 @@ const serve = {
|
||||||
key: fs.readFileSync('dev-server' + certSuffix + '.pem'),
|
key: fs.readFileSync('dev-server' + certSuffix + '.pem'),
|
||||||
cert: fs.readFileSync('dev-server' + certSuffix + '.pem'),
|
cert: fs.readFileSync('dev-server' + certSuffix + '.pem'),
|
||||||
},
|
},
|
||||||
|
hot: false,
|
||||||
};
|
};
|
||||||
|
|
||||||
const config = {
|
const config = {
|
||||||
|
|
Loading…
Reference in New Issue