Begins network-ui prototype integration into Tower UI.

* Moves network ui into a directive
* Adds awxNet prefix to network ui directives
* Adds a module to integrate the stand alone network UI with
    Tower UI.
* Adds reconnectingwebsocket to webpack bundle
* Adds configuration for webpack
* Moves ngTouch and hamsterjs to webpack vendor bundle
* Moves angular to network UI vendor bundle
* Adds ui-router dependency
* Changes CSS to BEM style
* Adds unique id sequences for devices and links on Topology and interfaces on Device
* Adds group widget with move, resize, delete, and edit label support
This commit is contained in:
Ben Thomasson
2017-05-09 17:07:13 -04:00
committed by Ben Thomasson
parent 640e687f3e
commit d0e402c39a
78 changed files with 2839 additions and 1007 deletions

View File

@@ -1,4 +1,4 @@
app: prototype
app: awx.network_ui
external_models: []
models:
- display: name
@@ -22,6 +22,9 @@ models:
- len: 200
name: type
type: CharField
- default: 0
name: interface_id_seq
type: IntegerField
name: Device
x: 348
y: 124
@@ -71,6 +74,17 @@ models:
type: FloatField
- name: panY
type: FloatField
- default: 0
name: device_id_seq
ref: Topology
ref_field: device_id_seq
type: IntegerField
- default: 0
name: link_id_seq
type: IntegerField
- default: 0
name: group_id_seq
type: IntegerField
name: Topology
x: 111
y: 127
@@ -135,6 +149,51 @@ models:
name: Interface
x: 600
y: 243
- fields:
- name: group_id
pk: true
type: AutoField
- name: id
ref: Group
ref_field: id
type: IntegerField
- len: 200
name: name
type: CharField
- name: x1
type: IntegerField
- name: y1
ref: Group
ref_field: y1
type: IntegerField
- name: x2
ref: Group
ref_field: x2
type: IntegerField
- name: y2
type: IntegerField
- name: topology
ref: Topology
ref_field: topology_id
type: ForeignKey
name: Group
x: 907
y: 520
- fields:
- name: group_device_id
pk: true
type: AutoField
- name: group
ref: GroupDevice
ref_field: group
type: ForeignKey
- name: device
ref: Device
ref_field: device_id
type: ForeignKey
name: GroupDevice
x: 631
y: 561
modules: []
view:
panX: 213.72955551921206