mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-14 02:03:22 +00:00
31 lines
899 B
Django/Jinja
31 lines
899 B
Django/Jinja
<!DOCTYPE html>
|
|
<html lang="fr">
|
|
<head>
|
|
<title>{% trans %}Slideshow{% endtrans %}</title>
|
|
<link href="{{ scss('com/css/slideshow.scss') }}" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="slideshow">
|
|
|
|
<div id="slides">
|
|
{% for poster in posters %}
|
|
<div class="slide {% if loop.first %}center{% else %}right{% endif %}" display_time="{{ poster.display_time }}">
|
|
<img src="{{ poster.file.url }}"></img>
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
|
|
<div id="progress_bullets">
|
|
{% for poster in posters %}
|
|
<div class="bullet {% if loop.first %}active{% endif %}"></div>
|
|
{% endfor %}
|
|
</div>
|
|
|
|
<div id="progress_bar"></div>
|
|
|
|
</div>
|
|
<script src="{{ static('core/js/jquery-3.6.2.min.js') }}"></script>
|
|
<script src="{{ static('com/js/slideshow.js') }}"></script>
|
|
</body>
|
|
</html>
|