aboutsummaryrefslogtreecommitdiffstats
path: root/src/templates/base/dashboard/landing.html
diff options
context:
space:
mode:
authorJustin Choquette <jchoquette@iol.unh.edu>2023-06-08 12:46:53 -0400
committerJustin Choquette <jchoquette@iol.unh.edu>2023-07-21 13:17:51 -0400
commita09db9f287a02873c0226759f8ea444bb304cd59 (patch)
tree59e744e4b998973a808abbae2d21fbdd6201d829 /src/templates/base/dashboard/landing.html
parent8ddc7e820e120f1dde4e901d3cb6f1dd3f281e65 (diff)
LaaS 3.0 Almost MVP
Change-Id: Ided9a43cf3088bb58a233dc459711c03f43e11b8 Signed-off-by: Justin Choquette <jchoquette@iol.unh.edu>
Diffstat (limited to 'src/templates/base/dashboard/landing.html')
-rw-r--r--src/templates/base/dashboard/landing.html35
1 files changed, 5 insertions, 30 deletions
diff --git a/src/templates/base/dashboard/landing.html b/src/templates/base/dashboard/landing.html
index 8d6a8f7..fea4deb 100644
--- a/src/templates/base/dashboard/landing.html
+++ b/src/templates/base/dashboard/landing.html
@@ -56,40 +56,15 @@
{% 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 p-4 btnAnuket" href="/booking/quick/" >
- Book a Resource
+ <a class="btn btn-primary btn-lg d-flex flex-column justify-content-center align-content-center border p-4 btnAnuket" href="{% url 'workflow:book_a_pod' %}" >
+ Book a Pod
+ </a>
+ <a class="btn btn-primary btn-lg d-flex flex-column justify-content-center align-content-center border p-4 btnAnuket" href="{% url 'workflow:design_a_pod' %}" >
+ Design a Pod
</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
- below:
- </p>
- <div class="btn-group-vertical w-100">
- <button class="btn btn-primary btnAnuket" onclick="create_workflow(0)">Book a Pod</button>
- <button class="btn btn-primary btnAnuket" onclick="create_workflow(1)">Design 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>
- <div class="btn-group-vertical w-100">
- <button class="btn btn-primary btnAnuket" onclick="create_workflow(3)">Snapshot a Host</button>
- <a class="btn btn-primary btnAnuket" href="{% url 'account:my-bookings' %}">
- My Bookings
- </a>
- {% if manager == True %}
- <button class="btn btn-primary" onclick="continue_workflow()">
- Resume Workflow
- </button>
- {% endif %}
- </div>
- </div>
- {% endblock returningUsers %}
- {% endif %}
</div>
<div class="hidden_form d-none" id="form_div">