mirror of
https://github.com/inventree/inventree-docs.git
synced 2025-06-12 02:05:29 +00:00
Add a carousel for the app index page
This commit is contained in:
37
_includes/app_carousel.html
Normal file
37
_includes/app_carousel.html
Normal file
@ -0,0 +1,37 @@
|
||||
{% with image_count=8 %}
|
||||
{% include "carousel_start.html" %}
|
||||
{% endwith %}
|
||||
|
||||
{% with src="app/screenshots/screen_1.jpg", alt="App screenshot", active=True%}
|
||||
{% include "carousel_img.html" %}
|
||||
{% endwith %}
|
||||
|
||||
{% with src="app/screenshots/screen_2.jpg", alt="App screenshot" %}
|
||||
{% include "carousel_img.html" %}
|
||||
{% endwith %}
|
||||
|
||||
{% with src="app/screenshots/screen_3.jpg", alt="App screenshot" %}
|
||||
{% include "carousel_img.html" %}
|
||||
{% endwith %}
|
||||
|
||||
{% with src="app/screenshots/screen_4.jpg", alt="App screenshot" %}
|
||||
{% include "carousel_img.html" %}
|
||||
{% endwith %}
|
||||
|
||||
{% with src="app/screenshots/screen_5.jpg", alt="App screenshot" %}
|
||||
{% include "carousel_img.html" %}
|
||||
{% endwith %}
|
||||
|
||||
{% with src="app/screenshots/screen_6.jpg", alt="App screenshot" %}
|
||||
{% include "carousel_img.html" %}
|
||||
{% endwith %}
|
||||
|
||||
{% with src="app/screenshots/screen_7.jpg", alt="App screenshot" %}
|
||||
{% include "carousel_img.html" %}
|
||||
{% endwith %}
|
||||
|
||||
{% with src="app/screenshots/screen_8.jpg", alt="App screenshot" %}
|
||||
{% include "carousel_img.html" %}
|
||||
{% endwith %}
|
||||
|
||||
{% include "carousel_end.html" %}
|
@ -11,5 +11,5 @@
|
||||
{% endif %}
|
||||
|
||||
<div class='item{% if active %} active{% endif %}'>
|
||||
<img src='{{ img_url }}' alt='{{ alt }}' style='width: 100%'>
|
||||
<img class='center' src='{{ img_url }}' alt='{{ alt }}' style='{% if max_height %}max-height: {{ max_height }}; {% endif %}'>
|
||||
</div>
|
Reference in New Issue
Block a user