@@ -86,29 +86,29 @@ <h3>Nodes in the database</h3>
86
86
{% if hash %}
87
87
< li >
88
88
< a class ="dropdown-item "
89
- href ="/nebula /dashboard/{{ scenario_name }}/node/{{ hash }}/metrics ">
89
+ href ="/platform /dashboard/{{ scenario_name }}/node/{{ hash }}/metrics ">
90
90
< i class ="fa fa-bar-chart "> </ i >
91
91
Real-time metrics
92
92
</ a >
93
93
</ li >
94
94
{% endif %}
95
95
< li >
96
96
< a class ="dropdown-item download "
97
- href ="/nebula /dashboard/{{ scenario_name }}/node/{{ idx }}/infolog ">
97
+ href ="/platform /dashboard/{{ scenario_name }}/node/{{ idx }}/infolog ">
98
98
< i class ="fa fa-download "> </ i >
99
99
Download INFO logs
100
100
</ a >
101
101
</ li >
102
102
< li >
103
103
< a class ="dropdown-item download "
104
- href ="/nebula /dashboard/{{ scenario_name }}/node/{{ idx }}/debuglog ">
104
+ href ="/platform /dashboard/{{ scenario_name }}/node/{{ idx }}/debuglog ">
105
105
< i class ="fa fa-download "> </ i >
106
106
Download DEBUG logs
107
107
</ a >
108
108
</ li >
109
109
< li >
110
110
< a class ="dropdown-item download "
111
- href ="/nebula /dashboard/{{ scenario_name }}/node/{{ idx }}/errorlog ">
111
+ href ="/platform /dashboard/{{ scenario_name }}/node/{{ idx }}/errorlog ">
112
112
< i class ="fa fa-download "> </ i >
113
113
Download ERROR logs
114
114
</ a >
@@ -347,14 +347,14 @@ <h3>Topology</h3>
347
347
var droneLines = { } ;
348
348
349
349
var droneIcon = L . icon ( {
350
- iconUrl : '/nebula /static/images/drone.svg' ,
350
+ iconUrl : '/platform /static/images/drone.svg' ,
351
351
iconSize : [ 38 , 38 ] , // Icon size
352
352
iconAnchor : [ 19 , 19 ] , // Icon point that will correspond to the marker coordinate
353
353
popupAnchor : [ 0 , - 19 ] // Where the popup will be displayed in relation to the icon
354
354
} ) ;
355
355
356
356
var droneIconOffline = L . icon ( {
357
- iconUrl : '/nebula /static/images/drone_offline.svg' ,
357
+ iconUrl : '/platform /static/images/drone_offline.svg' ,
358
358
iconSize : [ 38 , 38 ] , // Icon size
359
359
iconAnchor : [ 19 , 19 ] , // Icon point that will correspond to the marker coordinate
360
360
popupAnchor : [ 0 , - 19 ] // Where the popup will be displayed in relation to the icon
@@ -504,7 +504,7 @@ <h3>Topology</h3>
504
504
var scenario_name = document . getElementById ( 'scenario_name' ) . innerHTML ;
505
505
506
506
// Get the table
507
- fetch ( '/nebula /api/dashboard/' + scenario_name + '/monitor' )
507
+ fetch ( '/platform /api/dashboard/' + scenario_name + '/monitor' )
508
508
. then ( function ( response ) {
509
509
if ( ! response . ok ) {
510
510
showAlert ( "danger" , "Error: " + response . status + " " + response . statusText ) ;
@@ -681,8 +681,8 @@ <h3>Topology</h3>
681
681
node_row . appendChild ( status ) ;
682
682
}
683
683
status . innerHTML = nodeData . status ? '<span class="badge text-bg-success">Online</span>' : '<span class="badge text-bg-danger">Offline</span>' ;
684
- // Request /nebula /api/dashboard/{{ scenario_name }}/monitor to get only the status of the node
685
- fetch ( '/nebula /api/dashboard/' + nodeData . scenario_name + '/monitor' )
684
+ // Request /platform /api/dashboard/{{ scenario_name }}/monitor to get only the status of the node
685
+ fetch ( '/platform /api/dashboard/' + nodeData . scenario_name + '/monitor' )
686
686
. then ( function ( response ) {
687
687
if ( ! response . ok ) {
688
688
showAlert ( "danger" , "Error: " + response . status + " " + response . statusText ) ;
0 commit comments