Display links to filter setting

Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
This commit is contained in:
Kenji Okimoto 2018-09-10 17:20:08 +09:00
parent c402b0a7a0
commit 465cfcfa22
No known key found for this signature in database
GPG Key ID: F9E3E329A5C5E4A1

View File

@ -2,7 +2,7 @@
- page_title t('.page_title')
.row.fluentd-setting-inout
.col-xl-4
.col-xl-3
.card.card-primary
.card-header
%h4= t('.in')
@ -14,8 +14,16 @@
= t("fluentd.common.setup_in_#{type}")
.col-xl-1.arrow-right
= icon "fa-arrow-circle-right"
.col-xl-2
= image_tag "/fluentd-logo.png", style: "max-width: 100%"
.col-xl-3
.card.card-primary
.card-header
%h4= t('.filter')
.card-body
- %w(grep parser record_transformer stdout).each do |type|
%p
= link_to(send("daemon_setting_filter_#{type}_path", @fluentd)) do
= icon('fa-file-text-o -fa-lg')
= t("fluentd.common.setup_filter_#{type}")
.col-xl-1.arrow-right
= icon "fa-arrow-circle-right"
.col-xl-4