summaryrefslogtreecommitdiffstats
path: root/interface
diff options
context:
space:
mode:
Diffstat (limited to 'interface')
-rw-r--r--interface/index.html8
-rw-r--r--interface/js/app/rspamd.js4
2 files changed, 6 insertions, 6 deletions
diff --git a/interface/index.html b/interface/index.html
index 84aa211cd..a14e6f5f6 100644
--- a/interface/index.html
+++ b/interface/index.html
@@ -126,10 +126,10 @@
<form id="graph_controls" action="#">
Dataset:
<select id="selData" class="form-control">
- <option value="hourly" selected>Hourly</option>
- <option value="daily">Daily</option>
- <option value="weekly">Weekly</option>
- <option value="monthly">Monthly</option>
+ <option value="day" selected>By day</option>
+ <option value="week">By week</option>
+ <option value="month">By month</option>
+ <option value="year">By year</option>
</select>
Y-scale:
<select id="selYScale" class="form-control">
diff --git a/interface/js/app/rspamd.js b/interface/js/app/rspamd.js
index 155a544e1..c58b3803c 100644
--- a/interface/js/app/rspamd.js
+++ b/interface/js/app/rspamd.js
@@ -105,8 +105,8 @@ function ($, D3pie, visibility, NProgress, stickyTabs, tab_stat, tab_graph, tab_
tab_graph.draw(ui, graphs, tables, neighbours, checked_server, selData);
var autoRefresh = {
- hourly: 60000,
- daily: 300000
+ day: 60000,
+ week: 300000
};
timer_id.throughput = Visibility.every(autoRefresh[selData] || 3600000, function () {
tab_graph.draw(ui, graphs, tables, neighbours, checked_server, selData);