846 Commits

Author SHA1 Message Date
Simon Hunt
7442d210d4 GUI -- Removed 'Angular' from the index.html title element. (Ready for release)
Change-Id: Ia093bc75cdd166d79e04fc899616f7589109df61
2015-02-26 10:55:00 -08:00
Simon Hunt
9e2104c743 GUI -- TopoView - Added Toggle Port Highlighting enable/disable with 'P' key.
- add/remove mousemove handler.
 - removed commented out test code.

Change-Id: Ice47db36491d466d2d73f6cef1dfc90ff9d8b088
2015-02-26 10:49:19 -08:00
Simon Hunt
969b3c95a3 GUI -- TopoView - port numbers now offset along the link.
Change-Id: Ic093e5bb5f53d1d54ef4225917ff1177e4d5eef2
2015-02-25 18:21:29 -08:00
Bri Prebilic Cole
258f046e6e GUI -- Toolbar dynamically sizes based on added contents, adjusted CSS padding, minor radio button edit.
Change-Id: I52c3ef8af13a2b743cf7d71a83d42d7c9b5e5d6b
2015-02-25 16:40:57 -08:00
Simon Hunt
8ae474b684 GUI -- TopoView - don't add source port on host link.
Change-Id: Ia1a298eb6cab9da1c209c8365b244025468f1a20
2015-02-25 15:39:14 -08:00
Simon Hunt
1a5301e1c0 GUI -- TopoView - Port numbers now appear when hovering over a link.
- (but they are centered on the node -- still need to move them away from the node).

Change-Id: I491851ef2f4d31b85db0dbc2b3145218a4913844
2015-02-25 15:31:54 -08:00
Simon Hunt
78f6598ded GUI -- TopoView - Corrected trafic data to match updated port numbers.
Change-Id: I43d4f8980b1795782b17debe9fd7a5b177878c1c
2015-02-25 14:02:32 -08:00
Bri Prebilic Cole
664d4702ad GUI -- ButtonService - Fixed radio buttons selection bug.
Change-Id: Ibdf77e231ce58d4863b11daecb0b8106f8e979a6
2015-02-25 21:43:02 +00:00
Simon Hunt
5f361089f3 GUI -- TopoView - capture source and target port numbers on link models.
- "traffic" scenario: made all port numbers unique.

Change-Id: I98f0153e2523d0ad451f92ee1e63e9c12f8428d7
2015-02-25 11:37:25 -08:00
Simon Hunt
d526412659 GUI -- TopoView - Changed link "enhancement" to be addition of glow filter via 'enhanced' CSS class.
- removed unnecessary properties of link data object (delegate to source and target for endpoints).
- removed feature envy for existing links.

Change-Id: I9f96792d5665665a3467e419d80803e1b0db389b
2015-02-25 19:37:04 +00:00
Bri Prebilic Cole
439cd7794f GUI -- Created sample button and toggle for demo.
Change-Id: I3e2fc93f63688856ce14f347e20b4fb813866970
2015-02-25 09:20:36 -08:00
Simon Hunt
fb8ea1f424 GUI -- TopoView - Initial work for implementing link selection.
- a step in the direction for showing port numbers.

Change-Id: I313782374c82b87b6d426e88519a5ab7c072a622
2015-02-24 21:38:14 -08:00
Simon Hunt
a4242debca GUI -- TopoView - Refactored a bunch of functions out of topoForce into topoD3.
- finally, topoForce is a respectable sub-1000 LOC :)

Change-Id: I2a9ac2881c9d54663faecf338c512a368f17bc34
2015-02-25 01:16:54 +00:00
Bri Prebilic Cole
f7280d0c35 GUI -- Toolbar and ButtonService appearance work - styled light and dark themed buttons and toolbar.
Change-Id: I07f2d6adcf5a028fa76f50301d6bdfd1e75b1188
2015-02-25 01:13:50 +00:00
Bri Prebilic Cole
be8b9a4e3d GUI -- ToolbarService and PanelService show and hide panels based on margin and hideMargin, and fade is a setting.
Change-Id: I85b5dd447df09e13e9308473c548621d4b76fa15
2015-02-24 21:49:43 +00:00
Simon Hunt
4d4996e136 GUI -- TopoView - Fixed problem of labels on hostlinks not being positioned correctly.
- updated traffic scenario.

