backend logs
This commit is contained in:
2
dist/qmi-cloud/index.html
vendored
2
dist/qmi-cloud/index.html
vendored
@@ -9,5 +9,5 @@
|
||||
<link rel="stylesheet" href="styles.b2e9059fb6aa834811ea.css"></head>
|
||||
<body>
|
||||
<app-root></app-root>
|
||||
<script src="runtime.c51bd5b1c616d9ffddc1.js" defer></script><script src="polyfills-es5.6fef7e679f78bcc42760.js" nomodule defer></script><script src="polyfills.51f5cc3d1309de3a873d.js" defer></script><script src="scripts.1af868998801499c8755.js" defer></script><script src="main.66ca4cf903297242998a.js" defer></script></body>
|
||||
<script src="runtime.c51bd5b1c616d9ffddc1.js" defer></script><script src="polyfills-es5.6fef7e679f78bcc42760.js" nomodule defer></script><script src="polyfills.51f5cc3d1309de3a873d.js" defer></script><script src="scripts.1af868998801499c8755.js" defer></script><script src="main.a890fbb7bec869eb973c.js" defer></script></body>
|
||||
</html>
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -6,15 +6,13 @@ import { StatsComponent } from './stats/stats.component';
|
||||
import { HomeComponent } from './home/home.component';
|
||||
import { AuthGuard } from './services/auth.guard';
|
||||
import { FaqComponent } from './faq/faq.component';
|
||||
import { BackendLogsComponent } from './backendlogs/backendlogs.component';
|
||||
|
||||
const routes: Routes = [
|
||||
{ path: 'home', component: HomeComponent},
|
||||
{ path: 'faq', component: FaqComponent},
|
||||
{ path: 'provisions', component: ProvisionsComponent, canActivate: [AuthGuard]},
|
||||
{ path: 'admin', component: AdminComponent, canActivate: [AuthGuard]},
|
||||
{ path: 'stats', component: StatsComponent, canActivate: [AuthGuard]},
|
||||
{ path: 'logs', component: BackendLogsComponent, canActivate: [AuthGuard]},
|
||||
{ path: 'stats', component: StatsComponent, canActivate: [AuthGuard]},
|
||||
{ path: '',
|
||||
redirectTo: '/home',
|
||||
pathMatch: 'full'
|
||||
|
||||
@@ -45,8 +45,6 @@ import { StatsComponent } from './stats/stats.component';
|
||||
//import { QdtComponentComponent } from './qdt-components/qdt-components.component';
|
||||
import { ProvisionModalComponent } from './modals/edit-provision.component';
|
||||
import { NgbModule } from '@ng-bootstrap/ng-bootstrap';
|
||||
import { BackendLogsComponent } from './backendlogs/backendlogs.component';
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -90,7 +88,6 @@ export function markedOptions(): MarkedOptions {
|
||||
StatsComponent,
|
||||
//QdtComponentComponent,
|
||||
ProvisionModalComponent,
|
||||
BackendLogsComponent
|
||||
],
|
||||
imports: [
|
||||
BrowserModule,
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
<div style="margin-top: 80px;">
|
||||
<!-- loaded from remote url -->
|
||||
<h4>Backend services logs (VPN is needed)</h4>
|
||||
<iframe src="http://172.20.16.4:8888/" width="100%" height="600px" onload="resizeIframe(this)"></iframe>
|
||||
</div>
|
||||
@@ -1,15 +0,0 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-backendlogs-component',
|
||||
templateUrl: './backendlogs.component.html',
|
||||
styleUrls: ['./backendlogs.component.scss']
|
||||
})
|
||||
export class BackendLogsComponent implements OnInit {
|
||||
|
||||
constructor() { }
|
||||
|
||||
ngOnInit(): void {
|
||||
}
|
||||
|
||||
}
|
||||
@@ -5,7 +5,7 @@
|
||||
<a class="nav-item nav-link" routerLink="/home" routerLinkActive="active">Home</a>
|
||||
<a *ngIf="user" class="nav-item nav-link" routerLink="/provisions" routerLinkActive="active">Provisions</a>
|
||||
<a *ngIf="user && (user.role === 'admin' || user.role === 'superadmin')" class="nav-item nav-link" routerLink="/admin" routerLinkActive="active">Admin</a>
|
||||
<a *ngIf="user && (user.role === 'admin' || user.role === 'superadmin')" class="nav-item nav-link" routerLink="/logs" routerLinkActive="active">Backend Logs</a>
|
||||
<a *ngIf="user && (user.role === 'admin' || user.role === 'superadmin')" class="nav-item nav-link" href="http://172.20.16.4:8888/" target="blank">Backend Logs</a>
|
||||
<!--<a *ngIf="user" class="nav-item nav-link" routerLink="/stats" routerLinkActive="active">Stats</a>-->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user