elephant flows (#3269)

* elephant flows
* fix for apply button after changes
* fix for refresh icons on index.lua page, scrollable dropdowns enabled
This commit is contained in:
Gabriele Pappalardo 2020-01-21 17:32:14 +01:00 committed by Emanuele Faranda
parent 26c7906744
commit a2f4a1a065
24 changed files with 380 additions and 158 deletions

View file

@ -891,7 +891,7 @@ if(options.timeseries) then
print [[
<div class="dropdown d-inline">
<button class="btn btn-light btn-sm dropdown-toggle" data-toggle="dropdown">Timeseries <span class="caret"></span></button>
<div class="dropdown-menu responsive-dropdown">
<div class="dropdown-menu scrollable-dropdown">
]]
printSeries(options, tags, start_time, end_time, baseurl, page_params)
@ -1412,7 +1412,7 @@ function printCategoryDropdownButton(by_id, cat_id_or_name, base_url, page_param
-- 'Category' button
print('\'<div class="btn-group float-right"><div class="btn btn-link dropdown-toggle" data-toggle="dropdown">'..
i18n("category") .. ternary(not isEmptyString(cat_id_or_name), '<span class="fas fa-filter"></span>', '') ..
'<span class="caret"></span></div> <ul class="dropdown-menu" role="menu" style="min-width: 90px;">')
'<span class="caret"></span></div> <ul class="dropdown-menu scrollable-dropdown" role="menu" style="min-width: 90px;">')
-- 'Category' dropdown menu
local entries = { {text=i18n("all"), id="", cat_id=""} }