diff options
Diffstat (limited to 'src/templates/akraino')
-rw-r--r-- | src/templates/akraino/base.html | 24 | ||||
-rw-r--r-- | src/templates/akraino/booking/quick_deploy.html | 11 | ||||
-rw-r--r-- | src/templates/akraino/dashboard/landing.html | 22 | ||||
-rw-r--r-- | src/templates/akraino/layout.html | 5 |
4 files changed, 62 insertions, 0 deletions
diff --git a/src/templates/akraino/base.html b/src/templates/akraino/base.html new file mode 100644 index 0000000..1368476 --- /dev/null +++ b/src/templates/akraino/base.html @@ -0,0 +1,24 @@ +{% 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/quick_deploy.html b/src/templates/akraino/booking/quick_deploy.html new file mode 100644 index 0000000..56a4791 --- /dev/null +++ b/src/templates/akraino/booking/quick_deploy.html @@ -0,0 +1,11 @@ +{% extends "base/booking/quick_deploy.html" %} +{% block opnfv %} +{% endblock opnfv %} +{% 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 %} diff --git a/src/templates/akraino/dashboard/landing.html b/src/templates/akraino/dashboard/landing.html new file mode 100644 index 0000000..d7f434b --- /dev/null +++ b/src/templates/akraino/dashboard/landing.html @@ -0,0 +1,22 @@ +{% 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 new file mode 100644 index 0000000..d30ddb6 --- /dev/null +++ b/src/templates/akraino/layout.html @@ -0,0 +1,5 @@ +{% extends "base/layout.html" %} + +{% block head-title %} +<title>Akraino Dashboard</title> +{% endblock head-title %} |