зеркало из https://github.com/github/vitess-gh.git
removed comments and changed selectors to be unique
This commit is contained in:
Родитель
ffc24611e2
Коммит
f88d791df9
|
@ -4,9 +4,6 @@ import { StatusComponent } from './status/status.component'
|
|||
import { SchemaComponent } from './schema/schema.component'
|
||||
import { TopoComponent } from './topo/topo.component'
|
||||
|
||||
//import { CrisisListComponent } from './crisis-list.component';
|
||||
//import { HeroListComponent } from './hero-list.component';
|
||||
|
||||
export const routes: RouterConfig = [
|
||||
{ path: '', component: DashboardComponent},
|
||||
{ path: 'dashboard', component: DashboardComponent},
|
||||
|
|
|
@ -3,10 +3,11 @@ import { Component } from '@angular/core';
|
|||
|
||||
@Component({
|
||||
moduleId: module.id,
|
||||
selector: 'dashboard',
|
||||
selector: 'vt-dashboard',
|
||||
templateUrl: './dashboard.component.html',
|
||||
styleUrls: ['./dashboard.component.css'],
|
||||
})
|
||||
export class DashboardComponent {
|
||||
title = 'Vitess Control Panel';
|
||||
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@ import { Component } from '@angular/core';
|
|||
|
||||
@Component({
|
||||
moduleId: module.id,
|
||||
selector: 'schema',
|
||||
selector: 'vt-schema',
|
||||
templateUrl: './schema.component.html',
|
||||
styleUrls: ['./schema.component.css'],
|
||||
})
|
||||
|
|
|
@ -3,7 +3,7 @@ import { Component } from '@angular/core';
|
|||
|
||||
@Component({
|
||||
moduleId: module.id,
|
||||
selector: 'status',
|
||||
selector: 'vt-status',
|
||||
templateUrl: './status.component.html',
|
||||
styleUrls: ['./status.component.css'],
|
||||
})
|
||||
|
|
|
@ -3,7 +3,7 @@ import { Component } from '@angular/core';
|
|||
|
||||
@Component({
|
||||
moduleId: module.id,
|
||||
selector: 'topo',
|
||||
selector: 'vt-topo',
|
||||
templateUrl: './topo.component.html',
|
||||
styleUrls: ['./topo.component.css'],
|
||||
})
|
||||
|
|
Загрузка…
Ссылка в новой задаче