mirror of
https://github.com/fluent/fluentd-ui.git
synced 2025-08-15 02:37:08 +02:00
tweak design
This commit is contained in:
parent
6223308cd8
commit
74a49dd80c
@ -13,7 +13,6 @@
|
|||||||
= link_to t('.install_it', target: "td-agent"), "http://docs.treasuredata.com/articles/td-agent"
|
= link_to t('.install_it', target: "td-agent"), "http://docs.treasuredata.com/articles/td-agent"
|
||||||
|
|
||||||
- @fluentds.each do |d|
|
- @fluentds.each do |d|
|
||||||
%div.col-lg-3
|
|
||||||
%div{class: "panel panel-#{d.agent.running? ? "success":"default"}"}
|
%div{class: "panel panel-#{d.agent.running? ? "success":"default"}"}
|
||||||
%div.panel-heading
|
%div.panel-heading
|
||||||
%h4
|
%h4
|
||||||
@ -22,4 +21,12 @@
|
|||||||
= link_to t(".edit"), edit_fluentd_path(d)
|
= link_to t(".edit"), edit_fluentd_path(d)
|
||||||
= link_to t(".destroy"), fluentd_path(d), method: :delete
|
= link_to t(".destroy"), fluentd_path(d), method: :delete
|
||||||
%div.panel-body
|
%div.panel-body
|
||||||
|
%h4
|
||||||
|
- if d.agent.running?
|
||||||
|
= icon("fa-play")
|
||||||
|
= t("fluentd.common.running")
|
||||||
|
- else
|
||||||
|
= icon("fa-pause")
|
||||||
|
= t("fluentd.common.stopped")
|
||||||
|
%p
|
||||||
= link_to t(".operation"), fluentd_agent_path(d) # TODO
|
= link_to t(".operation"), fluentd_agent_path(d) # TODO
|
||||||
|
Loading…
Reference in New Issue
Block a user