diff --git a/application-settings.js b/application-settings.js index ed60553041..2df07644ed 100644 --- a/application-settings.js +++ b/application-settings.js @@ -11,7 +11,6 @@ module.exports = { common: '/common', dialogEditor: '/dialog-editor', gtl: '/gtl', - siteSwitcher: '/site-switcher', fonticonPicker: '/fonticon-picker', dialogs: '/dialog-user', quadicon: '/quadicon', diff --git a/demo/controllers/index.ts b/demo/controllers/index.ts index 1669c0b350..66a4d7da4a 100644 --- a/demo/controllers/index.ts +++ b/demo/controllers/index.ts @@ -1,7 +1,6 @@ import AvailableComponentsController from './availableComponentsController'; import ToolbarMenuController from './toolbarMenuController'; import DataTableController from './dataTableController'; -import SiteSwitcherController from './siteSwitcherController'; import FonticonPickerController from './fonticonPickerController'; import DialogUserController from './dialogUserController'; import DialogEditorController from './dialogEditorController'; @@ -14,7 +13,6 @@ export default (module: ng.IModule) => { module.controller('demoAvailableComponents', AvailableComponentsController); module.controller('demoToolbarMenu', ToolbarMenuController); module.controller('demoDataTable', DataTableController); - module.controller('demoSiteSwitcher', SiteSwitcherController); module.controller('demoFonticonPicker', FonticonPickerController); module.controller('demoDialogUser', DialogUserController); module.controller('demoDialogEditor', DialogEditorController); diff --git a/demo/controllers/siteSwitcherController.ts b/demo/controllers/siteSwitcherController.ts deleted file mode 100644 index 256db0f133..0000000000 --- a/demo/controllers/siteSwitcherController.ts +++ /dev/null @@ -1,29 +0,0 @@ -import {ComponentDemo} from '../services/availableComponentBuilder'; -@ComponentDemo({ - name: 'basic', - title: 'Site switcher', - template: require('./../views/site-switcher/basic.html'), - group: 'site-switcher', - controller: 'demoSiteSwitcher as vm' -}) -export default class SiteSwitcherController { - public sites: any; - constructor() { - this.sites = [{ - title: 'Operations UI', - tooltip: 'Launch Operations UI', - iconClass: 'fa-cogs', - url: 'http://www.google.com' - }, { - title: 'Service UI', - tooltip: 'Launch Service UI', - iconClass: 'fa-cog', - url: 'http://www.cnn.com' - }, { - title: 'Home', - tooltip: 'Home', - iconClass: 'fa-home', - url: 'http://www.redhat.com' - }]; - } -} diff --git a/demo/services/availableComponentsService.ts b/demo/services/availableComponentsService.ts index 4337a611b8..883f0ae978 100644 --- a/demo/services/availableComponentsService.ts +++ b/demo/services/availableComponentsService.ts @@ -45,7 +45,6 @@ export default class AvailableComponentsService { new AvailableGroup('toolbar-menu', 'Toolbar Menu Components', '/toolbar-menu', []), new AvailableGroup('tile-menu', 'Tile Components', '/tile-view', []), new AvailableGroup('data-table', 'Data table Components', '/data-table', []), - new AvailableGroup('site-switcher', 'Site Switcher Components', '/site-switcher', []), new AvailableGroup('fonticon-picker', 'Fonticon Picker Components', '/fonticon-picker', []), new AvailableGroup('dialog', 'Dialog Components', '/dialog', []), new AvailableGroup('tree-view', 'Tree Components', '/tree', []), diff --git a/demo/styles/demo-app.scss b/demo/styles/demo-app.scss index 39b1c35025..31e46cde02 100644 --- a/demo/styles/demo-app.scss +++ b/demo/styles/demo-app.scss @@ -36,14 +36,6 @@ table .narrow { white-space: nowrap; } -.switcher-banner { - color: white; - background-color: #2b2b2b; - width: 100%; - height: 30px; - padding-left: 15px; - padding-right: 15px; -} .demo-dialog-container { height: 550px; } diff --git a/demo/views/site-switcher/basic.html b/demo/views/site-switcher/basic.html deleted file mode 100644 index 8ef0a1a159..0000000000 --- a/demo/views/site-switcher/basic.html +++ /dev/null @@ -1,6 +0,0 @@ -
diff --git a/src/index.ts b/src/index.ts index d18890ddff..f6850b7b2f 100644 --- a/src/index.ts +++ b/src/index.ts @@ -7,7 +7,6 @@ module miqStaticAssets { 'miqStaticAssets.dialogEditor', 'miqStaticAssets.dialogUser', 'miqStaticAssets.gtl', - 'miqStaticAssets.siteSwitcher', 'miqStaticAssets.fonticonPicker', 'miqStaticAssets.quadicon', 'miqStaticAssets.treeView', diff --git a/src/site-switcher/index.ts b/src/site-switcher/index.ts deleted file mode 100644 index 950c2a877c..0000000000 --- a/src/site-switcher/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -import SiteSwitcher from './siteSwitcherComponent'; -import * as angular from 'angular'; -module siteSwitcher { - export const app = angular.module('miqStaticAssets.siteSwitcher', []); - app.component('miqSiteSwitcher', new SiteSwitcher); -} diff --git a/src/site-switcher/site-switcher.html b/src/site-switcher/site-switcher.html deleted file mode 100644 index b2ec3a8dfd..0000000000 --- a/src/site-switcher/site-switcher.html +++ /dev/null @@ -1,13 +0,0 @@ -