mirror of
https://github.com/fluent/fluentd-ui.git
synced 2026-05-05 10:56:11 +02:00
32 lines
909 B
Plaintext
32 lines
909 B
Plaintext
- page_title t('.page_title', label: @fluentd.label)
|
|
|
|
- if @backup_file.content
|
|
%p.float-right
|
|
= link_to configtest_daemon_setting_running_backup_path, method: 'post', class: "btn btn-secondary" do
|
|
= icon('fa-legal')
|
|
= t("terms.configtest")
|
|
= link_to reuse_daemon_setting_running_backup_path, method: 'post', class: "btn btn-primary" do
|
|
= icon('fa-pencil')
|
|
= t("terms.reuse")
|
|
|
|
.row
|
|
.col-xl-12
|
|
- if @backup_file.content
|
|
%h2
|
|
= t('.page_title')
|
|
%pre
|
|
= preserve do
|
|
= @backup_file.content
|
|
- else
|
|
%p
|
|
=t('fluentd.common.never_started_yet', brand: fluentd_ui_brand)
|
|
- if @backup_file.content
|
|
.col-xl-12.diff
|
|
%h2
|
|
Diff:
|
|
%div
|
|
= t(".diff_description")
|
|
.float-right
|
|
= link_to t(".show_current"), daemon_setting_path(@fluentd)
|
|
= preserve render "/shared/settings/diff"
|