Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
stolpeo committed Jan 14, 2025
1 parent c2b655e commit b6f6fb9
Showing 1 changed file with 26 additions and 18 deletions.
44 changes: 26 additions & 18 deletions usersec/templates/usersec/hpcgroupinvitation_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,35 @@

{% block content %}

<h1>
You've been invited to the BIH cluster to join group
<span class="text-danger">{{ object.hpcusercreaterequest.group.name }}</span>
</h1>
<h2 class="mt-4">
You've been invited to the BIH cluster
</h2>

<h3 class="mt-4">Terms &amp; Conditions</h3>
<p class="lead">
You've been invited to the HPC cluster to join the group
<strong>{{ object.hpcusercreaterequest.group.name }}</strong>.
You can accept or reject the invitation below.
Please confirm any conditions.
</p>

{% for obj in terms_list %}
<h4 class="mt-4">{{ obj.title }}</h4>
<p>{{ obj.text }}</p>
<div class="input-group mb-4">
<span class="input-group-text">
<input type="checkbox" class="form-check-input m-0 consent" name="consent{{ forloop.counter }}" id="id_consent{{ forloop.counter }}">
</span>
<label for="id_consent{{ forloop.counter }}">
<span class="form-control fw-bold">
I consent to <em>{{ obj.title }}</em>.
{% if terms_list %}
<h3 class="mt-4">Terms &amp; Conditions</h3>

{% for obj in terms_list %}
<h4 class="mt-4">{{ obj.title }}</h4>
<p>{{ obj.text }}</p>
<div class="input-group mb-4">
<span class="input-group-text">
<input type="checkbox" class="form-check-input m-0 consent" name="consent{{ forloop.counter }}" id="id_consent{{ forloop.counter }}">
</span>
</label>
</div>
{% endfor %}
<label for="id_consent{{ forloop.counter }}">
<span class="form-control fw-bold">
I consent to <em>{{ obj.title }}</em>.
</span>
</label>
</div>
{% endfor %}
{% endif %}

<a
class="btn btn-success disabled"
Expand Down

0 comments on commit b6f6fb9

Please sign in to comment.