Skip to content

Commit

Permalink
minor styling changes for the terms of use
Browse files Browse the repository at this point in the history
  • Loading branch information
kimakan committed Aug 23, 2023
1 parent e662579 commit 3e3fd12
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
6 changes: 5 additions & 1 deletion daiquiri/auth/templates/account/terms_of_use.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,13 @@
ol > li::marker {
font-weight: bold;
}
ol > li {
margin: 2em, 0;
}
</style>

<h4>Using Webservice facilities at AIP</h4>
<h4>Using webservice facilities at AIP</h4>
<hr>
<ol>
<li>
<p>
Expand Down
26 changes: 11 additions & 15 deletions daiquiri/auth/templates/account/terms_of_use_page.html
Original file line number Diff line number Diff line change
@@ -1,26 +1,22 @@
{% extends 'core/page.html' %}
{% load i18n %}
{% load account %}
{% load socialaccount %}
{% load core_tags %}

{% block page %}

<div class="row">
{% include 'account/terms_of_use.html' %}
</div>
{% include 'account/terms_of_use.html' %}

{% if user.is_authenticated %}
<div class="row" style="margin-top:2em">
<div style="margin-top:2em">
{% if consent %}
<p><b>You have agreed to the terms of use </b></p>
<p><b>You have agreed to the terms of use </b></p>
{% else %}
<form method="post" action="{% url 'terms_of_use' %}" novalidate>
{% csrf_token %}
<input type="submit"
class="btn btn-primary"
name="consent"
value="{% trans 'I agree to the terms of use' %}" />
<form>
<form method="post" action="{% url 'terms_of_use' %}">
{% csrf_token %}
<input type="submit"
class="btn btn-primary"
name="consent"
value="{% trans 'I agree to the terms of use' %}" />
<form>
{% endif %}
</div>
{% endif %}
Expand Down

0 comments on commit 3e3fd12

Please sign in to comment.