Thomas Vachuska

Added flash messages.

Change-Id: If3f8650b5dc977dca27fb764ab57f2e11a21682d
......@@ -32,8 +32,8 @@
// Config variables
var w = '100%',
h = 200,
fade = 500,
showFor = 2000,
fade = 200,
showFor = 500,
vb = '-200 -' + (h/2) + ' 400 ' + h,
xpad = 20,
ypad = 10;
......
......@@ -841,12 +841,14 @@
two: getSelId(1),
ids: [ getSelId(0), getSelId(1) ]
});
network.view.flash('Host-to-Host connectivity added');
}
function showTrafficAction() {
// force intents hover mode
hoverMode = 1;
showSelectTraffic();
network.view.flash('Related Traffic');
}
function showSelectTraffic() {
......@@ -869,12 +871,14 @@
function showAllTrafficAction() {
sendMessage('requestAllTraffic', {});
network.view.flash('All Traffic');
}
function showDeviceLinkFlowsAction() {
// force intents hover mode
hoverMode = 2;
showDeviceLinkFlows();
network.view.flash('Device Flows');
}
function showDeviceLinkFlows() {
......