adapted to new programming style of dashboard.js

This commit is contained in:
Dorian Zedler 2019-07-13 20:02:28 +02:00
parent 176a668e3e
commit d2a66b8a7e

View file

@ -123,9 +123,9 @@
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownMenuButton">
<form class="px-4 py-3">
<div class="btn-group">
<button type="button" class="btn btn-light" onclick="setTimeRange(86400)">Today</button>
<button type="button" class="btn btn-light" onclick="setTimeRange(604800)">This Week</button>
<button type="button" class="btn btn-light" onclick="setTimeRange(18144000)">This Month</button>
<button type="button" class="btn btn-light" onclick="dashboard.setTimeRange(86400)">Today</button>
<button type="button" class="btn btn-light" onclick="dashboard.setTimeRange(604800)">This Week</button>
<button type="button" class="btn btn-light" onclick="dashboard.setTimeRange(18144000)">This Month</button>
</div>
</form>
</div>