Add server description to index listing
This commit is contained in:
@@ -42,6 +42,7 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Description</th>
|
||||
<th>Memory</th>
|
||||
<th>Addresses</th>
|
||||
<th>Uptime</th>
|
||||
@@ -55,6 +56,7 @@
|
||||
<script type="text/html" id="tpl-host">
|
||||
<% var mem_usage = 100-Math.round(100*memory.free/memory.total) %>
|
||||
<td><a href="{$base_path}/servers/<%= id %>"><%= name %></a></td>
|
||||
<td><%= description || "<i>none</i>" %></td>
|
||||
<td>
|
||||
<div class="progress progress-info progress-small" title="<%= mem_usage %>%">
|
||||
<div class="bar" style="width: <%= mem_usage %>%"></div>
|
||||
|
||||
Reference in New Issue
Block a user