It looks like the progress bars that have the protocols listed have a very 
light background which makes it hard to read the protocol names.

Probably not the best way to do it but adding an inline style (I know, I hate 
them too) to scripts/lua/modules/graph_utils.lua fixes it:

Index: scripts/lua/modules/graph_utils.lua
===================================================================
--- scripts/lua/modules/graph_utils.lua (revision 6786)
+++ scripts/lua/modules/graph_utils.lua (working copy)
@@ -17,7 +17,7 @@
 function percentageBar(total, value, valueLabel)
    if(total > 0) then
       pctg = round((value * 100) / total, 0)
-      print('<div class="progress"><div class="bar bar-warning" style="width: 
' .. pctg.. '%;">'..valueLabel)
+      print('<div class="progress" style="background-image: linear-gradient(to 
bottom,#1f77b4,#4fa7e4);"><div class="bar bar-warning" style="width: ' .. 
pctg.. '%;">'..valueLabel)
       print('</div></div>')
    else
       print('&nbsp;')


_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev

Reply via email to