mirror of
https://github.com/fluent/fluentd-ui.git
synced 2026-01-30 19:41:02 +01:00
32 lines
1.0 KiB
Plaintext
32 lines
1.0 KiB
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.col-xl-2= t('plugins.common.name')
|
|
%th.col-xl-2= t('plugins.common.authors')
|
|
%th.col-xl-6= t('plugins.common.summary')
|
|
%th.col-xl-1= t('plugins.common.installed_version')
|
|
%th.col-xl-1= 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"
|
|
|