tweak design

This commit is contained in:
uu59 2014-05-30 13:23:50 +09:00
parent 6223308cd8
commit 74a49dd80c

View File

@ -13,7 +13,6 @@
= link_to t('.install_it', target: "td-agent"), "http://docs.treasuredata.com/articles/td-agent"
- @fluentds.each do |d|
%div.col-lg-3
%div{class: "panel panel-#{d.agent.running? ? "success":"default"}"}
%div.panel-heading
%h4
@ -22,4 +21,12 @@
= link_to t(".edit"), edit_fluentd_path(d)
= link_to t(".destroy"), fluentd_path(d), method: :delete
%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