Ubuntu | 82b8a83 | 2013-02-06 22:00:11 +0000 | [diff] [blame] | 1 | <!DOCTYPE html> |
| 2 | <html> |
| 3 | <meta charset="utf-8"> |
| 4 | <style> |
| 5 | path.link { |
| 6 | fill: none; |
| 7 | stroke: #666; |
| 8 | stroke-width: 1.5px; |
| 9 | } |
| 10 | circle { |
| 11 | stroke: #333; |
| 12 | stroke-width: 1.5px; |
| 13 | } |
| 14 | |
| 15 | text { |
| 16 | font: 20px sans-serif; |
| 17 | pointer-events: none; |
| 18 | } |
| 19 | |
| 20 | </style> |
| 21 | <head> |
| 22 | <title>ONOS GUI</title> |
| 23 | <script src="http://d3js.org/d3.v3.min.js"></script> |
| 24 | <script type="text/javascript" src="js/onos-topology.js"></script> |
| 25 | <script type="text/javascript" src="js/jquery-1.7.2.min.js"></script> |
| 26 | </head> |
| 27 | <body> |
Masayoshi Kobayashi | 274c07d | 2013-02-20 21:38:16 +0000 | [diff] [blame] | 28 | <button id="more">more</button> |
Masayoshi Kobayashi | dd4ad8f | 2013-02-27 20:20:13 +0000 | [diff] [blame] | 29 | <button id="less">less</button> |
Ubuntu | 82b8a83 | 2013-02-06 22:00:11 +0000 | [diff] [blame] | 30 | <svg width="4in" height="2in" |
| 31 | viewBox="0 0 4000 2000" version="1.1" |
| 32 | xmlns="http://www.w3.org/2000/svg"> |
| 33 | <defs> |
| 34 | <marker id="Triangle" |
| 35 | viewBox="0 -5 10 10" refX="15" refY="-1.5" |
| 36 | markerUnits="strokeWidth" |
| 37 | markerWidth="6" markerHeight="6" |
| 38 | orient="auto"> |
| 39 | <path d="M0,-5L10,0L0,5"/> |
| 40 | </marker> |
| 41 | </defs> |
Masayoshi Kobayashi | dd4ad8f | 2013-02-27 20:20:13 +0000 | [diff] [blame] | 42 | <div id="servers"></div> |
| 43 | <div id="onos-status"></div> |
| 44 | <div id="cassandra-status"></div> |
| 45 | <script type="text/javascript" src="js/controller-status.js"></script> |
Ubuntu | 82b8a83 | 2013-02-06 22:00:11 +0000 | [diff] [blame] | 46 | <script type="text/javascript"> |
Masayoshi Kobayashi | dd4ad8f | 2013-02-27 20:20:13 +0000 | [diff] [blame] | 47 | controller_status("http://gui.onlab.us:8080/topology"); |
Masayoshi Kobayashi | f63ef2f | 2013-02-20 21:47:21 +0000 | [diff] [blame] | 48 | gui("http://gui.onlab.us:8080/topology"); |
Ubuntu | 82b8a83 | 2013-02-06 22:00:11 +0000 | [diff] [blame] | 49 | </script> |
| 50 | </svg> |
| 51 | </body> |
| 52 | </html> |