Skip to content

Commit

Permalink
add some padding around invate table
Browse files Browse the repository at this point in the history
  • Loading branch information
jpelay committed Jun 3, 2024
1 parent 8f317b7 commit 67bc2b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/class-overview.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ <h2>{{ _('teachers')}}</h2>
<button class="green-btn w-40 mt-4" data-cy="add_second_teacher" _="on click call hedyApp.invite_student('{{class_info.id}}', {{_('second_teacher_prompt')|default(None)|tojson}}, '/invite-second-teacher')">{{_('invite_teacher')}}</button>
{% endif %}
{% if invites %}
<div data-cy="invites_block" class="pt-4">
<div data-cy="invites_block" class="pt-4 mb-6">
<h2>{{_('pending_invites')}}</h2>
<div class="w-full overflow-x-auto border rounded-lg">
<table class="w-full">
Expand All @@ -116,7 +116,7 @@ <h2>{{_('pending_invites')}}</h2>
<td class="p-2 text-center font-medium text-blue-900">{{invite.invited_as_text}}</td>
<td class="p-2 text-center font-medium text-blue-900">{{invite.timestamp}}</td>
<td class="p-2 text-center font-medium text-blue-900">{{invite.expire_timestamp}}</td>
{% if not is_second_teacher %}<td class="p-2 text-center font-medium text-blue-900" data-y="remove_user_invitation"><a href="#" onclick='hedyApp.remove_student_invite("{{invite.username}}", "{{ class_info.id }}", {{_('delete_invite_prompt')|default(None)|tojson}})'><i class="fa-solid fa-trash text-red-500"></a></td>{% endif %}
{% if not is_second_teacher %}<td class="p-2 text-center font-medium text-blue-900"><a href="#" data-cy="remove_user_invitation" onclick='hedyApp.remove_student_invite("{{invite.username}}", "{{ class_info.id }}", {{_('delete_invite_prompt')|default(None)|tojson}})'><i class="fa-solid fa-trash text-red-500"></a></td>{% endif %}
</tr>
{% endfor %}
</tbody>
Expand Down

0 comments on commit 67bc2b0

Please sign in to comment.