diff --git a/app/views/clients/show.html.erb b/app/views/clients/show.html.erb index 329bdc7..2a34358 100644 --- a/app/views/clients/show.html.erb +++ b/app/views/clients/show.html.erb @@ -1,29 +1,53 @@

<%= notice %>

- - + + + + + + - + - + + + + + + + + + + + + +
Name <%= @client.name %>
Uname <%= @client.uname %>
Auto Prune<%= @client.auto_prune %>Active Jobs<%= @client.running_jobs %>
Last Backup<%= @client.last_job_date %>
File Retention<%= @client.file_retention %><%= @client.file_retention_days %> days
Job Retention<%= @client.job_retention %><%= @client.job_retention_days %> days
Total Space Used<%= number_to_human_size @client.backup_jobs_size %>
Files count<%= number_by_magnitude(@client.files_count) %>
Auto Prune<%= @client.auto_prune_human %>
-<%= link_to 'Back', clients_path %> +
+ <%= link_to 'New Job', '#', class: "btn btn-primary", role: "button" %> + <%= link_to 'Restore Files', '#', class: "btn btn-success", role: "button" %> + <%= link_to 'Take Backup', '#', class: "btn btn-success", role: "button" %> + <%= link_to 'Remove client', '#', class: "btn btn-danger", role: "button" %> +
+
+ +<%= link_to 'Back to clients', clients_path %>