mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-22 14:13:21 +00:00
Fix broken screen slideshow
This commit is contained in:
parent
0eaa20e09d
commit
fbcacb24f8
@ -2,7 +2,9 @@
|
|||||||
<html lang="fr">
|
<html lang="fr">
|
||||||
<head>
|
<head>
|
||||||
<title>{% trans %}Slideshow{% endtrans %}</title>
|
<title>{% trans %}Slideshow{% endtrans %}</title>
|
||||||
<link href="{{ static('com/css/slideshow.scss') }}" rel="stylesheet" type="text/css" />
|
<link href="{{ static('css/slideshow.scss') }}" rel="stylesheet" type="text/css" />
|
||||||
|
<script src="{{ static('webpack/jquery-index.js') }}"></script>
|
||||||
|
<script src="{{ static('com/js/slideshow.js') }}"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="slideshow">
|
<div id="slideshow">
|
||||||
@ -10,7 +12,7 @@
|
|||||||
<div id="slides">
|
<div id="slides">
|
||||||
{% for poster in posters %}
|
{% for poster in posters %}
|
||||||
<div class="slide {% if loop.first %}center{% else %}right{% endif %}" display_time="{{ poster.display_time }}">
|
<div class="slide {% if loop.first %}center{% else %}right{% endif %}" display_time="{{ poster.display_time }}">
|
||||||
<img src="{{ poster.file.url }}"></img>
|
<img src="{{ poster.file.url }}">
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
@ -24,7 +26,5 @@
|
|||||||
<div id="progress_bar"></div>
|
<div id="progress_bar"></div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<script src="{{ static('core/js/jquery-3.6.2.min.js') }}"></script>
|
|
||||||
<script src="{{ static('com/js/slideshow.js') }}"></script>
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -1,30 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html lang="fr">
|
|
||||||
<head>
|
|
||||||
<title>{% trans %}Slideshow{% endtrans %}</title>
|
|
||||||
<link href="{{ static('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>
|
|
Loading…
Reference in New Issue
Block a user