Kenji Okimoto 009c3527bb Use bootstrap4 class instead of font-awesome class
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
2018-05-21 15:03:23 +09:00

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"