diff options
Diffstat (limited to 'src/templates/base/dashboard/landing.html')
-rw-r--r-- | src/templates/base/dashboard/landing.html | 35 |
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"> |