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
|
||||
= @fluentd.inspect
|
||||
- page_title t('.page_title', label: "##{@fluentd.id}")
|
||||
|
||||
%h4
|
||||
= @fluentd.running? ? t(".running") : t(".stopped")
|
||||
|
||||
= link_to t(".start"), start_fluentd_daemon_path(@fluentd), method: :put, remote: true
|
||||
|
@ -1,13 +1,14 @@
|
||||
- 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|
|
||||
%div.col-lg-6
|
||||
%div.panel.panel-default
|
||||
%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
|
||||
= link_to d, fluentd_daemon_path(d) # TODO
|
||||
= link_to t(".edit"), edit_fluentd_path(d)
|
||||
= link_to t(".destroy"), fluentd_path(d), method: :delete
|
||||
= link_to t(".operation"), fluentd_daemon_path(d) # TODO
|
||||
|
@ -2,6 +2,14 @@
|
||||
<li>
|
||||
<%= link_to_other icon("fa-dashboard fa-fw") << " Dashboard", root_path %>
|
||||
</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>
|
||||
<%= 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">
|
||||
|
@ -59,6 +59,7 @@ ja:
|
||||
log: ログ
|
||||
stopped: 停止中
|
||||
running: 稼働中
|
||||
operation: プロセス詳細
|
||||
form:
|
||||
<<: *fluentd_common
|
||||
index:
|
||||
@ -73,6 +74,7 @@ ja:
|
||||
daemons:
|
||||
show:
|
||||
<<: *fluentd_common
|
||||
page_title: "fluentd %{label}"
|
||||
|
||||
misc:
|
||||
common: &misc_common
|
||||
|
Loading…
x
Reference in New Issue
Block a user