<commit_before>- page_title t('.page_title') do
  - link_to misc_download_info_path, class: "btn btn-primary pull-right" do
    = icon('fa-download')
    = t('.download_system_information')

- if FluentdUI.update_available? && !FluentdUI.td_agent_ui?
  - # NOTE: td-agent-ui shouldn't have auto update feature
  .row
    .col-xs-12
      %p
        = link_to misc_update_fluentd_ui_path, class: "btn btn-primary btn-lg", method: :post do
          = t('.update_fluentd_ui', version: FluentdUI.latest_version, title: fluentd_ui_title)
        = t('.update_fluentd_ui_caution', brand: fluentd_ui_brand)

.row
  .col-xs-6
    .panel.panel-default
      .panel-heading
        %h4= t("terms.version")
      .panel-body
        %dl{class: "dl-horizontal"}
          %dt ruby
          %dd= RUBY_DESCRIPTION
          - if FluentdUI.fluentd_version
            %dt fluentd
            %dd= FluentdUI.fluentd_version
          %dt fluentd-ui
          %dd= FluentdUI::VERSION

  .col-xs-6
    .panel.panel-default
      .panel-heading
        %h4= t('terms.installed_plugins')
      .panel-body
        - if @plugins.present?
          %table{class: "table table-hover", id: "plugins-table"}
            %thead
              %tr
                %th= t('plugins.common.name')
                %th= t('plugins.common.version')
            %tbody
              - @plugins.each do |plugin|
                %tr
                  %td= plugin.gem_name
                  %td= plugin.installed_version
        - else
          = t "plugins.common.no_installed"

.row
  .col-xs-12
    .panel.panel-default
      .panel-heading
        %h4{"data-toggle" => "collapse", "href" => "#env-table"}
          = icon('fa-caret-down')
          = t('.env')
      %table{class: "table table-hover collapse", id: "env-table"}
        %thead
          %tr
            %th= t('.env_key')<commit_msg>Update style of misc/information<commit_after>- page_title t('.page_title') do
  - link_to misc_download_info_path, class: "btn btn-primary float-right" do
    = icon('fa-download')
    = t('.download_system_information')

- if FluentdUI.update_available? && !FluentdUI.td_agent_ui?
  - # NOTE: td-agent-ui shouldn't have auto update feature
  .row
    .col-xl-12
      %p
        = link_to misc_update_fluentd_ui_path, class: "btn btn-primary btn-lg", method: :post do
          = t('.update_fluentd_ui', version: FluentdUI.latest_version, title: fluentd_ui_title)
        = t('.update_fluentd_ui_caution', brand: fluentd_ui_brand)

.row
  .col-xl-6.col-sm-6.mb-3
    .card.card-default
      .card-header
        %h4= t("terms.version")
      .card-body
        %dl{class: "dl-horizontal"}
          %dt ruby
          %dd= RUBY_DESCRIPTION
          - if FluentdUI.fluentd_version
            %dt fluentd
            %dd= FluentdUI.fluentd_version
          %dt fluentd-ui
          %dd= FluentdUI::VERSION

  .col-xl-6.col-sm-6.mb-3
    .card.card-default
      .card-header
        %h4= t('terms.installed_plugins')
      .card-body
        - if @plugins.present?
          %table{class: "table table-hover", id: "plugins-table"}
            %thead
              %tr
                %th= t('plugins.common.name')
                %th= t('plugins.common.version')
            %tbody
              - @plugins.each do |plugin|
                %tr
                  %td= plugin.gem_name
                  %td= plugin.installed_version
        - else
          = t "plugins.common.no_installed"

.row
  .col-xl-12.col-sm-12
    .card.card-default
      .card-header
        %h4{"data-toggle" => "collapse", "href" => "#env-table"}
          = icon('fa-caret-down')
          = t('.env')
      %table{class: "table table-hover collapse", id: "env-table"}
        %thead
          %tr
            %th= t('.env_key')
{'fraction_non_alphanumeric': 0.1349206349206349, 'fraction_numerical': 0.006349206349206349, 'mean_word_length': 1.855740181268882, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3729448', 'n_tokens_mistral': 1304, 'n_tokens_neox': 1257, 'n_words': 236}