fluentd-ui/app/views/tutorials/index.html.haml
uu59 23a30452e4 Fix route name fluentd -> daemon by sed
$ git grep --name-only -E "[a-z0-9A-Z_]*fluentd_[a-zA-Z0-9_]*path" app/  | xargs gsed -i -E 's#([a-z0-9A-Z_]*)fluentd([a-zA-Z0-9_]*path)#\1daemon\2#g'
2014-07-24 15:28:04 +09:00

27 lines
597 B
Plaintext

- page_title t(".page_title")
%h2
Hello, world!
%ol
%li
- if @fluentd
= icon('fa-check text text-success')
= t('.step1')
- else
= icon('fa-warning text text-danger')
= link_to t('.step1'), daemon_path
%li
- if @fluentd && @fluentd.agent.running?
= icon('fa-check text text-success')
= t('.step2')
- else
= icon('fa-warning text text-danger')
- if @fluentd
= link_to t('.step2'), daemon_path(@fluentd)
- else
= t('.step2')
- if tutorial_ready?
= link_to t('.start_tutorial'), tutorials_chapter1_path