fluentd-ui/app/views/shared/_fluentd_nav.html.haml
2014-10-04 15:19:14 +09:00

13 lines
607 B
Plaintext

%h4
= @fluentd.agent.running? ? t("fluentd.common.running") : t("fluentd.common.stopped")
- if flash[:error]
.alert.alert-danger= flash[:error]
= link_to t("fluentd.common.detail"), daemon_path(@fluentd)
= link_to t("fluentd.common.start"), start_daemon_agent_path(@fluentd), method: :put
= link_to t("fluentd.common.stop"), stop_daemon_agent_path(@fluentd), method: :put
= link_to t("fluentd.common.restart"), restart_daemon_agent_path(@fluentd), method: :put
= link_to t("fluentd.common.log"), log_daemon_agent_path(@fluentd)
= link_to t("fluentd.common.config_file"), daemon_setting_path(@fluentd)