mirror of
https://github.com/ansible/awx.git
synced 2026-05-16 13:57:39 -02:30
Reorganizes the network-ui code under awx/client/src/network-ui
* Moves network UI source to awx/client/src/network-ui * Moves network ui partials to awx/ui/client/network-ui * Renames widgets with suffix partial.svg * Updates directives to use bundled partials * Uses ~network-ui for loading UI component
This commit is contained in:
@@ -1,6 +0,0 @@
|
|||||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
|
||||||
|
|
||||||
function button () {
|
|
||||||
return { restrict: 'A', templateUrl: '/static/network_ui/widgets/button.html' };
|
|
||||||
}
|
|
||||||
exports.button = button;
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
|
||||||
|
|
||||||
function configuration () {
|
|
||||||
return { restrict: 'A', templateUrl: '/static/network_ui/widgets/configuration.html' };
|
|
||||||
}
|
|
||||||
exports.configuration = configuration;
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
|
||||||
|
|
||||||
function cursor () {
|
|
||||||
return { restrict: 'A', templateUrl: '/static/network_ui/widgets/cursor.html' };
|
|
||||||
}
|
|
||||||
exports.cursor = cursor;
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
|
||||||
|
|
||||||
function debug () {
|
|
||||||
return { restrict: 'A', templateUrl: '/static/network_ui/widgets/debug.html' };
|
|
||||||
}
|
|
||||||
|
|
||||||
exports.debug = debug;
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
|
||||||
|
|
||||||
function defaultd () {
|
|
||||||
return { restrict: 'A', templateUrl: '/static/network_ui/widgets/default.html' };
|
|
||||||
}
|
|
||||||
exports.defaultd = defaultd;
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
|
||||||
|
|
||||||
function deviceDetail () {
|
|
||||||
return { restrict: 'A', templateUrl: '/static/network_ui/widgets/device_detail.html' };
|
|
||||||
}
|
|
||||||
exports.deviceDetail = deviceDetail;
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
|
||||||
|
|
||||||
function group () {
|
|
||||||
return { restrict: 'A', templateUrl: '/static/network_ui/widgets/group.html' };
|
|
||||||
}
|
|
||||||
exports.group = group;
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
|
||||||
|
|
||||||
function host () {
|
|
||||||
return { restrict: 'A', templateUrl: '/static/network_ui/widgets/host.html' };
|
|
||||||
}
|
|
||||||
exports.host = host;
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
|
||||||
|
|
||||||
function layer () {
|
|
||||||
return { restrict: 'A', templateUrl: '/static/network_ui/widgets/layer.html' };
|
|
||||||
}
|
|
||||||
exports.layer = layer;
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
|
||||||
|
|
||||||
function link () {
|
|
||||||
return { restrict: 'A', templateUrl: '/static/network_ui/widgets/link.html' };
|
|
||||||
}
|
|
||||||
exports.link = link;
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
|
||||||
|
|
||||||
function map () {
|
|
||||||
return { restrict: 'A', templateUrl: '/static/network_ui/widgets/map.html' };
|
|
||||||
}
|
|
||||||
exports.map = map;
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
|
||||||
|
|
||||||
function awxNetworkUI () {
|
|
||||||
return { restrict: 'E', templateUrl: '/static/network_ui/widgets/network_ui.html' };
|
|
||||||
}
|
|
||||||
exports.awxNetworkUI = awxNetworkUI;
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
|
||||||
|
|
||||||
function process () {
|
|
||||||
return { restrict: 'A', templateUrl: '/static/network_ui/widgets/process.html' };
|
|
||||||
}
|
|
||||||
exports.process = process;
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
|
||||||
|
|
||||||
function quadrants () {
|
|
||||||
return { restrict: 'A', templateUrl: '/static/network_ui/widgets/quadrants.html' };
|
|
||||||
}
|
|
||||||
exports.quadrants = quadrants;
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
|
||||||
|
|
||||||
function rack () {
|
|
||||||
return { restrict: 'A', templateUrl: '/static/network_ui/widgets/rack.html' };
|
|
||||||
}
|
|
||||||
exports.rack = rack;
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
|
||||||
function rackIcon () {
|
|
||||||
return { restrict: 'A', templateUrl: '/static/network_ui/widgets/rack_icon.html' };
|
|
||||||
}
|
|
||||||
exports.rackIcon = rackIcon;
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
|
||||||
|
|
||||||
function router () {
|
|
||||||
return { restrict: 'A', templateUrl: '/static/network_ui/widgets/router.html' };
|
|
||||||
}
|
|
||||||
exports.router = router;
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
|
||||||
|
|
||||||
function site () {
|
|
||||||
return { restrict: 'A', templateUrl: '/static/network_ui/widgets/site.html' };
|
|
||||||
}
|
|
||||||
exports.site = site;
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
|
||||||
|
|
||||||
function siteIcon () {
|
|
||||||
return { restrict: 'A', templateUrl: '/static/network_ui/widgets/site_icon.html' };
|
|
||||||
}
|
|
||||||
exports.siteIcon = siteIcon;
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
|
||||||
|
|
||||||
function statusLight () {
|
|
||||||
return { restrict: 'A', templateUrl: '/static/network_ui/widgets/status_light.html' };
|
|
||||||
}
|
|
||||||
exports.statusLight = statusLight;
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
|
||||||
|
|
||||||
function stencil () {
|
|
||||||
return { restrict: 'A', templateUrl: '/static/network_ui/widgets/stencil.html' };
|
|
||||||
}
|
|
||||||
exports.stencil = stencil;
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
|
||||||
|
|
||||||
function stream () {
|
|
||||||
return { restrict: 'A', templateUrl: '/static/network_ui/widgets/stream.html' };
|
|
||||||
}
|
|
||||||
exports.stream = stream;
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
|
||||||
|
|
||||||
function switchd () {
|
|
||||||
return { restrict: 'A', templateUrl: '/static/network_ui/widgets/switch.html' };
|
|
||||||
}
|
|
||||||
exports.switchd = switchd;
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
|
||||||
|
|
||||||
function awxTablesUI () {
|
|
||||||
return { restrict: 'E', templateUrl: '/static/network_ui/widgets/tables_ui.html' };
|
|
||||||
}
|
|
||||||
exports.awxTablesUI = awxTablesUI;
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
|
||||||
|
|
||||||
function taskStatus () {
|
|
||||||
return { restrict: 'A', templateUrl: '/static/network_ui/widgets/task_status.html' };
|
|
||||||
}
|
|
||||||
exports.taskStatus = taskStatus;
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
|
||||||
|
|
||||||
function touch () {
|
|
||||||
return { restrict: 'A', templateUrl: '/static/network_ui/widgets/touch.html' };
|
|
||||||
}
|
|
||||||
exports.touch = touch;
|
|
||||||
@@ -22,6 +22,7 @@ const SRC_PATH = path.join(CLIENT_PATH, 'src');
|
|||||||
const STATIC_PATH = path.join(UI_PATH, 'static');
|
const STATIC_PATH = path.join(UI_PATH, 'static');
|
||||||
const TEST_PATH = path.join(UI_PATH, 'test');
|
const TEST_PATH = path.join(UI_PATH, 'test');
|
||||||
const THEME_PATH = path.join(LIB_PATH, 'theme');
|
const THEME_PATH = path.join(LIB_PATH, 'theme');
|
||||||
|
const NETWORK_UI_PATH = path.join(SRC_PATH, 'network-ui');
|
||||||
|
|
||||||
const APP_ENTRY = path.join(SRC_PATH, 'app.js');
|
const APP_ENTRY = path.join(SRC_PATH, 'app.js');
|
||||||
const VENDOR_ENTRY = path.join(SRC_PATH, 'vendor.js');
|
const VENDOR_ENTRY = path.join(SRC_PATH, 'vendor.js');
|
||||||
@@ -97,6 +98,15 @@ const base = {
|
|||||||
/src\//
|
/src\//
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
test: /\.svg$/,
|
||||||
|
use: ['ngtemplate-loader', 'html-loader'],
|
||||||
|
include: [
|
||||||
|
/lib\/components\//,
|
||||||
|
/features\//,
|
||||||
|
/src\//
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
test: /\.json$/,
|
test: /\.json$/,
|
||||||
loader: 'json-loader',
|
loader: 'json-loader',
|
||||||
@@ -187,6 +197,7 @@ const base = {
|
|||||||
'~test': TEST_PATH,
|
'~test': TEST_PATH,
|
||||||
'~theme': THEME_PATH,
|
'~theme': THEME_PATH,
|
||||||
'~ui': UI_PATH,
|
'~ui': UI_PATH,
|
||||||
|
'~network-ui': NETWORK_UI_PATH,
|
||||||
d3$: '~node_modules/d3/d3.min.js',
|
d3$: '~node_modules/d3/d3.min.js',
|
||||||
'codemirror.jsonlint$': '~node_modules/codemirror/addon/lint/json-lint.js',
|
'codemirror.jsonlint$': '~node_modules/codemirror/addon/lint/json-lint.js',
|
||||||
jquery: '~node_modules/jquery/dist/jquery.js',
|
jquery: '~node_modules/jquery/dist/jquery.js',
|
||||||
|
|||||||
@@ -175,4 +175,4 @@
|
|||||||
* Network Visualization Style
|
* Network Visualization Style
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@import '../../src/network_ui/style.less';
|
@import '../../src/network-ui/style.less';
|
||||||
|
|||||||
@@ -10,7 +10,6 @@ if ($basePath) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
import start from './app.start';
|
import start from './app.start';
|
||||||
// import networkUI from './../network_ui/static/network_ui/src/main.js';
|
|
||||||
import portalMode from './portal-mode/main';
|
import portalMode from './portal-mode/main';
|
||||||
import systemTracking from './system-tracking/main';
|
import systemTracking from './system-tracking/main';
|
||||||
import inventoriesHosts from './inventories-hosts/main';
|
import inventoriesHosts from './inventories-hosts/main';
|
||||||
@@ -47,7 +46,7 @@ import atLibComponents from '~components';
|
|||||||
import atLibModels from '~models';
|
import atLibModels from '~models';
|
||||||
import atLibServices from '~services';
|
import atLibServices from '~services';
|
||||||
|
|
||||||
import network_ui from './network_ui/main';
|
import networkUI from '~network-ui/main';
|
||||||
|
|
||||||
start.bootstrap(() => {
|
start.bootstrap(() => {
|
||||||
angular.bootstrap(document.body, ['awApp']);
|
angular.bootstrap(document.body, ['awApp']);
|
||||||
@@ -100,7 +99,7 @@ angular
|
|||||||
projects.name,
|
projects.name,
|
||||||
scheduler.name,
|
scheduler.name,
|
||||||
instanceGroups.name,
|
instanceGroups.name,
|
||||||
network_ui.tower.name,
|
networkUI.tower.name,
|
||||||
|
|
||||||
'Utilities',
|
'Utilities',
|
||||||
'templates',
|
'templates',
|
||||||
|
|||||||
8
awx/ui/client/src/network-ui/button.directive.js
Normal file
8
awx/ui/client/src/network-ui/button.directive.js
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||||
|
|
||||||
|
const templateUrl = require('~network-ui/button.partial.svg');
|
||||||
|
|
||||||
|
function button () {
|
||||||
|
return { restrict: 'A', templateUrl};
|
||||||
|
}
|
||||||
|
exports.button = button;
|
||||||
@@ -1,9 +1,11 @@
|
|||||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||||
|
|
||||||
|
const templateUrl = require('~network-ui/chevron_left.partial.svg');
|
||||||
|
|
||||||
function chevronLeft () {
|
function chevronLeft () {
|
||||||
return {
|
return {
|
||||||
restrict: 'A',
|
restrict: 'A',
|
||||||
templateUrl: '/static/network_ui/widgets/chevron_left.svg',
|
templateUrl,
|
||||||
scope: {
|
scope: {
|
||||||
actionIcon: '='
|
actionIcon: '='
|
||||||
}
|
}
|
||||||
@@ -1,9 +1,11 @@
|
|||||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||||
|
|
||||||
|
const templateUrl = require('~network-ui/chevron_right.partial.svg');
|
||||||
|
|
||||||
function chevronRight () {
|
function chevronRight () {
|
||||||
return {
|
return {
|
||||||
restrict: 'A',
|
restrict: 'A',
|
||||||
templateUrl: '/static/network_ui/widgets/chevron_right.svg',
|
templateUrl,
|
||||||
scope: {
|
scope: {
|
||||||
actionIcon: '='
|
actionIcon: '='
|
||||||
}
|
}
|
||||||
8
awx/ui/client/src/network-ui/configuration.directive.js
Normal file
8
awx/ui/client/src/network-ui/configuration.directive.js
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||||
|
|
||||||
|
const templateUrl = require('~network-ui/configuration.partial.svg');
|
||||||
|
|
||||||
|
function configuration () {
|
||||||
|
return { restrict: 'A', templateUrl};
|
||||||
|
}
|
||||||
|
exports.configuration = configuration;
|
||||||
@@ -1,9 +1,11 @@
|
|||||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||||
|
|
||||||
|
const templateUrl = require('~network-ui/context_menu_button.partial.svg');
|
||||||
|
|
||||||
function contextMenuButton () {
|
function contextMenuButton () {
|
||||||
return {
|
return {
|
||||||
restrict: 'A',
|
restrict: 'A',
|
||||||
templateUrl: '/static/network_ui/widgets/context_menu_button.svg',
|
templateUrl,
|
||||||
scope: {
|
scope: {
|
||||||
contextMenuButton: '=',
|
contextMenuButton: '=',
|
||||||
contextMenu: '='
|
contextMenu: '='
|
||||||
@@ -1,9 +1,11 @@
|
|||||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||||
|
|
||||||
|
const templateUrl = require('~network-ui/context_menu.partial.svg');
|
||||||
|
|
||||||
function contextMenu () {
|
function contextMenu () {
|
||||||
return {
|
return {
|
||||||
restrict: 'A',
|
restrict: 'A',
|
||||||
templateUrl: '/static/network_ui/widgets/context_menu.svg',
|
templateUrl,
|
||||||
scope: {
|
scope: {
|
||||||
contextMenu: '='
|
contextMenu: '='
|
||||||
}
|
}
|
||||||
8
awx/ui/client/src/network-ui/cursor.directive.js
Normal file
8
awx/ui/client/src/network-ui/cursor.directive.js
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||||
|
|
||||||
|
const templateUrl = require('~network-ui/cursor.partial.svg');
|
||||||
|
|
||||||
|
function cursor () {
|
||||||
|
return { restrict: 'A', templateUrl};
|
||||||
|
}
|
||||||
|
exports.cursor = cursor;
|
||||||
9
awx/ui/client/src/network-ui/debug.directive.js
Normal file
9
awx/ui/client/src/network-ui/debug.directive.js
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||||
|
|
||||||
|
const templateUrl = require('~network-ui/debug.partial.svg');
|
||||||
|
|
||||||
|
function debug () {
|
||||||
|
return { restrict: 'A', templateUrl};
|
||||||
|
}
|
||||||
|
|
||||||
|
exports.debug = debug;
|
||||||
8
awx/ui/client/src/network-ui/default.directive.js
Normal file
8
awx/ui/client/src/network-ui/default.directive.js
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||||
|
|
||||||
|
const templateUrl = require('~network-ui/default.partial.svg');
|
||||||
|
|
||||||
|
function defaultd () {
|
||||||
|
return { restrict: 'A', templateUrl};
|
||||||
|
}
|
||||||
|
exports.defaultd = defaultd;
|
||||||
8
awx/ui/client/src/network-ui/device.detail.directive.js
Normal file
8
awx/ui/client/src/network-ui/device.detail.directive.js
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||||
|
|
||||||
|
const templateUrl = require('~network-ui/device_detail.partial.svg');
|
||||||
|
|
||||||
|
function deviceDetail () {
|
||||||
|
return { restrict: 'A', templateUrl};
|
||||||
|
}
|
||||||
|
exports.deviceDetail = deviceDetail;
|
||||||
8
awx/ui/client/src/network-ui/group.directive.js
Normal file
8
awx/ui/client/src/network-ui/group.directive.js
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||||
|
|
||||||
|
const templateUrl = require('~network-ui/group.partial.svg');
|
||||||
|
|
||||||
|
function group () {
|
||||||
|
return { restrict: 'A', templateUrl};
|
||||||
|
}
|
||||||
|
exports.group = group;
|
||||||
8
awx/ui/client/src/network-ui/host.directive.js
Normal file
8
awx/ui/client/src/network-ui/host.directive.js
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||||
|
|
||||||
|
const templateUrl = require('~network-ui/host.partial.svg');
|
||||||
|
|
||||||
|
function host () {
|
||||||
|
return { restrict: 'A', templateUrl};
|
||||||
|
}
|
||||||
|
exports.host = host;
|
||||||
@@ -1,6 +1,8 @@
|
|||||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||||
|
|
||||||
|
const templateUrl = require('~network-ui/inventory_toolbox_clip_path.partial.svg');
|
||||||
|
|
||||||
function inventoryToolboxClipPath () {
|
function inventoryToolboxClipPath () {
|
||||||
return { restrict: 'A', templateUrl: '/static/network_ui/widgets/inventory_toolbox_clip_path.html' };
|
return { restrict: 'A', templateUrl};
|
||||||
}
|
}
|
||||||
exports.inventoryToolboxClipPath = inventoryToolboxClipPath;
|
exports.inventoryToolboxClipPath = inventoryToolboxClipPath;
|
||||||
@@ -1,6 +1,8 @@
|
|||||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||||
|
|
||||||
|
const templateUrl = require('~network-ui/inventory_toolbox.partial.svg');
|
||||||
|
|
||||||
function inventoryToolbox () {
|
function inventoryToolbox () {
|
||||||
return { restrict: 'A', templateUrl: '/static/network_ui/widgets/inventory_toolbox.html' };
|
return { restrict: 'A', templateUrl};
|
||||||
}
|
}
|
||||||
exports.inventoryToolbox = inventoryToolbox;
|
exports.inventoryToolbox = inventoryToolbox;
|
||||||
8
awx/ui/client/src/network-ui/layer.directive.js
Normal file
8
awx/ui/client/src/network-ui/layer.directive.js
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||||
|
|
||||||
|
const templateUrl = require('~network-ui/layer.partial.svg');
|
||||||
|
|
||||||
|
function layer () {
|
||||||
|
return { restrict: 'A', templateUrl};
|
||||||
|
}
|
||||||
|
exports.layer = layer;
|
||||||
8
awx/ui/client/src/network-ui/link.directive.js
Normal file
8
awx/ui/client/src/network-ui/link.directive.js
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||||
|
|
||||||
|
const templateUrl = require('~network-ui/link.partial.svg');
|
||||||
|
|
||||||
|
function link () {
|
||||||
|
return { restrict: 'A', templateUrl};
|
||||||
|
}
|
||||||
|
exports.link = link;
|
||||||
8
awx/ui/client/src/network-ui/map.directive.js
Normal file
8
awx/ui/client/src/network-ui/map.directive.js
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||||
|
|
||||||
|
const templateUrl = require('~network-ui/map.partial.svg');
|
||||||
|
|
||||||
|
function map () {
|
||||||
|
return { restrict: 'A', templateUrl};
|
||||||
|
}
|
||||||
|
exports.map = map;
|
||||||
8
awx/ui/client/src/network-ui/network.ui.directive.js
Normal file
8
awx/ui/client/src/network-ui/network.ui.directive.js
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||||
|
|
||||||
|
const templateUrl = require('~network-ui/network_ui.partial.svg');
|
||||||
|
|
||||||
|
function awxNetworkUI () {
|
||||||
|
return { restrict: 'E', templateUrl};
|
||||||
|
}
|
||||||
|
exports.awxNetworkUI = awxNetworkUI;
|
||||||
@@ -1,6 +1,8 @@
|
|||||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||||
|
|
||||||
|
const templateUrl = require('~network-ui/network_widgets.partial.svg');
|
||||||
|
|
||||||
function awxNetworkWidgets () {
|
function awxNetworkWidgets () {
|
||||||
return { restrict: 'E', templateUrl: '/static/network_ui/widgets/network_widgets.html' };
|
return { restrict: 'E', templateUrl};
|
||||||
}
|
}
|
||||||
exports.awxNetworkWidgets = awxNetworkWidgets;
|
exports.awxNetworkWidgets = awxNetworkWidgets;
|
||||||
8
awx/ui/client/src/network-ui/process.directive.js
Normal file
8
awx/ui/client/src/network-ui/process.directive.js
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||||
|
|
||||||
|
const templateUrl = require('~network-ui/process.partial.svg');
|
||||||
|
|
||||||
|
function process () {
|
||||||
|
return { restrict: 'A', templateUrl};
|
||||||
|
}
|
||||||
|
exports.process = process;
|
||||||
8
awx/ui/client/src/network-ui/quadrants.directive.js
Normal file
8
awx/ui/client/src/network-ui/quadrants.directive.js
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||||
|
|
||||||
|
const templateUrl = require('~network-ui/quadrants.partial.svg');
|
||||||
|
|
||||||
|
function quadrants () {
|
||||||
|
return { restrict: 'A', templateUrl};
|
||||||
|
}
|
||||||
|
exports.quadrants = quadrants;
|
||||||
8
awx/ui/client/src/network-ui/rack.directive.js
Normal file
8
awx/ui/client/src/network-ui/rack.directive.js
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||||
|
|
||||||
|
const templateUrl = require('~network-ui/rack.partial.svg');
|
||||||
|
|
||||||
|
function rack () {
|
||||||
|
return { restrict: 'A', templateUrl};
|
||||||
|
}
|
||||||
|
exports.rack = rack;
|
||||||
8
awx/ui/client/src/network-ui/rack.icon.directive.js
Normal file
8
awx/ui/client/src/network-ui/rack.icon.directive.js
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||||
|
|
||||||
|
const templateUrl = require('~network-ui/rack_icon.partial.svg');
|
||||||
|
|
||||||
|
function rackIcon () {
|
||||||
|
return { restrict: 'A', templateUrl};
|
||||||
|
}
|
||||||
|
exports.rackIcon = rackIcon;
|
||||||
8
awx/ui/client/src/network-ui/router.directive.js
Normal file
8
awx/ui/client/src/network-ui/router.directive.js
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||||
|
|
||||||
|
const templateUrl = require('~network-ui/router.partial.svg');
|
||||||
|
|
||||||
|
function router () {
|
||||||
|
return { restrict: 'A', templateUrl};
|
||||||
|
}
|
||||||
|
exports.router = router;
|
||||||
8
awx/ui/client/src/network-ui/site.directive.js
Normal file
8
awx/ui/client/src/network-ui/site.directive.js
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||||
|
|
||||||
|
const templateUrl = require('~network-ui/site.partial.svg');
|
||||||
|
|
||||||
|
function site () {
|
||||||
|
return { restrict: 'A', templateUrl};
|
||||||
|
}
|
||||||
|
exports.site = site;
|
||||||
8
awx/ui/client/src/network-ui/site.icon.directive.js
Normal file
8
awx/ui/client/src/network-ui/site.icon.directive.js
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||||
|
|
||||||
|
const templateUrl = require('~network-ui/site_icon.partial.svg');
|
||||||
|
|
||||||
|
function siteIcon () {
|
||||||
|
return { restrict: 'A', templateUrl};
|
||||||
|
}
|
||||||
|
exports.siteIcon = siteIcon;
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user