diff --git a/app/views/clients/_clients.html.erb b/app/views/clients/_clients.html.erb
new file mode 100644
index 0000000..fe6cd25
--- /dev/null
+++ b/app/views/clients/_clients.html.erb
@@ -0,0 +1,24 @@
+
My Clients
+
+
+
+
+
+ Name |
+ Uname |
+ Active Jobs |
+ Last Backup |
+ File Ret. (days) |
+ Job Ret. (days) |
+ Space Used |
+ Quota |
+ Space Used % |
+ Files |
+
+
+
+
+ <%= render partial: 'client', collection: @clients %>
+
+
+
diff --git a/app/views/clients/_pending_clients.html.erb b/app/views/clients/_pending_clients.html.erb
new file mode 100644
index 0000000..0ada35a
--- /dev/null
+++ b/app/views/clients/_pending_clients.html.erb
@@ -0,0 +1,21 @@
+My Pending Clients
+
+
+
+
+
+ Name |
+ FQDN |
+ Port |
+ Token |
+ FileRetention (days) |
+ JobRetention (days) |
+ Verified |
+ Created At |
+
+
+
+ <%= render partial: 'hosts/host', collection: @hosts %>
+
+
+
diff --git a/app/views/clients/index.html.erb b/app/views/clients/index.html.erb
index 48c0b36..8afebcd 100644
--- a/app/views/clients/index.html.erb
+++ b/app/views/clients/index.html.erb
@@ -1,54 +1,11 @@
<%= link_to 'New Client', new_host_path, class: 'btn btn-primary', role: 'button' %>
-My Clients
-
-
-
-
-
- Name |
- Uname |
- Active Jobs |
- Last Backup |
- File Ret. (days) |
- Job Ret. (days) |
- Space Used |
- Quota |
- Space Used % |
- Files |
-
-
-
-
- <%= render partial: 'client', collection: @clients %>
-
-
-
-
-<% if @hosts.any? %>
- My Pending Clients
-
-
-
-
-
- Name |
- FQDN |
- Port |
- Token |
- FileRetention (days) |
- JobRetention (days) |
- Verified |
- Created At |
-
-
-
- <%= render partial: 'hosts/host', collection: @hosts %>
-
-
-
+<% if @hosts.empty? && @clients.empty? %>
+ You have not configured any hosts yet
+<% else %>
+ <%= render partial: 'clients' if @clients.any? %>
+ <%= render partial: 'pending_clients' if @hosts.any? %>
+ <%= render partial: 'client_graphs', locals: { path: clients_path } if @clients.any? %>
<% end %>
-
-<%= render partial: 'client_graphs', locals: { path: clients_path } %>