diff options
author | Gergely Csatari <gergely.csatari@nokia.com> | 2023-10-26 10:33:28 +0300 |
---|---|---|
committer | Gergely Csatari <gergely.csatari@nokia.com> | 2023-10-26 10:34:28 +0300 |
commit | 2ec0d7b9f5c1354977b821c6b06c24a3ffa13142 (patch) | |
tree | 6e449d92ddfc880ed007e9d8a8f25bda8fc7cb0f /src/templates/base/resource/hosts.html | |
parent | 0d3dd290aa6e7f39e7b0b3cbe448b6622f924240 (diff) |
that the development continues in GitHub
Change-Id: I25c58a679dbf92b2367d826429b7cda936bf9f0e
Signed-off-by: Gergely Csatari <gergely.csatari@nokia.com>
Diffstat (limited to 'src/templates/base/resource/hosts.html')
-rw-r--r-- | src/templates/base/resource/hosts.html | 42 |
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 %} |