diff --git a/app/views/fluentd/log.html.haml b/app/views/fluentd/log.html.haml
index 0cf1173..6a6ee5d 100644
--- a/app/views/fluentd/log.html.haml
+++ b/app/views/fluentd/log.html.haml
@@ -1,7 +1,7 @@
- page_title t('.page_title', label: @fluentd.label)
-= link_to t('.raw_log_link'), raw_log_fluentd_path(@fluentd)
+= link_to t('.raw_log_link'), raw_log_fluentd_path(@fluentd), class: "btn btn-primary"
%h3= t('.recent_errors', days: @error_duration_days)
diff --git a/app/views/fluentd/settings/show.html.haml b/app/views/fluentd/settings/show.html.haml
index ad3ce60..cf0f2d7 100644
--- a/app/views/fluentd/settings/show.html.haml
+++ b/app/views/fluentd/settings/show.html.haml
@@ -3,7 +3,7 @@
.row
.col-lg-12
%p
- = link_to icon('fa-pencil') << t("terms.edit"), edit_fluentd_setting_path(@fluentd), class: "btn btn-primary"
+ = link_to t("terms.edit"), edit_fluentd_setting_path(@fluentd), class: "btn btn-primary"
%pre
= preserve do
= @config
diff --git a/app/views/misc/information.html.haml b/app/views/misc/information.html.haml
index c4fff1f..21beba3 100644
--- a/app/views/misc/information.html.haml
+++ b/app/views/misc/information.html.haml
@@ -11,7 +11,7 @@
.row
.col-lg-12
%p
- =link_to misc_download_info_path, class: "btn btn-default" do
+ =link_to misc_download_info_path, class: "btn btn-primary" do
= t('.download_system_information')
.row
diff --git a/app/views/plugins/installed.html.haml b/app/views/plugins/installed.html.haml
index 78475f5..8d429a6 100644
--- a/app/views/plugins/installed.html.haml
+++ b/app/views/plugins/installed.html.haml
@@ -3,35 +3,16 @@
%table{class: "table table-striped table-hover", id: "plugins-table"}
%thead
%tr
+ %th.col-lg-1
%th.col-lg-1= t('.name')
%th{width: 160}= t('.authors')
%th{width: 320}= t('.summary')
%th.col-lg-1= t('.installed_version')
%th.col-lg-1= t('.latest_version')
%th.col-lg-1
- %th.col-lg-1
%tbody
- @plugins.each do |plugin|
%tr
- %td
- %label{for: "plugin_#{plugin.gem_name}"}
- = plugin.gem_name
- %td
- = plugin.authors
- %td
- = plugin.summary
- %td
- = plugin.installed_version
- %td
- = plugin.latest_version
- %td
- - if plugin.latest_version?
- = t('.latest_version')
- - else
- = form_tag(upgrade_plugins_path, method: :patch) do
- = hidden_field_tag("plugins[name]", plugin.gem_name)
- = hidden_field_tag("plugins[version]", plugin.latest_version)
- = submit_tag t('.install_latest_version'), class: "btn btn-primary"
%td
%button{class: "btn btn-danger", data: {toggle: "modal", target:" #plugin-modal-#{plugin.gem_name}"}}
= t ".uninstall"
@@ -51,6 +32,25 @@
Close
= hidden_field_tag("plugins[]", plugin.gem_name)
= submit_tag t('.uninstall'), class: "btn btn-danger"
+ %td
+ %label{for: "plugin_#{plugin.gem_name}"}
+ = plugin.gem_name
+ %td
+ = plugin.authors
+ %td
+ = plugin.summary
+ %td
+ = plugin.installed_version
+ %td
+ = plugin.latest_version
+ %td
+ - if plugin.latest_version?
+ = t('.latest_version')
+ - else
+ = form_tag(upgrade_plugins_path, method: :patch) do
+ = hidden_field_tag("plugins[name]", plugin.gem_name)
+ = hidden_field_tag("plugins[version]", plugin.latest_version)
+ = submit_tag t('.install_latest_version'), class: "btn btn-primary"
:javascript
$(document).ready(function() {