diff options
Diffstat (limited to 'src/templates/base/dashboard')
-rw-r--r-- | src/templates/base/dashboard/landing.html | 7 | ||||
-rw-r--r-- | src/templates/base/dashboard/table.html | 8 |
2 files changed, 9 insertions, 6 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> diff --git a/src/templates/base/dashboard/table.html b/src/templates/base/dashboard/table.html index 2b4628e..c55a011 100644 --- a/src/templates/base/dashboard/table.html +++ b/src/templates/base/dashboard/table.html @@ -4,11 +4,11 @@ {% block extrahead %} {{ block.super }} <!-- DataTables CSS --> - <link href="{% static "bower_components/datatables.net-bs4/css/dataTables.bootstrap4.min.css" %}" + <link href="{% static "node_modules/datatables.net-bs4/css/dataTables.bootstrap4.min.css" %}" rel="stylesheet"> <!-- DataTables Responsive CSS --> - <link href="{% static "bower_components/datatables.net-responsive-bs4/css/responsive.bootstrap4.min.css" %}" + <link href="{% static "node_modules/datatables.net-responsive-bs4/css/responsive.bootstrap4.min.css" %}" rel="stylesheet"> {% endblock extrahead %} @@ -29,8 +29,8 @@ {% block extrajs %} <!-- DataTables JavaScript --> - <script src={% static "bower_components/datatables.net/js/jquery.dataTables.min.js" %}></script> - <script src={% static "bower_components/datatables.net-bs4/js/dataTables.bootstrap4.min.js" %}></script> + <script src={% static "node_modules/datatables.net/js/jquery.dataTables.min.js" %}></script> + <script src={% static "node_modules/datatables.net-bs4/js/dataTables.bootstrap4.min.js" %}></script> <script src={% static "js/dataTables-sort.js" %}></script> |