mirror of
https://github.com/fluent/fluentd-ui.git
synced 2026-01-21 15:11:02 +01:00
31 lines
1008 B
Plaintext
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"
|