diff options
author | Adam LeBlanc <aleblanc@iol.unh.edu> | 2020-03-05 12:37:38 -0500 |
---|---|---|
committer | Adam LeBlanc <aleblanc@iol.unh.edu> | 2020-03-12 14:07:06 -0400 |
commit | 176ec9aacbc87e6077e8807c60f95a1ccbbc26e3 (patch) | |
tree | a3fa9455b640637eaa513c7da8da40ad76a97b94 /src/templates/base/dashboard/landing.html | |
parent | 8eab4c4a801a367f74347627c19dd721f75c7a62 (diff) |
Add akraino template for dashboard
Signed-off-by: Adam LeBlanc <aleblanc@iol.unh.edu>
Change-Id: I02242e00779bcae7cd7622c2e891e4199c8d0e71
Signed-off-by: Adam LeBlanc <aleblanc@iol.unh.edu>
Diffstat (limited to 'src/templates/base/dashboard/landing.html')
-rw-r--r-- | src/templates/base/dashboard/landing.html | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/templates/base/dashboard/landing.html b/src/templates/base/dashboard/landing.html index 9e45b09..dd09dc4 100644 --- a/src/templates/base/dashboard/landing.html +++ b/src/templates/base/dashboard/landing.html @@ -32,9 +32,9 @@ To get started, please log in with your <a href="/accounts/login">Linux Foundation Jira account</a> </h4> {% else %} + {% block btnGrp %} <p>To get started, book a server below:</p> - <a class="btn btn-primary btn-lg d-flex flex-column justify-content-center align-content-center border text-white p-4" - href="/booking/quick/"> + <a class="btn btn-primary btn-lg d-flex flex-column justify-content-center align-content-center border text-white p-4" href="/booking/quick/"> Book a Server </a> <p class="mt-4">PTLs can use our advanced options to book multi-node pods. If you are a PTL, you may use the options @@ -45,11 +45,13 @@ <button class="btn btn-primary" onclick="create_workflow(1)">Design a Pod</button> <button class="btn btn-primary" onclick="create_workflow(2)">Configure a Pod</button> </div> + {% endblock btnGrp %} {% endif %} </div> <!-- Returning users --> {% if not request.user.is_anonymous %} + {% block returningUsers %} <div class="col-12 col-lg-6 offset-lg-6 mb-4 mt-lg-4"> <h2 class="ht-4 border-bottom">Returning Users</h2> <p>If you're a returning user, some of the following options may be of interest:</p> @@ -65,6 +67,7 @@ {% endif %} </div> </div> + {% endblock returningUsers %} {% endif %} </div> |