Skip to content

Commit

Permalink
CONCD-482 Bootstrap carousel
Browse files Browse the repository at this point in the history
  • Loading branch information
rasarkar committed Oct 4, 2023
1 parent d8f541b commit 5b384c8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions concordia/templates/transcriptions/asset_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -705,24 +705,24 @@ <h5 class="modal-title">Are you sure?</h5>
<div class="modal-content">
<div class="modal-header"></div>
<div class="modal-body">
<div id="card-carousel">
<div id="card-carousel" class="carousel slide container">
<div class="carousel-inner">
{% for card in cards %}
<div class="carousel-item">
<div class="carousel-item {% if forloop.first %} active {% endif %}">
<img src="{{ card.image }}">
<h2>{{ card.title }}</h2>
{{ card.body_text }}
</div>
{% endfor %}
</div>
<ol class="carousel-indicators d-none d-lg-flex modal-footer justify-content-center">
<a>< Back</a>
<ol class="carousel-indicators d-none d-lg-flex">
<a class="carousel-control-prev" href="#card-carousel" role="button" data-slide="prev">< Back</a>
<ol>
{% for card in cards %}
<li></li>
<li data-target="#card-carousel" data-slide-to="{{ forloop.counter0 }}" {% if forloop.first %}class="active" {% endif %}></li>
{% endfor %}
</ol>
<a>Next ></a>
<a class="carousel-control-next" href="#card-carousel" data-slide="next">Next ></a>
</ol>
</div>
</div>
Expand Down

0 comments on commit 5b384c8

Please sign in to comment.