mirror of
https://github.com/fluent/fluentd-ui.git
synced 2025-08-24 07:51:15 +02:00
Styling
This commit is contained in:
parent
5a4fd2b791
commit
3034a42d9b
@ -1,5 +1,6 @@
|
|||||||
%h1
|
- page_title t('.page_title', label: "##{@fluentd.id}")
|
||||||
= @fluentd.inspect
|
|
||||||
|
%h4
|
||||||
= @fluentd.running? ? t(".running") : t(".stopped")
|
= @fluentd.running? ? t(".running") : t(".stopped")
|
||||||
|
|
||||||
= link_to t(".start"), start_fluentd_daemon_path(@fluentd), method: :put, remote: true
|
= link_to t(".start"), start_fluentd_daemon_path(@fluentd), method: :put, remote: true
|
||||||
|
@ -1,13 +1,14 @@
|
|||||||
- page_title t('.page_title')
|
- page_title t('.page_title')
|
||||||
|
|
||||||
%p= link_to t(".new"), new_fluentd_path
|
%p= link_to icon('fa-plus') << " " << t(".new"), new_fluentd_path
|
||||||
|
|
||||||
- @fluentds.each do |d|
|
- @fluentds.each do |d|
|
||||||
%div.col-lg-6
|
%div.col-lg-6
|
||||||
%div.panel.panel-default
|
%div.panel.panel-default
|
||||||
%div.panel-heading
|
%div.panel-heading
|
||||||
%h4= d.inspect
|
%h4
|
||||||
|
= "fluentd ##{d.id}"
|
||||||
|
= link_to t(".edit"), edit_fluentd_path(d)
|
||||||
|
= link_to t(".destroy"), fluentd_path(d), method: :delete
|
||||||
%div.panel-body
|
%div.panel-body
|
||||||
= link_to d, fluentd_daemon_path(d) # TODO
|
= link_to t(".operation"), fluentd_daemon_path(d) # TODO
|
||||||
= link_to t(".edit"), edit_fluentd_path(d)
|
|
||||||
= link_to t(".destroy"), fluentd_path(d), method: :delete
|
|
||||||
|
@ -2,6 +2,14 @@
|
|||||||
<li>
|
<li>
|
||||||
<%= link_to_other icon("fa-dashboard fa-fw") << " Dashboard", root_path %>
|
<%= link_to_other icon("fa-dashboard fa-fw") << " Dashboard", root_path %>
|
||||||
</li>
|
</li>
|
||||||
|
<li>
|
||||||
|
<%= link_to_other icon("fa-puzzle-piece fa-fw") << " fluentd", fluentd_index_path %>
|
||||||
|
<ul class="nav nav-second-level">
|
||||||
|
<li>
|
||||||
|
<%= link_to_other t("terms.new"), new_fluentd_path %>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<%= link_to_other icon("fa-cogs fa-fw") << " " << t('terms.plugins') << icon('fa pull-right fa-caret-down'), plugins_path %>
|
<%= link_to_other icon("fa-cogs fa-fw") << " " << t('terms.plugins') << icon('fa pull-right fa-caret-down'), plugins_path %>
|
||||||
<ul class="nav nav-second-level">
|
<ul class="nav nav-second-level">
|
||||||
|
@ -59,6 +59,7 @@ ja:
|
|||||||
log: ログ
|
log: ログ
|
||||||
stopped: 停止中
|
stopped: 停止中
|
||||||
running: 稼働中
|
running: 稼働中
|
||||||
|
operation: プロセス詳細
|
||||||
form:
|
form:
|
||||||
<<: *fluentd_common
|
<<: *fluentd_common
|
||||||
index:
|
index:
|
||||||
@ -73,6 +74,7 @@ ja:
|
|||||||
daemons:
|
daemons:
|
||||||
show:
|
show:
|
||||||
<<: *fluentd_common
|
<<: *fluentd_common
|
||||||
|
page_title: "fluentd %{label}"
|
||||||
|
|
||||||
misc:
|
misc:
|
||||||
common: &misc_common
|
common: &misc_common
|
||||||
|
Loading…
x
Reference in New Issue
Block a user