Adds gallery to functions page
@ -26,6 +26,35 @@
|
||||
{% if include.image %}
|
||||
<img class="object-cover object-center rounded" alt="hero" src="{{ include.image }}">
|
||||
{% endif %}
|
||||
{% if include.gallery %}
|
||||
<section id='image-carousel' class='splide'>
|
||||
<div class='splide__track'>
|
||||
<ul class='splide__list' style='list-style-type: none; list-style: none;'>
|
||||
{% for image in site.static_files %}
|
||||
{% if image.path contains include.gallery %}
|
||||
<li class='splide__slide'>
|
||||
<img src="{{ image.path | relative_url }}" alt="" />
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{% if include.gallery %}
|
||||
<script>
|
||||
document.addEventListener( 'DOMContentLoaded', function () {
|
||||
new Splide('#image-carousel', {
|
||||
type: 'loop',
|
||||
perPage: 1,
|
||||
autoPlay: true,
|
||||
pagination: false,
|
||||
}).mount();
|
||||
});
|
||||
</script>
|
||||
|
||||
{% endif %}
|
||||
|
BIN
assets/webgallery/bom_add_item.png
Normal file
After Width: | Height: | Size: 98 KiB |
BIN
assets/webgallery/build_details.png
Normal file
After Width: | Height: | Size: 111 KiB |
BIN
assets/webgallery/build_outputs.png
Normal file
After Width: | Height: | Size: 89 KiB |
BIN
assets/webgallery/category_params.png
Normal file
After Width: | Height: | Size: 46 KiB |
BIN
assets/webgallery/category_subcats.png
Normal file
After Width: | Height: | Size: 40 KiB |
BIN
assets/webgallery/manufacturers.png
Normal file
After Width: | Height: | Size: 53 KiB |
BIN
assets/webgallery/part_admin.png
Normal file
After Width: | Height: | Size: 44 KiB |
BIN
assets/webgallery/part_category.png
Normal file
After Width: | Height: | Size: 73 KiB |
BIN
assets/webgallery/part_stock.png
Normal file
After Width: | Height: | Size: 82 KiB |
BIN
assets/webgallery/part_suppliers.png
Normal file
After Width: | Height: | Size: 67 KiB |
BIN
assets/webgallery/stock_item.png
Normal file
After Width: | Height: | Size: 49 KiB |
BIN
assets/webgallery/stock_item_2.png
Normal file
After Width: | Height: | Size: 69 KiB |
BIN
assets/webgallery/stock_location.png
Normal file
After Width: | Height: | Size: 41 KiB |
BIN
assets/webgallery/stock_location_2.png
Normal file
After Width: | Height: | Size: 85 KiB |
BIN
assets/webgallery/suppliers.png
Normal file
After Width: | Height: | Size: 32 KiB |
@ -3,8 +3,7 @@ layout: default
|
||||
permalink: /functions
|
||||
---
|
||||
|
||||
{% include block/hero.html title='A wealth of functions' title_2='is provided' image='https://dummyimage.com/860x600' color='by default with InvenTree' detail='By default InvenTree ships with a lot of functions in the area of part, inventory, supplier, manufacturer, machine and BOM managment.
|
||||
It also enables reports, is extendible and can be extended with plugins.' %}
|
||||
{% include block/hero.html title='A wealth of functions' title_2='provided' gallery='webgallery/' color='out of the box' detail='InvenTree ships with a wide range of functions for managing parts, inventory, supplier and manufacturer data, machine and BOM managment <em>and so much more</em>!<br>It also enables reports, can be integrated with external applications and can be extended with plugins.' %}
|
||||
|
||||
{% include block/functions.html data=site.data.functions.general extend=true no_link=true padding=false %}
|
||||
{% include block/functions.html data=site.data.functions.extras extend=true padding=false %}
|
||||
|