Allow filtering via UI
This commit is contained in:
@ -1 +1,22 @@
|
|||||||
|
- content_for :head do
|
||||||
|
= javascript_include_tag(asset_path('vis.min.js', type: :javascript))
|
||||||
|
= stylesheet_link_tag(asset_path('vis.min.css', type: :stylesheet))
|
||||||
|
|
||||||
|
.group
|
||||||
|
.title
|
||||||
|
h1 = t('statistics.graphs.rfc_activity')
|
||||||
|
.spinner
|
||||||
|
.graph#rfc-activity
|
||||||
|
form
|
||||||
|
.form-group
|
||||||
|
label for="from-date" = t('.from')
|
||||||
|
input type="date" class="form-control" id="from-date" name="from" value=DateTime.new(2016).to_date
|
||||||
|
.form-group
|
||||||
|
label for="to-date" = t('.to')
|
||||||
|
input type="date" class="form-control" id="to-date" name="to" value=DateTime.now.to_date
|
||||||
|
.form-group
|
||||||
|
label for="range" = t('.interval')
|
||||||
|
select class="form-control" id="range" name="range"
|
||||||
|
= [:decade, :year, :month, :day, :hour, :minute, :second].each do | key |
|
||||||
|
option selected=(key==:year) = key
|
||||||
|
button type="submit" class="btn btn-primary" = t('.update')
|
||||||
|
@ -763,3 +763,8 @@ de:
|
|||||||
user_activity: "Nutzeraktivität"
|
user_activity: "Nutzeraktivität"
|
||||||
rfc_activity: "Kommentaranfragenaktivität"
|
rfc_activity: "Kommentaranfragenaktivität"
|
||||||
history: "Historie"
|
history: "Historie"
|
||||||
|
rfc_activity_history:
|
||||||
|
from: "Von"
|
||||||
|
to: "Bis"
|
||||||
|
interval: "Intervall"
|
||||||
|
update: "Aktualisieren"
|
||||||
|
@ -763,3 +763,8 @@ en:
|
|||||||
user_activity: "User Activity"
|
user_activity: "User Activity"
|
||||||
rfc_activity: "RfC Activity"
|
rfc_activity: "RfC Activity"
|
||||||
history: "History"
|
history: "History"
|
||||||
|
rfc_activity_history:
|
||||||
|
from: "From"
|
||||||
|
to: "To"
|
||||||
|
interval: "Interval"
|
||||||
|
update: "Update"
|
||||||
|
Reference in New Issue
Block a user