summaryrefslogtreecommitdiffstats
path: root/pharos-dashboard/templates/dashboard/server_table.html
diff options
context:
space:
mode:
Diffstat (limited to 'pharos-dashboard/templates/dashboard/server_table.html')
-rw-r--r--pharos-dashboard/templates/dashboard/server_table.html30
1 files changed, 30 insertions, 0 deletions
diff --git a/pharos-dashboard/templates/dashboard/server_table.html b/pharos-dashboard/templates/dashboard/server_table.html
new file mode 100644
index 0000000..d47e520
--- /dev/null
+++ b/pharos-dashboard/templates/dashboard/server_table.html
@@ -0,0 +1,30 @@
+<thead>
+<tr>
+ <th>Server</th>
+ <th>Model</th>
+ <th>CPU</th>
+ <th>RAM</th>
+ <th>Storage</th>
+</tr>
+</thead>
+<tbody>
+{% for server in resource.server_set.all %}
+ <tr>
+ <th>
+ {{ server.name }}
+ </th>
+ <th>
+ {{ server.model }}
+ </th>
+ <th>
+ {{ server.cpu }}
+ </th>
+ <th>
+ {{ server.ram }}
+ </th>
+ <th>
+ {{ server.storage }}
+ </th>
+ </tr>
+{% endfor %}`
+</tbody> \ No newline at end of file