Change-Id: I452e0e81327a9006c20e00a843c6096432a1efac
2015-02-24 19:58:18 +00:00
Bri Prebilic Cole
5000a754d8 GUI -- ToolbarService - showing and hiding the toolbar panel - WIP.
Change-Id: Idf9ccbfdeb2b3906fefdf022c216eee2611787fa
2015-02-24 09:30:37 -08:00
Simon Hunt
8eb4d3acdf GUI -- TopoView - Labels on host links now hidden when hosts are hidden.
- removed 'animated' class from links.
  - fixed link label colors (text and rect) for both themes.

Change-Id: Iee638839090b64685d40296985e980f4e6105d82
2015-02-23 18:23:29 -08:00
Thomas Vachuska
529db0a9b5 Preparing GUI resources for dynamic injection of contributed content. Ready to go, but for now disabled in web.xml.
Change-Id: I0751077702835e7572b20037ba6ddc1950be6037
2015-02-23 16:42:14 -08:00
Thomas Vachuska
e95da77264 Promoting new GUI resources into place; still hidden behind legacy redirect though.
Change-Id: If1f25cd7297b93374f492474eb321da16e9995ec
2015-02-23 15:50:11 -08:00
Thomas Vachuska
5f39965caa Migrated legacy GUI resources out of the way for the new GUI.
Change-Id: I92dff4012c63d2f60ee61b5d10cbc4a384d49233
2015-02-23 23:18:45 +00:00
Simon Hunt
d450da9d18 GUI -- TopoView - mockserver.js -- re-instated the "auto-advance" feature.
Change-Id: I867430cf42483fa7f2cacdd0b6fdd97d0eaa90a9
2015-02-23 13:25:59 -08:00
Thomas Vachuska
a0509897a9 Preparing for dynamic GUI extensibility.
Change-Id: Ic25143bb9ad8919d7c9e70d932dde528a9227e6a
2015-02-23 11:31:37 -08:00
Simon Hunt
142166bb96 GUI -- TopoView - Updated "traffic" test scenario.
Change-Id: Ic6fb17f069d87000cfd0f6c68b2f52daf9ef163f
2015-02-23 11:08:34 -08:00
Bri Prebilic Cole
c4403328be GUI -- Refactored ToolbarService to have only new toolbar functions.
Change-Id: I0319335915f37d3a63b3ac734d8f8e00ebed20ae
2015-02-23 10:29:32 -08:00
Thomas Vachuska
93da11f8b5 Providing sample web.xml configuration for enabling basic authentication of REST API & GUI.
Change-Id: I1ee8853945611d7778a4a4dc38883cfe266a5efa
2015-02-23 18:22:53 +00:00
Bri Prebilic Cole
08381ce2a4 GUI -- Button and Toolbar Services with unit tests - finished implementing button widget, started modifying toolbar to use ButtonService
Change-Id: I96078516d396951175fb8d9e69dd7796da9f114e
2015-02-23 17:25:46 +00:00
Thomas Vachuska
d32bfdcaa9 Fixing javadocs.
Change-Id: I49faf425e0f9aa53547caf42f1d4025fb8d9dba6
2015-02-21 16:39:25 -08:00
Thomas Vachuska
fe8c98ad0b Adding support for user interface extensions.
Change-Id: I1e41d16efc11be31ad4c2fb0c09e86e3dfd26706
2015-02-21 16:17:35 -08:00
Simon Hunt
2bfbad2d7a GUI -- TopoView - Oblique - removed unreferenced ThemeService injection.
Change-Id: Ie993faeaeb62538f52b6289ec3e2af90282be70c
2015-02-20 11:57:11 -08:00
Simon Hunt
c3c5b678a0 GUI -- TopoView - Re-instated the oblique view function. (Keystroke 'Z').
Change-Id: I1bc4c11590660142a6bc9f5f71c06a664dbfa80b
2015-02-20 19:49:51 +00:00
Simon Hunt
96f88c675d GUI -- TopoView - Linking Oblique module in.
- updated oblique test scenario events.

Change-Id: I590f22fbbc356c564cefe8d87e73fed701d88f98
2015-02-19 17:57:31 -08:00
Bri Prebilic Cole
40be6b2e9c GUI -- ButtonService - modified IconService to load glyphs without icon mapping
- created button and toggle functions in ButtonService with unit tests

