From 359ae161a7a6be3f99ca0d5d9df8393c21871b93 Mon Sep 17 00:00:00 2001 From: Anthony Yeh Date: Tue, 28 Jun 2016 18:32:34 -0700 Subject: [PATCH] vtctld2: Rename TopoComponent to TopoBrowserComponent. --- web/vtctld2/src/app/app.routes.ts | 4 ++-- ...topo.component.css => topo-browser.component.css} | 0 ...po.component.html => topo-browser.component.html} | 0 web/vtctld2/src/app/topo/topo-browser.component.ts | 11 +++++++++++ web/vtctld2/src/app/topo/topo.component.ts | 12 ------------ 5 files changed, 13 insertions(+), 14 deletions(-) rename web/vtctld2/src/app/topo/{topo.component.css => topo-browser.component.css} (100%) rename web/vtctld2/src/app/topo/{topo.component.html => topo-browser.component.html} (100%) create mode 100644 web/vtctld2/src/app/topo/topo-browser.component.ts delete mode 100644 web/vtctld2/src/app/topo/topo.component.ts diff --git a/web/vtctld2/src/app/app.routes.ts b/web/vtctld2/src/app/app.routes.ts index 9379b9e042..8df90b4f9b 100644 --- a/web/vtctld2/src/app/app.routes.ts +++ b/web/vtctld2/src/app/app.routes.ts @@ -2,14 +2,14 @@ import { provideRouter, RouterConfig } from '@angular/router'; import { DashboardComponent } from './dashboard/dashboard.component' import { StatusComponent } from './status/status.component' import { SchemaComponent } from './schema/schema.component' -import { TopoComponent } from './topo/topo.component' +import { TopoBrowserComponent } from './topo/topo-browser.component' export const routes: RouterConfig = [ { path: '', component: DashboardComponent}, { path: 'dashboard', component: DashboardComponent}, { path: 'status', component: StatusComponent}, { path: 'schema', component: SchemaComponent}, - { path: 'topo', component: TopoComponent}, + { path: 'topo', component: TopoBrowserComponent}, ]; export const APP_ROUTER_PROVIDERS = [ diff --git a/web/vtctld2/src/app/topo/topo.component.css b/web/vtctld2/src/app/topo/topo-browser.component.css similarity index 100% rename from web/vtctld2/src/app/topo/topo.component.css rename to web/vtctld2/src/app/topo/topo-browser.component.css diff --git a/web/vtctld2/src/app/topo/topo.component.html b/web/vtctld2/src/app/topo/topo-browser.component.html similarity index 100% rename from web/vtctld2/src/app/topo/topo.component.html rename to web/vtctld2/src/app/topo/topo-browser.component.html diff --git a/web/vtctld2/src/app/topo/topo-browser.component.ts b/web/vtctld2/src/app/topo/topo-browser.component.ts new file mode 100644 index 0000000000..2e00cf8d74 --- /dev/null +++ b/web/vtctld2/src/app/topo/topo-browser.component.ts @@ -0,0 +1,11 @@ +import { Component } from '@angular/core'; + +@Component({ + moduleId: module.id, + selector: 'vt-topo', + templateUrl: './topo-browser.component.html', + styleUrls: ['./topo-browser.component.css'], +}) +export class TopoBrowserComponent { + title = 'Topology Browser'; +} diff --git a/web/vtctld2/src/app/topo/topo.component.ts b/web/vtctld2/src/app/topo/topo.component.ts deleted file mode 100644 index 07aa2c6638..0000000000 --- a/web/vtctld2/src/app/topo/topo.component.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Component } from '@angular/core'; - - -@Component({ - moduleId: module.id, - selector: 'vt-topo', - templateUrl: './topo.component.html', - styleUrls: ['./topo.component.css'], -}) -export class TopoComponent { - title = 'Vitess Control Panel'; -}