Added flash messages.
Change-Id: If3f8650b5dc977dca27fb764ab57f2e11a21682d
Showing
2 changed files
with
6 additions
and
2 deletions
... | @@ -32,8 +32,8 @@ | ... | @@ -32,8 +32,8 @@ |
32 | // Config variables | 32 | // Config variables |
33 | var w = '100%', | 33 | var w = '100%', |
34 | h = 200, | 34 | h = 200, |
35 | - fade = 500, | 35 | + fade = 200, |
36 | - showFor = 2000, | 36 | + showFor = 500, |
37 | vb = '-200 -' + (h/2) + ' 400 ' + h, | 37 | vb = '-200 -' + (h/2) + ' 400 ' + h, |
38 | xpad = 20, | 38 | xpad = 20, |
39 | ypad = 10; | 39 | ypad = 10; | ... | ... |
... | @@ -841,12 +841,14 @@ | ... | @@ -841,12 +841,14 @@ |
841 | two: getSelId(1), | 841 | two: getSelId(1), |
842 | ids: [ getSelId(0), getSelId(1) ] | 842 | ids: [ getSelId(0), getSelId(1) ] |
843 | }); | 843 | }); |
844 | + network.view.flash('Host-to-Host connectivity added'); | ||
844 | } | 845 | } |
845 | 846 | ||
846 | function showTrafficAction() { | 847 | function showTrafficAction() { |
847 | // force intents hover mode | 848 | // force intents hover mode |
848 | hoverMode = 1; | 849 | hoverMode = 1; |
849 | showSelectTraffic(); | 850 | showSelectTraffic(); |
851 | + network.view.flash('Related Traffic'); | ||
850 | } | 852 | } |
851 | 853 | ||
852 | function showSelectTraffic() { | 854 | function showSelectTraffic() { |
... | @@ -869,12 +871,14 @@ | ... | @@ -869,12 +871,14 @@ |
869 | 871 | ||
870 | function showAllTrafficAction() { | 872 | function showAllTrafficAction() { |
871 | sendMessage('requestAllTraffic', {}); | 873 | sendMessage('requestAllTraffic', {}); |
874 | + network.view.flash('All Traffic'); | ||
872 | } | 875 | } |
873 | 876 | ||
874 | function showDeviceLinkFlowsAction() { | 877 | function showDeviceLinkFlowsAction() { |
875 | // force intents hover mode | 878 | // force intents hover mode |
876 | hoverMode = 2; | 879 | hoverMode = 2; |
877 | showDeviceLinkFlows(); | 880 | showDeviceLinkFlows(); |
881 | + network.view.flash('Device Flows'); | ||
878 | } | 882 | } |
879 | 883 | ||
880 | function showDeviceLinkFlows() { | 884 | function showDeviceLinkFlows() { | ... | ... |
-
Please register or login to post a comment