mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-12 10:05:39 +00:00
.devcontainer
.devops
.github
.vscode
assets
contrib
docs
_includes
overrides
app_img.html
carousel.html
django.html
img.html
release_table.html
splide_image.html
ci
docs
.gitignore
LICENSE
README.md
__init__.py
extract_schema.py
main.py
mkdocs.yml
mlc_config.json
requirements.in
requirements.txt
src
.git-blame-ignore-revs
.gitattributes
.gitignore
.pkgr.yml
.pre-commit-config.yaml
CONTRIBUTING.md
LICENSE
Procfile
README.md
SECURITY.md
biome.json
codecov.yml
crowdin.yml
pyproject.toml
readthedocs.yml
requirements.txt
runtime.txt
tasks.py
* Add documentation under docs/ directory * Add CI workflow for mkdocs configuration checking * Add documentation issue template * update pip-tools? * Update .gitignore files * Fix .gitignore rules * Improve release notes page * remove references to old repo
33 lines
844 B
HTML
33 lines
844 B
HTML
<div class='splide'>
|
|
<div class='splide__track'>
|
|
<ul class='splide__list'>
|
|
{% for img in listimages(directory) %}
|
|
{% with src=img %}
|
|
{% include "splide_image.html" %}
|
|
{% endwith %}
|
|
{% endfor %}
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
<script>
|
|
document.addEventListener( 'DOMContentLoaded', function () {
|
|
new Splide(
|
|
'.splide', {
|
|
type: 'loop',
|
|
perPage: {{ per_page }},
|
|
autoplay: true,
|
|
pagination: false,
|
|
// cover: true,
|
|
// autoWidth: true,
|
|
height: '25rem',
|
|
focus: 'center',
|
|
padding: {
|
|
left: '5rem',
|
|
right: '5rem',
|
|
}
|
|
}
|
|
).mount();
|
|
} );
|
|
</script>
|