From 9ac4459139f152f2ef750c10cdd8bdb44e5b3d88 Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.dos.anjos@gmail.com>
Date: Thu, 28 Apr 2016 16:02:11 +0200
Subject: [PATCH] [backend] Put out more info on scheduler page

---
 beat/web/backend/templates/backend/scheduler.html | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/beat/web/backend/templates/backend/scheduler.html b/beat/web/backend/templates/backend/scheduler.html
index 00a71c4ee..04e89e968 100644
--- a/beat/web/backend/templates/backend/scheduler.html
+++ b/beat/web/backend/templates/backend/scheduler.html
@@ -181,8 +181,9 @@
               <tr>
                 <th class="status"></th>
                 <th>Name</th>
-                <th>Available/Total Cores</th>
-                <th>Memory (in Gb)</th>
+                <th>Available/Total Cores (In use)</th>
+                <th>Memory (in Gb) (In use)</th>
+                <th>Last Updated</th>
                 <th>Info</th>
               </tr>
             </thead>
@@ -199,8 +200,9 @@
                   </a>
                 </td>
                 <td><a title="Click to admin" data-toggle="tooltip" data-placement="top" href="{{ obj.get_admin_change_url }}">{{ obj.name }}</a></td>
-                <td>{{ obj.available_cores }} / {{ obj.cores }}</td>
-                <td>{% widthratio obj.memory 1024 1 %}</td>
+                <td>{{ obj.available_cores }} / {{ obj.cores }} ({{ obj.used_cores }}%)</td>
+                <td>{% widthratio obj.memory 1024 1 %} ({{ obj.used_memory }}%)</td>
+                <td>{{ obj.updated|date:"H:i:s O, jS F Y" }}</td>
                 <td>{{ obj.info }}</td>
                 {% endfor %}
             </tbody>
-- 
GitLab