diff --git a/app/views/hosts/_fd_config.html.erb b/app/views/hosts/_fd_config.html.erb
new file mode 100644
index 0000000..add31c9
--- /dev/null
+++ b/app/views/hosts/_fd_config.html.erb
@@ -0,0 +1,23 @@
+
+
Client FileDeamon Config
+
+<%= @host.bacula_fd_filedeamon_config %>
+
+
+
+
Client Director Config
+
+<%= @host.bacula_fd_director_config %>
+
+
+
+
Client Messages Config
+
+<%= @host.bacula_fd_messages_config %>
+
+
+
+
+ <%= link_to 'Download Config', fd_config_host_path(@host, token: current_user.token),
+ class: "btn btn-success", role: "button", download: 'fd_config' %>
+
diff --git a/app/views/hosts/_header.html.erb b/app/views/hosts/_header.html.erb
new file mode 100644
index 0000000..d2e68d6
--- /dev/null
+++ b/app/views/hosts/_header.html.erb
@@ -0,0 +1,31 @@
+
+ <% if @host.can_be_disabled? %>
+ <%= link_to 'Disable client', disable_host_path(@host), method: :post,
+ data: { confirm: 'This will disable the client. Are you sure?' },
+ class: "btn btn-warning", role: "button" %>
+ <% end %>
+
+ <%= link_to 'Remove client', host_path(@host), method: :delete,
+ data: { confirm: 'This will remove the client from Bacula. Are you sure?' },
+ class: "btn btn-danger", role: "button" %>
+
+
+Configuration for <%= @host.name %>
+ <%= host_status_label(@host) %>
+
+
+
+
+
+
+
diff --git a/app/views/hosts/show.html.erb b/app/views/hosts/show.html.erb
index ae9961b..5b0811d 100644
--- a/app/views/hosts/show.html.erb
+++ b/app/views/hosts/show.html.erb
@@ -1,56 +1,20 @@
<%= notifier(@host.display_message) unless @host.deployed? %>
-
- <% if @host.can_be_disabled? %>
- <%= link_to 'Disable client', disable_host_path(@host), method: :post,
- data: { confirm: 'This will disable the client. Are you sure?' },
- class: "btn btn-warning", role: "button" %>
- <% end %>
-
- <%= link_to 'Remove client', host_path(@host), method: :delete,
- data: { confirm: 'This will remove the client from Bacula. Are you sure?' },
- class: "btn btn-danger", role: "button" %>
-
-
-Configuration for <%= @host.name %>
- <%= host_status_label(@host) %>
-
-
-
+<%= render partial: 'header' %>
-
-
Host Details
-
-
-
Jobs
-
-
-
- <%= render partial: "host_details" %>
- <%= render partial: "jobs/job_templates" %>
-
-
-
-
-
Client FileDeamon Config
-
-<%= @host.bacula_fd_filedeamon_config %>
-
+
+
+ <%= render partial: "host_details" %>
-
-
Client Director Config
-
-<%= @host.bacula_fd_director_config %>
-
+
+ <%= render partial: "jobs/job_templates" %>
-
-
Client Messages Config
-
-<%= @host.bacula_fd_messages_config %>
-
+
+ <%= render partial: "fd_config" %>
-
+
+
<%= render partial: 'jobs/modals' %>