aboutsummaryrefslogtreecommitdiffstats
path: root/src/templates/base/resource/hosts.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/templates/base/resource/hosts.html')
-rw-r--r--src/templates/base/resource/hosts.html42
1 files changed, 0 insertions, 42 deletions
diff --git a/src/templates/base/resource/hosts.html b/src/templates/base/resource/hosts.html
deleted file mode 100644
index 9fc50ce..0000000
--- a/src/templates/base/resource/hosts.html
+++ /dev/null
@@ -1,42 +0,0 @@
-{% extends "dashboard/table.html" %}
-{% load staticfiles %}
-
-{% block table %}
- <thead>
- <tr>
- <th>Name</th>
- <th>Profile</th>
- <th>Booked</th>
- <th>Working</th>
- </tr>
- </thead>
- <tbody>
- {% for host in hosts %}
- <tr>
- <td>
- {{ host.name }}
- </td>
- <td>
- <a href="profiles/{{ host.profile.id }}">{{ host.profile }}</a>
- </td>
- <td>
- {{ host.booked|yesno:"Yes,No" }}
- </td>
- <td>
- {{ host.working|yesno:"Yes,No" }}
- </td>
- </tr>
- {% endfor %}
- </tbody>
-{% endblock table %}
-
-{% block tablejs %}
- <script type="text/javascript">
- $(document).ready(function () {
- $('#table').DataTable({
- scrollX: true,
- "order": [[0, "asc"]]
- });
- });
- </script>
-{% endblock tablejs %}