diff options
author | Gergely Csatari <gergely.csatari@nokia.com> | 2023-10-26 10:33:28 +0300 |
---|---|---|
committer | Gergely Csatari <gergely.csatari@nokia.com> | 2023-10-26 10:34:28 +0300 |
commit | 2ec0d7b9f5c1354977b821c6b06c24a3ffa13142 (patch) | |
tree | 6e449d92ddfc880ed007e9d8a8f25bda8fc7cb0f /src/templates/base/dashboard/landing.html | |
parent | 0d3dd290aa6e7f39e7b0b3cbe448b6622f924240 (diff) |
that the development continues in GitHub
Change-Id: I25c58a679dbf92b2367d826429b7cda936bf9f0e
Signed-off-by: Gergely Csatari <gergely.csatari@nokia.com>
Diffstat (limited to 'src/templates/base/dashboard/landing.html')
-rw-r--r-- | src/templates/base/dashboard/landing.html | 101 |
1 files changed, 0 insertions, 101 deletions
diff --git a/src/templates/base/dashboard/landing.html b/src/templates/base/dashboard/landing.html deleted file mode 100644 index 8d6a8f7..0000000 --- a/src/templates/base/dashboard/landing.html +++ /dev/null @@ -1,101 +0,0 @@ -{% extends "base.html" %} -{% load staticfiles %} - -{% block content %} - -<div class="text-center"> - {% if not request.user.is_anonymous %} - {% if not request.user.userprofile.ssh_public_key %} - <div class="alert alert-danger alertAnuket" role="alert"> - <b>Warning: you need to upload an ssh key under <a href="/accounts/settings" class="inTextLink" >account settings</a> if you wish to - log into the servers you book</b> - </div> - {% endif %} - {% else %} - {% endif %} -</div> -{% csrf_token %} - -<div class="row"> - <div class="col-12 col-lg-6 mb-4"> - <!-- About us --> - <h2 class="border-bottom">About Us</h2> - {% block about_us %} - <p>Here is some information about us!</p> - {% endblock about_us %} - {% block welcome_back %} - {% if user.is_authenticated %} - <h2 class="border-bottom">Welcome Back!</h2> - {% if bookings %} - <h5> These are your current bookings: </h5> - <ul style="list-style: none;"> - {% for book in bookings %} - <li><a href="/booking/detail/{{ book.id }}/">{{ book.purpose }}</a></li> - {% endfor %} - </ul> - {% else %} - <h5> You have no current bookings <h5> - {% endif %} - {% endif %} - {% endblock welcome_back %} - </div> - - <!-- Get started --> - <div class="col-12 col-lg-6 mb-4"> - <h2 class="border-bottom">Get Started</h2> - {% if request.user.is_anonymous %} - {% if LFID %} - <h4 class="text-center"> - To get started, please log in with <a href="{% url 'oidc_authentication_init' %}" class="inTextLink">Linux Foundation ID</a> - </h4> - {% else %} - <h4 class="text-center"> - To get started, please log in with your <a href="/accounts/login" class="inTextLink">Linux Foundation Jira account</a> - </h4> - {% endif %} - {% 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> - <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"> - <form method="post" action="" class="form" id="wf_selection_form"> - {% csrf_token %} - </form> -</div> - -{% endblock content %} |