diff options
author | Adam Hassick <ahassick@iol.unh.edu> | 2021-03-16 14:18:31 -0400 |
---|---|---|
committer | Adam Hassick <ahassick@iol.unh.edu> | 2021-03-17 15:23:00 -0400 |
commit | babedf30038b453ea7d123c9bb744f4acb14e625 (patch) | |
tree | bb34d03e56f134941e85bd374b7c074e2c3727af /src/templates/akraino | |
parent | 8a902d357fa6eca07384d25fac32a6e0521a63e5 (diff) |
Added LF Edge template overrides.
Signed-off-by: Adam Hassick <ahassick@iol.unh.edu>
Change-Id: If119646eee67fb7e145c5e92e64fa4f28a947dbe
Diffstat (limited to 'src/templates/akraino')
-rw-r--r-- | src/templates/akraino/base.html | 24 | ||||
-rw-r--r-- | src/templates/akraino/booking/booking_table.html | 41 | ||||
-rw-r--r-- | src/templates/akraino/booking/quick_deploy.html | 28 | ||||
-rw-r--r-- | src/templates/akraino/dashboard/landing.html | 23 | ||||
-rw-r--r-- | src/templates/akraino/layout.html | 5 |
5 files changed, 0 insertions, 121 deletions
diff --git a/src/templates/akraino/base.html b/src/templates/akraino/base.html deleted file mode 100644 index 1368476..0000000 --- a/src/templates/akraino/base.html +++ /dev/null @@ -1,24 +0,0 @@ -{% extends "base/base.html" %} -{% load staticfiles %} -{% block bgColor %} -<style> -.bgAkr { - background: #d9c2f2; -} -</style> -<nav class="navbar navbar-light bgAkr navbar-fixed-top border-bottom py-0 mb-0" role="navigation"> -{% endblock bgColor %} - -{% block logo %} -<div class="col-12 col-sm order-1 order-sm-2 text-center text-lg-left"> - <a href="https://www.lfedge.org/projects/akraino/" class="navbar-brand"> - <img src="{% static "img/akraino_logo.logo" %}"> - </a> - - <a class="navbar-brand d-none d-lg-inline" href={% url 'dashboard:index' %}> - Akraino Dashboard - </a> -</div> -{% endblock logo %} -{% block dropDown %} -{% endblock dropDown %} diff --git a/src/templates/akraino/booking/booking_table.html b/src/templates/akraino/booking/booking_table.html deleted file mode 100644 index 4afb4d2..0000000 --- a/src/templates/akraino/booking/booking_table.html +++ /dev/null @@ -1,41 +0,0 @@ -{% load jira_filters %} - - -<thead> -<tr> - <th>Owner</th> - <th>Purpose</th> - <th>Project</th> - <th>Start</th> - <th>End</th> - <th>Operating System</th> - <th>Pod</th> -</tr> -</thead> -<tbody> -{% for booking in bookings %} - <tr> - <td> - {{ booking.owner.username }} - </td> - <td> - {{ booking.purpose }} - </td> - <td> - {{ booking.project }} - </td> - <td> - {{ booking.start }} - </td> - <td> - {{ booking.end }} - </td> - <td> - {{ booking.resource.get_head_node.config.image.os.name }} - </td> - <td> - {{ booking.resource.get_template_name }} - </td> - </tr> -{% endfor %} -</tbody> diff --git a/src/templates/akraino/booking/quick_deploy.html b/src/templates/akraino/booking/quick_deploy.html deleted file mode 100644 index c3e519f..0000000 --- a/src/templates/akraino/booking/quick_deploy.html +++ /dev/null @@ -1,28 +0,0 @@ -{% extends "base/booking/quick_deploy.html" %} -{% block opnfv %} -{% endblock opnfv %} -{% block form-text %} -<p class="my-0"> - Please select a host type you wish to book. - Only available types are shown. - More information can be found here: - <a href="https://wiki.akraino.org/display/AK/Shared+Community+Lab">Akraino Wiki</a>. - If something isn't working right, let us know <a href="mailto:{{contact_email}}"> here! </a> -</p> -{% endblock form-text %} -{% block collab %} -<div class="col-12 col-lg-4 my-2"> - <div class="col border rounded py-2 h-100"> - <label>Collaborators</label> - {{ form.users }} - </div> -</div> -{% endblock collab %} - -{% block image_script %} - <script type="text/javascript"> - document.getElementById("id_image").disabled = true; - document.getElementById("id_image").style.display = 'none'; - document.getElementById("id_image").previousElementSibling.style.display = 'none'; - </script> -{% endblock image_script %} diff --git a/src/templates/akraino/dashboard/landing.html b/src/templates/akraino/dashboard/landing.html deleted file mode 100644 index 5533469..0000000 --- a/src/templates/akraino/dashboard/landing.html +++ /dev/null @@ -1,23 +0,0 @@ -{% extends "base/dashboard/landing.html" %} -{% block about_us %} - <p>The Shared Community Lab at the IOL aims to help development and testing of LFN projects by hosting hardware and providing access to the community.</p> - <p>To get started, you can request access to a server at the right.</p> -{% endblock about_us %} - -{% block btnGrp %} -<style> -.btnAkr { - color: #fff; - background-color: #39c0c0; -} -.btnAkr:hover{ - color: #fff; - background-color: #259a9a; -} -</style> -<p>To get started, book a pod below:</p> -<a class="btn btnAkr btn-lg d-flex flex-column justify-content-center align-content-center border text-white p-4" href="/booking/quick/">Book a Pod</a> -{% endblock btnGrp %} - -{% block returningUsers %} -{% endblock returningUsers %} diff --git a/src/templates/akraino/layout.html b/src/templates/akraino/layout.html deleted file mode 100644 index d30ddb6..0000000 --- a/src/templates/akraino/layout.html +++ /dev/null @@ -1,5 +0,0 @@ -{% extends "base/layout.html" %} - -{% block head-title %} -<title>Akraino Dashboard</title> -{% endblock head-title %} |