- page_title t('.page_title') do
  - link_to edit_daemon_setting_path(@fluentd), class: "btn btn-primary float-right" do
    = icon('fa-pencil')
    = t("terms.edit")

.row
  .col-xl-12
    %pre
      = preserve do
        = @config

.row
  .col-xl-12
    %h3= link_to(t('fluentd.settings.running_backup.title'), daemon_setting_running_backup_path)
    %p
      %label= t('terms.backup_time')
      = @running_backedup_file.ctime.try(:strftime, I18n.t('time.formats.default')) || t('fluentd.common.never_started_yet', brand: fluentd_ui_brand)

.row
  .col-xl-12
    %h3= t('fluentd.settings.history')
    = render '/fluentd/settings/histories/list'
    .link= link_to t('.link_to_histories'), daemon_setting_histories_path

- page_title t('.page_title') do
  - link_to edit_daemon_setting_path(@fluentd), class: "btn btn-primary float-right" do
    = icon('fa-pencil')
    = t("terms.edit")

.row
  .card.col-xl-12
    %pre.card-body
      = preserve do
        = @config

.row
  .col-xl-12
    %h3= link_to(t('fluentd.settings.running_backup.title'), daemon_setting_running_backup_path)
    %p
      %label= t('terms.backup_time')
      = @running_backedup_file.ctime.try(:strftime, I18n.t('time.formats.default')) || t('fluentd.common.never_started_yet', brand: fluentd_ui_brand)

.row
  .col-xl-12
    %h3= t('fluentd.settings.history')
    = render '/fluentd/settings/histories/list'
    .link= link_to t('.link_to_histories'), daemon_setting_histories_path

Use card to display box
Use card to display box

Signed-off-by: Kenji Okimoto <7a4b90a0a1e6fc688adec907898b6822ce215e6c@clear-code.com>
