mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 02:50:02 -03:30
Adds Red Hat copyright notice
This commit is contained in:
parent
2a8ced5a5d
commit
2713ec2dd5
@ -0,0 +1,2 @@
|
||||
# Copyright (c) 2017 Red Hat, Inc
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
# Copyright (c) 2017 Red Hat, Inc
|
||||
from django.contrib import admin
|
||||
|
||||
from awx.network_ui.models import Device
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
# Copyright (c) 2017 Red Hat, Inc
|
||||
# In consumers.py
|
||||
from channels import Group, Channel
|
||||
from channels.sessions import channel_session
|
||||
|
||||
@ -0,0 +1,2 @@
|
||||
# Copyright (c) 2017 Red Hat, Inc
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
# Copyright (c) 2017 Red Hat, Inc
|
||||
from django.core.management.base import BaseCommand
|
||||
from awx.network_ui.models import Topology, Device, Link, Interface
|
||||
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
# Copyright (c) 2017 Red Hat, Inc
|
||||
from django.core.management.base import BaseCommand
|
||||
from awx.network_ui.models import Topology, Device, Link
|
||||
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
# Copyright (c) 2017 Red Hat, Inc
|
||||
from django.core.management.base import BaseCommand
|
||||
|
||||
from awx.network_ui.serializers import yaml_serialize_topology
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
# Copyright (c) 2017 Red Hat, Inc
|
||||
|
||||
|
||||
from django.core.management.base import BaseCommand
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
# Copyright (c) 2017 Red Hat, Inc
|
||||
from django.core.management.base import BaseCommand
|
||||
|
||||
from websocket import create_connection
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
# Copyright (c) 2017 Red Hat, Inc
|
||||
from django.core.management.base import BaseCommand
|
||||
import unittest
|
||||
from websocket import create_connection
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
# Copyright (c) 2017 Red Hat, Inc
|
||||
|
||||
|
||||
from collections import namedtuple
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
# Copyright (c) 2017 Red Hat, Inc
|
||||
from django.db import models
|
||||
|
||||
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
# Copyright (c) 2017 Red Hat, Inc
|
||||
from channels.routing import route
|
||||
from awx.network_ui.consumers import ws_connect, ws_message, ws_disconnect, console_printer, persistence, discovery
|
||||
from awx.network_ui.consumers import ansible_connect, ansible_message, ansible_disconnect
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
# Copyright (c) 2017 Red Hat, Inc
|
||||
|
||||
from awx.network_ui.models import Topology, Device, Link, Interface, Group, GroupDevice, Process, Stream
|
||||
from django.db.models import Q
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||
|
||||
function button () {
|
||||
return { restrict: 'A', templateUrl: '/static/network_ui/widgets/button.html' };
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||
var inherits = require('inherits');
|
||||
var fsm = require('./fsm.js');
|
||||
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||
var inherits = require('inherits');
|
||||
var fsm = require('./fsm.js');
|
||||
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||
|
||||
function configuration () {
|
||||
return { restrict: 'A', templateUrl: '/static/network_ui/widgets/configuration.html' };
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||
|
||||
function cursor () {
|
||||
return { restrict: 'A', templateUrl: '/static/network_ui/widgets/cursor.html' };
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||
|
||||
function debug () {
|
||||
return { restrict: 'A', templateUrl: '/static/network_ui/widgets/debug.html' };
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||
|
||||
function defaultd () {
|
||||
return { restrict: 'A', templateUrl: '/static/network_ui/widgets/default.html' };
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||
|
||||
function deviceDetail () {
|
||||
return { restrict: 'A', templateUrl: '/static/network_ui/widgets/device_detail.html' };
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||
var inherits = require('inherits');
|
||||
var fsm = require('./fsm.js');
|
||||
var models = require('./models.js');
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||
function FSMController (scope, initial_state, next_controller) {
|
||||
this.scope = scope;
|
||||
this.state = initial_state;
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||
|
||||
function group () {
|
||||
return { restrict: 'A', templateUrl: '/static/network_ui/widgets/group.html' };
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||
var inherits = require('inherits');
|
||||
var fsm = require('./fsm.js');
|
||||
var models = require('./models.js');
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||
|
||||
function host () {
|
||||
return { restrict: 'A', templateUrl: '/static/network_ui/widgets/host.html' };
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||
var inherits = require('inherits');
|
||||
var fsm = require('./fsm.js');
|
||||
var messages = require('./messages.js');
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||
|
||||
function inventoryToolboxClipPath () {
|
||||
return { restrict: 'A', templateUrl: '/static/network_ui/widgets/inventory_toolbox_clip_path.html' };
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||
|
||||
function inventoryToolbox () {
|
||||
return { restrict: 'A', templateUrl: '/static/network_ui/widgets/inventory_toolbox.html' };
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||
|
||||
function layer () {
|
||||
return { restrict: 'A', templateUrl: '/static/network_ui/widgets/layer.html' };
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||
|
||||
function link () {
|
||||
return { restrict: 'A', templateUrl: '/static/network_ui/widgets/link.html' };
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||
var inherits = require('inherits');
|
||||
var fsm = require('./fsm.js');
|
||||
var models = require('./models.js');
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||
var networkUI = require('./network.ui.app.js');
|
||||
var networkWidgets = require('./network.widgets.app.js');
|
||||
var tablesUI = require('./tables.ui.app.js');
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||
|
||||
function map () {
|
||||
return { restrict: 'A', templateUrl: '/static/network_ui/widgets/map.html' };
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||
|
||||
|
||||
function serialize(message) {
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||
var inherits = require('inherits');
|
||||
var fsm = require('./fsm.js');
|
||||
var move = require('./move.js');
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||
var fsm = require('./fsm.js');
|
||||
var button = require('./button.js');
|
||||
var util = require('./util.js');
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||
var inherits = require('inherits');
|
||||
var fsm = require('./fsm.js');
|
||||
var models = require('./models.js');
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||
|
||||
//console.log = function () { };
|
||||
var angular = require('angular');
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||
var angular = require('angular');
|
||||
var fsm = require('./fsm.js');
|
||||
var null_fsm = require('./null.fsm.js');
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||
|
||||
function awxNetworkUI () {
|
||||
return { restrict: 'E', templateUrl: '/static/network_ui/widgets/network_ui.html' };
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||
|
||||
//console.log = function () { };
|
||||
var angular = require('angular');
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||
// This is not production code. It is a development environment for UI widgets.
|
||||
// Do not refactor this code with the production code in network.ui.controller.js
|
||||
// This code is separate so that it can be broken without breaking the main UI code.
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||
|
||||
function awxNetworkWidgets () {
|
||||
return { restrict: 'E', templateUrl: '/static/network_ui/widgets/network_widgets.html' };
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||
var inherits = require('inherits');
|
||||
var fsm = require('./fsm.js');
|
||||
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||
|
||||
function process () {
|
||||
return { restrict: 'A', templateUrl: '/static/network_ui/widgets/process.html' };
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||
|
||||
function quadrants () {
|
||||
return { restrict: 'A', templateUrl: '/static/network_ui/widgets/quadrants.html' };
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||
|
||||
function rack () {
|
||||
return { restrict: 'A', templateUrl: '/static/network_ui/widgets/rack.html' };
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||
var inherits = require('inherits');
|
||||
var fsm = require('./fsm.js');
|
||||
var models = require('./models.js');
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
|
||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||
function rackIcon () {
|
||||
return { restrict: 'A', templateUrl: '/static/network_ui/widgets/rack_icon.html' };
|
||||
}
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||
|
||||
function router () {
|
||||
return { restrict: 'A', templateUrl: '/static/network_ui/widgets/router.html' };
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||
|
||||
function site () {
|
||||
return { restrict: 'A', templateUrl: '/static/network_ui/widgets/site.html' };
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||
var inherits = require('inherits');
|
||||
var fsm = require('./fsm.js');
|
||||
var models = require('./models.js');
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||
|
||||
function siteIcon () {
|
||||
return { restrict: 'A', templateUrl: '/static/network_ui/widgets/site_icon.html' };
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||
|
||||
function statusLight () {
|
||||
return { restrict: 'A', templateUrl: '/static/network_ui/widgets/status_light.html' };
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||
|
||||
function stencil () {
|
||||
return { restrict: 'A', templateUrl: '/static/network_ui/widgets/stencil.html' };
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||
|
||||
function stream () {
|
||||
return { restrict: 'A', templateUrl: '/static/network_ui/widgets/stream.html' };
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||
var inherits = require('inherits');
|
||||
var fsm = require('./fsm.js');
|
||||
var models = require('./models.js');
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||
|
||||
@font-face {
|
||||
font-family: 'Open Sans';
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||
|
||||
function switchd () {
|
||||
return { restrict: 'A', templateUrl: '/static/network_ui/widgets/switch.html' };
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||
|
||||
//console.log = function () { };
|
||||
var angular = require('angular');
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||
|
||||
var util = require('./util.js');
|
||||
var messages = require('./messages.js');
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||
|
||||
function awxTablesUI () {
|
||||
return { restrict: 'E', templateUrl: '/static/network_ui/widgets/tables_ui.html' };
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||
|
||||
function taskStatus () {
|
||||
return { restrict: 'A', templateUrl: '/static/network_ui/widgets/task_status.html' };
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||
var inherits = require('inherits');
|
||||
var fsm = require('./fsm.js');
|
||||
var messages = require('./messages.js');
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||
var inherits = require('inherits');
|
||||
var fsm = require('./fsm.js');
|
||||
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||
|
||||
function touch () {
|
||||
return { restrict: 'A', templateUrl: '/static/network_ui/widgets/touch.html' };
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||
|
||||
var angular = require('angular');
|
||||
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||
Array.prototype.extend = function (other_array) {
|
||||
/* you should include a test to check whether other_array really is an array */
|
||||
var i = 0;
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
/* Copyright (c) 2017 Red Hat, Inc. */
|
||||
var inherits = require('inherits');
|
||||
var fsm = require('./fsm.js');
|
||||
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
# Copyright (c) 2017 Red Hat, Inc
|
||||
|
||||
"""
|
||||
Usage:
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
# Copyright (c) 2017 Red Hat, Inc
|
||||
|
||||
"""
|
||||
Usage:
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
<!-- Copyright (c) 2017 Red Hat, Inc. -->
|
||||
|
||||
|
||||
<rect ng-attr-class="{{button.is_pressed ? 'NetworkUI__button--button-pressed' : button.mouse_over ? 'NetworkUI__button--button-hover' : 'NetworkUI__button'}}"
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
<!-- Copyright (c) 2017 Red Hat, Inc. -->
|
||||
<g ng-attr-transform="translate({{item.x}}, {{item.y}}">
|
||||
<path d="M100,100 h200 a20,20 0 0 1 20,20 v200 a20,20 0 0 1 -20,20 h-200 a20,20 0 0 1 -20,-20 v-200 a20,20 0 0 1 20,-20 z" fill="none" stroke="black" stroke-width="3" />
|
||||
</g>
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
<!-- Copyright (c) 2017 Red Hat, Inc. -->
|
||||
<g ng-attr-transform="translate({{cursor.x}},{{cursor.y}})" ng-attr-class="{{cursor.hidden && 'NetworkUI--hidden' || ''}}" >
|
||||
<line x1="-15" y1="0" x2="15" y2="0" class="NetworkUI__cursor"/>
|
||||
<line x1="0" y1="-15" x2="0" y2="15" class="NetworkUI__cursor"/>
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
<!-- Copyright (c) 2017 Red Hat, Inc. -->
|
||||
|
||||
|
||||
<g ng-attr-class="{{debug.hidden && 'NetworkUI--hidden' || ''}}">
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
<!-- Copyright (c) 2017 Red Hat, Inc. -->
|
||||
|
||||
|
||||
<g ng-if="item.moving">
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
<!-- Copyright (c) 2017 Red Hat, Inc. -->
|
||||
|
||||
<g ng-attr-transform="scale({{1/5}}) translate(-250,-250)">
|
||||
<rect width=500
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
<!-- Copyright (c) 2017 Red Hat, Inc. -->
|
||||
<g ng-if="!hide_groups || item.type == 'site'">
|
||||
<g ng-if="current_scale < 5">
|
||||
<g ng-if="current_scale > 0.5 || item.type == 'site' || (item.type == 'rack' && current_scale > 0.1)" >
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
<!-- Copyright (c) 2017 Red Hat, Inc. -->
|
||||
|
||||
|
||||
<g ng-if="item.moving">
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
<!-- Copyright (c) 2017 Red Hat, Inc. -->
|
||||
|
||||
<g ng-if="toolbox.enabled">
|
||||
<rect class="NetworkUI__toolbox"
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
<!-- Copyright (c) 2017 Red Hat, Inc. -->
|
||||
|
||||
<rect ng-attr-x="{{toolbox.x}}"
|
||||
ng-attr-y="{{toolbox.y}}"
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
<!-- Copyright (c) 2017 Red Hat, Inc. -->
|
||||
|
||||
|
||||
<rect ng-attr-class="{{layer.is_pressed ? 'NetworkUI__layer--button-pressed' : layer.mouse_over ? 'NetworkUI__layer--button-hover' : 'NetworkUI__layer'}}"
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
<!-- Copyright (c) 2017 Red Hat, Inc. -->
|
||||
<line ng-attr-x1="{{link.from_device.x}}"
|
||||
ng-attr-y1="{{link.from_device.y}}"
|
||||
ng-attr-x2="{{link.to_device !== null ? link.to_device.x : scaledX}}"
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
<!-- Copyright (c) 2017 Red Hat, Inc. -->
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" viewBox="0 0 2752.766 1537.631" version="1.0" height="715" width="1410" id="svg1926" sodipodi:version="0.32" inkscape:version="0.48.4 r9939" sodipodi:docname="BlankMap-World8.svg" inkscape:output_extension="org.inkscape.output.svg.inkscape">
|
||||
<sodipodi:namedview inkscape:window-height="705" inkscape:window-width="1366" inkscape:pageshadow="2" inkscape:pageopacity="0.0" guidetolerance="10.0" gridtolerance="10.0" objecttolerance="10.0" borderopacity="1.0" bordercolor="#666666" pagecolor="#ffffff" id="base" inkscape:zoom="5.6568543" inkscape:cx="829.90777" inkscape:cy="530.87245" inkscape:window-x="-8" inkscape:window-y="-8" inkscape:current-layer="svg1926" width="1410px" height="625px" units="px" showgrid="false" inkscape:window-maximized="1"/>
|
||||
|
||||
|
Before Width: | Height: | Size: 966 KiB After Width: | Height: | Size: 966 KiB |
@ -1,3 +1,4 @@
|
||||
<!-- Copyright (c) 2017 Red Hat, Inc. -->
|
||||
<div ng-controller="NetworkUIController">
|
||||
<svg id="frame" class="NetworkUI"
|
||||
ng-attr-height="{{graph.height}}"
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
<!-- Copyright (c) 2017 Red Hat, Inc. -->
|
||||
<div ng-controller="NetworkWidgetsController">
|
||||
<svg id="frame" class="NetworkUI"
|
||||
ng-attr-height="{{graph.height}}"
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
<!-- Copyright (c) 2017 Red Hat, Inc. -->
|
||||
<g class="NetworkUI__process" ng-attr-transform="translate(-50, -50)">
|
||||
<path ng-attr-class="{{item.selected || item.remote_selected ? item.selected && item.remote_selected ? 'NetworkUI__switch--selected-conflict' : item.selected ? 'NetworkUI__switch--selected' : 'NetworkUI__switch--remote-selected' : 'NetworkUI--hidden'}}"
|
||||
d="M0,0 h100 a10,10 0 0 1 10,10 v100 a10,10 0 0 1 -10,10 h-100 a10,10 0 0 1 -10,-10 v-100 a10,10 0 0 1 10,-10 z" />
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
<!-- Copyright (c) 2017 Red Hat, Inc. -->
|
||||
<line x1="-100000"
|
||||
y1="0"
|
||||
x2="100000"
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
<!-- Copyright (c) 2017 Red Hat, Inc. -->
|
||||
|
||||
<g ng-if="current_scale >= 0.1 && current_scale <= 0.5 && item.type == 'rack'" ng-attr-transform="translate({{item.width()/2}}, {{item.height()/2}})">
|
||||
<g ng-attr-transform="scale({{1/0.5}})">
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
<!-- Copyright (c) 2017 Red Hat, Inc. -->
|
||||
|
||||
<g ng-if="!debug.hidden">
|
||||
<line ng-attr-x1="{{-50 - 10}}"
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
<!-- Copyright (c) 2017 Red Hat, Inc. -->
|
||||
|
||||
|
||||
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
<!-- Copyright (c) 2017 Red Hat, Inc. -->
|
||||
|
||||
<g ng-if="current_scale <= 0.1 && item.type == 'site'" ng-attr-transform="translate({{item.width()/2}}, {{item.height()/2}})">
|
||||
<g ng-attr-transform="scale({{1/(0.1)}})">
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
<!-- Copyright (c) 2017 Red Hat, Inc. -->
|
||||
|
||||
<g ng-if="!debug.hidden">
|
||||
<line ng-attr-x1="{{-50 - 10}}"
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
<!-- Copyright (c) 2017 Red Hat, Inc. -->
|
||||
<g ng-if="item.working">
|
||||
<path ng-attr-transform="translate({{-item.width}}, {{-item.height}}) rotate({{frame/3}})" class="NetworkUI__status-path" ng-attr-d="{{item.describeArc(0, 0, 10, 0, 270)}}"/>
|
||||
</g>
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
<!-- Copyright (c) 2017 Red Hat, Inc. -->
|
||||
|
||||
|
||||
<rect ng-attr-class="{{stencil.is_pressed ? 'NetworkUI__stencil--button-pressed' : stencil.mouse_over ? 'NetworkUI__stencil--button-hover' : 'NetworkUI__stencil'}}"
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
<!-- Copyright (c) 2017 Red Hat, Inc. -->
|
||||
<!-- Straight line -->
|
||||
<g ng-if="!debug.hidden">
|
||||
<line ng-attr-x1="{{stream.from_device.x}}"
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
<!-- Copyright (c) 2017 Red Hat, Inc. -->
|
||||
|
||||
|
||||
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
<!-- Copyright (c) 2017 Red Hat, Inc. -->
|
||||
<div ng-controller="TablesUIController">
|
||||
<ul class="nav nav-tabs">
|
||||
<li ng-repeat="sheet in sheets" role="presentation" class="{{sheet === name ? 'active': ''}}"><a href ng-click="changeSheet(sheet)">{{sheet}}</a></li>
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user