Change-Id: If4d35e3ed7df8c1b8f7355f63f39d0c5d84db753
2015-02-20 01:23:38 +00:00
Simon Hunt
ef1138da77 GUI -- TopoView - Skeleton for oblique view.
Change-Id: Ic1b0cc6ffd83128c8267645ecff8363ba8c0de5f
2015-02-19 17:14:08 -08:00
Simon Hunt
0e48c29425 GUI -- TopoView - re-instated Equalize Mastership Roles.
Change-Id: I8e3970e6da3a0854592a76141b2bc3f2fcd6a3c3
2015-02-20 00:17:21 +00:00
Simon Hunt
e01de782e2 GUI -- Protect against non-existent link element.
Change-Id: I6638de69c9d826c7697468727004c4392bf4925a
2015-02-19 16:01:07 -08:00
Simon Hunt
27a5cc8b45 GUI -- Moved cap() utility function into FnService.
Change-Id: I0afdb38e5b37e085ffebaedc74d3cb2857472b12
2015-02-19 14:50:02 -08:00
Simon Hunt
62c2f8f140 GUI -- Removed dead code from topo view.
Change-Id: I9bb7c856a13cc7bdb9e39f6f6c896bfb434658a7
2015-02-19 14:19:10 -08:00
Simon Hunt
56004a896f GUI -- SvgUtil- added scale, skewX and rotate functions.
Change-Id: If7c3af6bba81905b3bbb887edcf9bf5acbb927e1
2015-02-19 13:53:27 -08:00
Thomas Vachuska
ecb63c5a01 Updated accumulator documentation and refactored names to remove the event heritage.
Change-Id: I2238ab1215281702e670a406fb901ba8a4ef85ce
2015-02-19 18:26:00 +00:00
Bri Prebilic Cole
751804efab GUI -- Implemented createToolbar in ToolbarService.
- Will log warnings if no toolbar id is given, there are no tools, and if the tool's ids are duplicated
- creates toolbar div and calls add button functions based on tool input
- Created skeleton dispatchers to ButtonService
- Wrote unit tests for current ToolbarService

Change-Id: I3d05158c5ce132cb94d465674949ade81ed12664
2015-02-18 17:06:11 -08:00
Simon Hunt
639dc66919 GUI -- TopoView - re-implemented Quick Help panel.
Change-Id: I92edeb570a97eff87a5f9b08373ff0517849bf24
2015-02-18 14:19:26 -08:00
Simon Hunt
eb0fa053a0 GUI -- TopoView - re-implemented All/Pkt/Opt filter radio buttons.
Change-Id: I41cf0eca60a685606a631c0edf4779d7730bb649
2015-02-17 19:20:36 -08:00
Bri Prebilic Cole
2e3f856aa2 GUI -- Started writing the ToolbarService with its unit tests -- WIP
Change-Id: I3adb60cdf9b516e3a325a85f1b0487710ef22178
2015-02-17 17:21:38 -08:00
Bri Prebilic Cole
7c44575150 GUI -- Removed onos-fixed-header redundancies, wrote unit tests for fixed-header and sortable-header directives.
Change-Id: Iccf9348a4697f494a4234b024781fede0719491d
2015-02-17 14:49:58 -08:00
Bri Prebilic Cole
e1bda3f157 GUI -- Cleaned up table directives, device view, fixed flash-spec unit tests, started unt tests for table.js.
Change-Id: I3020fec5f3f57cebc237c1a6cbfd07deb3607189
2015-02-13 17:02:12 -08:00
Ray Milkey
f9af43c2ea Refactoring of IntentId based APIs
- getIntent
- getIntentState
- getInstallableIntents

Change-Id: I6d2073dfa165e0e5adcef46fe5908b563b481a43
2015-02-13 14:10:55 -08:00
Simon Hunt
99ee1e2839 GUI -- TopoView - added skeleton topoFilter.js (WIP)
- fixed broken unit tests.

Change-Id: Ibeb85d2724d460b7e681ea2b247e5429ba3d5d7e
2015-02-13 09:24:43 -08:00
Simon Hunt
a142dd26b3 GUI -- TopoView - re-instated Instance selection showing mastership of switches.
- default showHosts to equal false.
- fixed bug on link immediate restyling on theme change.

Change-Id: I3fc456086cc104df456725290f285a20309cdfe8
2015-02-12 22:07:51 -08:00
Simon Hunt
0ee286804c GUI -- TopoView - re-instated selection "glow" - themed (blue for light theme, yellow for dark theme).
Change-Id: I3994d22889285547688429e490f6fa73ae4c768a
2015-02-12 20:48:11 -08:00