Skip to content

Commit

Permalink
interface improvement for list
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeygrigorev committed Sep 17, 2024
1 parent 78437ac commit ff1e9e0
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions courses/templates/projects/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,20 @@ <h2 class="mb-3 text-center">Projects of {{ project.title }}</h2>

{% for submission in submissions %}
<div class="p-2 border-bottom {% cycle 'bg-white' 'bg-light' %}">
<div class="d-flex justify-content-between align-items-center">
<div>
<strong>Project by:</strong> {{ submission.enrollment.display_name }} <br/>
<strong>Projet link:</strong> <a href="{{ submission.github_link }}" target="_blank">{{ submission.github_link }}</a>
</div>
<div class="d-flex justify-content-between align-items-center text-decoration-none">
<a href="{{ submission.github_link }}" target="_blank">
<div>
{{ submission.enrollment.display_name }}
<span
class="ms-2"
data-bs-toggle="tooltip"
data-bs-placement="bottom"
title="{{ submission.github_link }}">
<i class="fas fa-external-link-alt"></i>
</span>
</div>
</a>

{% if is_authenticated %}
<div>
{% if submission.to_evaluate %}
Expand Down

0 comments on commit ff1e9e0

Please sign in to comment.