fluentd-ui/app/views/plugins/updated.html.haml
Kenji Okimoto 577b834db8
Stop setting column size
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-07-24 11:59:12 +09:00

31 lines
1008 B
Plaintext

- page_title t('.page_title')
- unless @plugins.present?
= t('plugins.common.no_updates')
- else
= form_tag(bulk_upgrade_plugins_path, method: :patch) do
%table{class: "table table-striped table-hover"}
%thead
%tr
%th= t('plugins.common.name')
%th= t('plugins.common.authors')
%th= t('plugins.common.summary')
%th= t('plugins.common.installed_version')
%th= t('plugins.common.latest_version')
%tbody
- @plugins.each do |plugin|
%tr
%td
= check_box_tag("plugins[]", plugin.gem_name, false, id: "plugin_#{plugin.gem_name}")
%label{for: "plugin_#{plugin.gem_name}"}
= plugin.gem_name
%td
= plugin.authors
%td
= plugin.summary
%td
= plugin.installed_version
%td
= plugin.latest_version
= submit_tag t("terms.install_latest"), class: "btn btn-primary"