mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Fixes non working progress bar
This commit is contained in:
parent
56b0b36b03
commit
f23a3f9c6e
1 changed files with 2 additions and 2 deletions
|
|
@ -234,8 +234,8 @@ function graph_utils.stackedProgressBars(total, bars, other_label, formatter, cs
|
|||
if bar.class == nil then bar.class = "primary" end
|
||||
if bar.style == nil then bar.style = "" end
|
||||
if bar.link ~= nil then
|
||||
res[#res + 1] = [[<a href="]] .. bar.link .. [[" style="width:]] .. percentage .. [[%;]] .. bar.style .. [[">
|
||||
<div class="progress-bar bg-]] .. (bar.class) .. [[" role="progressbar" style="width: 100%"></div></a>]]
|
||||
res[#res + 1] = [[<a href="]] .. bar.link .. [[" style="width:]] .. percentage .. [[%;]] .. bar.style ..
|
||||
[[" class="progress-bar bg-]] .. (bar.class) .. [[" role="progressbar"></a>]]
|
||||
else
|
||||
res[#res + 1] = [[
|
||||
<div class="progress-bar bg-]] .. (bar.class) .. [[" role="progressbar" style="width:]] .. percentage .. [[%;]] .. bar.style .. [["></div></a>]]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue