Admin monitor page

110 views
Skip to first unread message

Ramazan Kizilyildirim

unread,
May 24, 2021, 9:35:32 AM5/24/21
to oTree help & discussion
Hi Chris,

Can we track the Time column in Admin Monitoring page as seconds instead of the default given minutes? 

A more sophisticated question on that, can we add a column there and send data via live pages during the run time to keep track of some custom data? I am currently doing this on Report page yet  I want to carry it to Monitor page and on Report page it seems that I have to refresh the page to see the updated values.

Thanks a lot,
Ramazan

Chris @ oTree

unread,
May 24, 2021, 10:58:09 AM5/24/21
to oTree help & discussion
The monitor page is not customizable. However, you can make the admin report refresh every N seconds by putting some JavaScript code, like:

setTimeout(function() { window.location.reload() }, 5000);

Ramazan Kizilyildirim

unread,
May 24, 2021, 11:21:10 AM5/24/21
to Chris @ oTree, oTree help & discussion
Thanks a lot Chris. That makes a large improvement. However, it would be more elegant if l could just refresh the html element instead of the whole page. Is it possible to refresh only the html element itself?
Thanks a lot.
Ramazan

--
You received this message because you are subscribed to the Google Groups "oTree help & discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to otree+un...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/otree/8700789b-e0df-4e6a-80a1-a1d5e0370f2cn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages