mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
updated style range picker and added arrow buttons
This commit is contained in:
parent
885cc595ed
commit
88609de875
4 changed files with 159 additions and 52 deletions
|
|
@ -18,6 +18,8 @@ local records = {}
|
|||
|
||||
-- 1 hour is 60*60=3600
|
||||
|
||||
local start = os.time()
|
||||
|
||||
for i = 1, num_records, 1 do
|
||||
|
||||
if (curr < end_epoch) then
|
||||
|
|
@ -29,4 +31,7 @@ for i = 1, num_records, 1 do
|
|||
|
||||
end
|
||||
|
||||
rest_utils.answer(rest_utils.consts.success.ok, records)
|
||||
rest_utils.answer(rest_utils.consts.success.ok, {
|
||||
time = os.time() - start,
|
||||
records = records
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue