Last hour of metric points

This commit is contained in:
James Brooks
2015-12-24 11:27:22 +00:00
parent 8c80565535
commit 3a0c052f8b
21 changed files with 199 additions and 45 deletions
+4 -3
View File
@@ -52,9 +52,10 @@ return [
// Metrics
'metrics' => [
'filter' => [
'hourly' => 'Sidste 12 timer',
'weekly' => 'Uge',
'monthly' => 'Måned',
'last_hour' => 'Last Hour',
'hourly' => 'Sidste 12 timer',
'weekly' => 'Uge',
'monthly' => 'Måned',
],
],
+4 -3
View File
@@ -52,9 +52,10 @@ return [
// Metrics
'metrics' => [
'filter' => [
'hourly' => 'Letzte 12 Stunden',
'weekly' => 'Wöchentlich',
'monthly' => 'Monatlich',
'last_hour' => 'Last Hour',
'hourly' => 'Letzte 12 Stunden',
'weekly' => 'Wöchentlich',
'monthly' => 'Monatlich',
],
],
+4 -3
View File
@@ -52,9 +52,10 @@ return [
// Metrics
'metrics' => [
'filter' => [
'hourly' => 'Last 12 Hours',
'weekly' => 'Week',
'monthly' => 'Month',
'last_hour' => 'Last Hour',
'hourly' => 'Last 12 Hours',
'weekly' => 'Week',
'monthly' => 'Month',
],
],
+4 -3
View File
@@ -50,9 +50,10 @@ return [
// Metrics
'metrics' => [
'filter' => [
'hourly' => 'Últimas 12 horas',
'weekly' => 'Semana',
'monthly' => 'Mes',
'last_hour' => 'Last Hour',
'hourly' => 'Últimas 12 horas',
'weekly' => 'Semana',
'monthly' => 'Mes',
],
],
+4 -3
View File
@@ -53,9 +53,10 @@ return [
// Metrics
'metrics' => [
'filter' => [
'hourly' => 'Last 12 Hours',
'weekly' => 'Week',
'monthly' => 'Month',
'last_hour' => 'Last Hour',
'hourly' => 'Last 12 Hours',
'weekly' => 'Week',
'monthly' => 'Month',
],
],
+4 -3
View File
@@ -52,9 +52,10 @@ return [
// Metrics
'metrics' => [
'filter' => [
'hourly' => 'Last 12 Hours',
'weekly' => 'Week',
'monthly' => 'Month',
'last_hour' => 'Last Hour',
'hourly' => 'Last 12 Hours',
'weekly' => 'Week',
'monthly' => 'Month',
],
],
+4 -3
View File
@@ -52,9 +52,10 @@ return [
// Metrics
'metrics' => [
'filter' => [
'hourly' => 'Ultime 12 ore',
'weekly' => 'Settimana',
'monthly' => 'Mese',
'last_hour' => 'Last Hour',
'hourly' => 'Ultime 12 ore',
'weekly' => 'Settimana',
'monthly' => 'Mese',
],
],
+4 -3
View File
@@ -52,9 +52,10 @@ return [
// Metrics
'metrics' => [
'filter' => [
'hourly' => 'Last 12 Hours',
'weekly' => 'Week',
'monthly' => 'Month',
'last_hour' => 'Last Hour',
'hourly' => 'Last 12 Hours',
'weekly' => 'Week',
'monthly' => 'Month',
],
],
+4 -3
View File
@@ -52,9 +52,10 @@ return [
// Metrics
'metrics' => [
'filter' => [
'hourly' => 'Laatste 12 uren',
'weekly' => 'Week',
'monthly' => 'Maand',
'last_hour' => 'Last Hour',
'hourly' => 'Laatste 12 uren',
'weekly' => 'Week',
'monthly' => 'Maand',
],
],
+4 -3
View File
@@ -52,9 +52,10 @@ return [
// Metrics
'metrics' => [
'filter' => [
'hourly' => 'Last 12 Hours',
'weekly' => 'Week',
'monthly' => 'Month',
'last_hour' => 'Last Hour',
'hourly' => 'Last 12 Hours',
'weekly' => 'Week',
'monthly' => 'Month',
],
],
+4 -3
View File
@@ -52,9 +52,10 @@ return [
// Metrics
'metrics' => [
'filter' => [
'hourly' => 'Últimas 12 horas',
'weekly' => 'Semana',
'monthly' => 'Mês',
'last_hour' => 'Last Hour',
'hourly' => 'Últimas 12 horas',
'weekly' => 'Semana',
'monthly' => 'Mês',
],
],
+4 -3
View File
@@ -51,9 +51,10 @@ return [
// Metrics
'metrics' => [
'filter' => [
'hourly' => 'Последние 12 часов',
'weekly' => 'Неделя',
'monthly' => 'Месяц',
'last_hour' => 'Last Hour',
'hourly' => 'Последние 12 часов',
'weekly' => 'Неделя',
'monthly' => 'Месяц',
],
],
+4 -3
View File
@@ -52,9 +52,10 @@ return [
// Metrics
'metrics' => [
'filter' => [
'hourly' => '最近12小时',
'weekly' => '',
'monthly' => '',
'last_hour' => 'Last Hour',
'hourly' => '最近12小时',
'weekly' => '',
'monthly' => '月',
],
],
+4 -3
View File
@@ -52,9 +52,10 @@ return [
// Metrics
'metrics' => [
'filter' => [
'hourly' => '最近12小時',
'weekly' => '',
'monthly' => '',
'last_hour' => 'Last Hour',
'hourly' => '最近12小時',
'weekly' => '',
'monthly' => '月',
],
],
@@ -15,6 +15,7 @@
<div class="dropdown pull-right">
<a href="javascript: void(0);" class="btn btn-default dropdown-toggle" data-toggle="dropdown"><span class='filter'>{{ trans('cachet.metrics.filter.hourly') }}</span> <span class="caret"></span></a>
<ul class="dropdown-menu dropdown-menu-right">
<li><a href="#" data-filter-type="last_hour">{{ trans('cachet.metrics.filter.last_hour') }}</a></li>
<li><a href="#" data-filter-type="today">{{ trans('cachet.metrics.filter.hourly') }}</a></li>
<li><a href="#" data-filter-type="week">{{ trans('cachet.metrics.filter.weekly') }}</a></li>
<li><a href="#" data-filter-type="month">{{ trans('cachet.metrics.filter.monthly') }}</a></li>