aboutsummaryrefslogtreecommitdiffstats
path: root/src/templates/base
diff options
context:
space:
mode:
authorssmith <ssmith@iol.unh.edu>2020-06-18 18:30:39 -0400
committerssmith <ssmith@iol.unh.edu>2020-06-23 12:31:15 -0400
commit596664b37c17b31f2b5faa0d5144e4317179e0ba (patch)
tree77f73b960d3486cc3da8fc1d60bfd81ce17ca588 /src/templates/base
parentf96012fae9a106228ad80671a8c66476834a50db (diff)
Enable OpenID
Signed-off-by: Sean Smith <ssmith@iol.unh.edu> Change-Id: I4397976dbafce1d9d1cccc52f0e705891e59153a
Diffstat (limited to 'src/templates/base')
-rw-r--r--src/templates/base/base.html2
-rw-r--r--src/templates/base/dashboard/landing.html2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/templates/base/base.html b/src/templates/base/base.html
index cc6d38d..f86cff8 100644
--- a/src/templates/base/base.html
+++ b/src/templates/base/base.html
@@ -44,6 +44,7 @@
{% endif %}
<i class="fas fa-caret-down rotate"></i>
</a>
+ {% block login %}
<div class="dropdown-menu dropdown-menu-right">
{% if user.is_authenticated %}
<a href="{% url 'account:settings' %}" class="text-dark dropdown-item">
@@ -61,6 +62,7 @@
</a>
{% endif %}
</div>
+ {% endblock login %}
</li>
</ul>
</div>
diff --git a/src/templates/base/dashboard/landing.html b/src/templates/base/dashboard/landing.html
index dd09dc4..c46b0fa 100644
--- a/src/templates/base/dashboard/landing.html
+++ b/src/templates/base/dashboard/landing.html
@@ -28,9 +28,11 @@
<div class="col-12 col-lg-6 mb-4">
<h2 class="border-bottom">Get Started</h2>
{% if request.user.is_anonymous %}
+ {% block biglogin %}
<h4 class="text-center">
To get started, please log in with your <a href="/accounts/login">Linux Foundation Jira account</a>
</h4>
+ {% endblock biglogin %}
{% else %}
{% block btnGrp %}
<p>To get started, book a server below:</p>