diff --git a/_includes/carousel_end.html b/_includes/carousel_end.html index 0a36342..c0319df 100644 --- a/_includes/carousel_end.html +++ b/_includes/carousel_end.html @@ -2,11 +2,11 @@ - + Previous - + Next diff --git a/_includes/carousel_img.html b/_includes/carousel_img.html index 2eb6a27..a8c29b1 100644 --- a/_includes/carousel_img.html +++ b/_includes/carousel_img.html @@ -1,3 +1,15 @@ -
- {{ alt }} +{% if 'readthedocs.org' in config.docs_dir %} +{% set assets = '/en/latest/assets' %} +{% else %} +{% set assets = '/assets' %} +{% endif %} + +{% if 'http' in src %} +{% set img_url = src %} +{% else %} +{% set img_url = assets + '/images/' + src %} +{% endif %} + +
+ {{ alt }}
\ No newline at end of file diff --git a/_includes/carousel_start.html b/_includes/carousel_start.html index 2b953f4..a1368d2 100644 --- a/_includes/carousel_start.html +++ b/_includes/carousel_start.html @@ -11,18 +11,4 @@ diff --git a/_includes/index_carousel.html b/_includes/index_carousel.html new file mode 100644 index 0000000..449d0dd --- /dev/null +++ b/_includes/index_carousel.html @@ -0,0 +1,49 @@ +{% with image_count=11 %} +{% include "carousel_start.html" %} +{% endwith %} + +{% with src="index/part_category.png", alt="Part Categories", active=True %} +{% include "carousel_img.html" %} +{% endwith %} + +{% with src="index/part_stock.png", alt="Part Stock" %} +{% include "carousel_img.html" %} +{% endwith %} + +{% with src="index/part_suppliers.png", alt="Part Suppliers" %} +{% include "carousel_img.html" %} +{% endwith %} + +{% with src="index/stock_item.png", alt="Stock Item" %} +{% include "carousel_img.html" %} +{% endwith %} + +{% with src="index/stock_location.png", alt="Stock Location" %} +{% include "carousel_img.html" %} +{% endwith %} + +{% with src="index/stock_location_2.png", alt="Stock Location" %} +{% include "carousel_img.html" %} +{% endwith %} + +{% with src="index/suppliers.png", alt="Suppliers" %} +{% include "carousel_img.html" %} +{% endwith %} + +{% with src="index/part_admin.png", alt="Admin Interface" %} +{% include "carousel_img.html" %} +{% endwith %} + +{% with src="index/category_params.png", alt="Part Parameters" %} +{% include "carousel_img.html" %} +{% endwith %} + +{% with src="index/build_outputs.png", alt="Build Orders" %} +{% include "carousel_img.html" %} +{% endwith %} + +{% with src="index/bom_add_item.png", alt="Bill of Materials" %} +{% include "carousel_img.html" %} +{% endwith %} + +{% include "carousel_end.html" %} \ No newline at end of file diff --git a/docs/assets/images/index/bom_add_item.png b/docs/assets/images/index/bom_add_item.png new file mode 100644 index 0000000..a535629 Binary files /dev/null and b/docs/assets/images/index/bom_add_item.png differ diff --git a/docs/assets/images/index/build_details.png b/docs/assets/images/index/build_details.png new file mode 100644 index 0000000..ca5d638 Binary files /dev/null and b/docs/assets/images/index/build_details.png differ diff --git a/docs/assets/images/index/build_outputs.png b/docs/assets/images/index/build_outputs.png new file mode 100644 index 0000000..1131e4c Binary files /dev/null and b/docs/assets/images/index/build_outputs.png differ diff --git a/docs/assets/images/index/category_params.png b/docs/assets/images/index/category_params.png new file mode 100644 index 0000000..d8af8ab Binary files /dev/null and b/docs/assets/images/index/category_params.png differ diff --git a/docs/assets/images/index/category_subcats.png b/docs/assets/images/index/category_subcats.png new file mode 100644 index 0000000..a64d984 Binary files /dev/null and b/docs/assets/images/index/category_subcats.png differ diff --git a/docs/assets/images/index/part_admin.png b/docs/assets/images/index/part_admin.png new file mode 100644 index 0000000..2c1bbc6 Binary files /dev/null and b/docs/assets/images/index/part_admin.png differ diff --git a/docs/assets/images/index/part_category.png b/docs/assets/images/index/part_category.png new file mode 100644 index 0000000..283db8b Binary files /dev/null and b/docs/assets/images/index/part_category.png differ diff --git a/docs/assets/images/index/part_stock.png b/docs/assets/images/index/part_stock.png new file mode 100644 index 0000000..d056a02 Binary files /dev/null and b/docs/assets/images/index/part_stock.png differ diff --git a/docs/assets/images/index/part_suppliers.png b/docs/assets/images/index/part_suppliers.png new file mode 100644 index 0000000..799156a Binary files /dev/null and b/docs/assets/images/index/part_suppliers.png differ diff --git a/docs/assets/images/index/stock_item.png b/docs/assets/images/index/stock_item.png new file mode 100644 index 0000000..a0a1376 Binary files /dev/null and b/docs/assets/images/index/stock_item.png differ diff --git a/docs/assets/images/index/stock_location.png b/docs/assets/images/index/stock_location.png new file mode 100644 index 0000000..7d1f37a Binary files /dev/null and b/docs/assets/images/index/stock_location.png differ diff --git a/docs/assets/images/index/stock_location_2.png b/docs/assets/images/index/stock_location_2.png new file mode 100644 index 0000000..04b4388 Binary files /dev/null and b/docs/assets/images/index/stock_location_2.png differ diff --git a/docs/assets/images/index/suppliers.png b/docs/assets/images/index/suppliers.png new file mode 100644 index 0000000..e36f8ab Binary files /dev/null and b/docs/assets/images/index/suppliers.png differ diff --git a/docs/index.md b/docs/index.md index 052ae27..a4730f2 100644 --- a/docs/index.md +++ b/docs/index.md @@ -2,7 +2,7 @@ title: InvenTree --- -## Intuitive Inventory Management +## InvenTree [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![GitHub Repo stars](https://img.shields.io/github/stars/inventree/inventree?label=View%20On%20GitHub&style=social)](https://github.com/inventree/inventree) @@ -13,12 +13,7 @@ InvenTree is an open-source inventory management system which provides intuitive InvenTree is designed to be lightweight and easy to use for SME or hobbyist applications, where many existing stock management solutions are bloated and cumbersome to use. However, powerful business logic works in the background to ensure that stock tracking history is maintained, and users have ready access to stock level information. -{% with image_count=7 %} -{% include "carousel_start.html" %} -{% endwith %} - -{% include "carousel_end.html" %} - +{% include "index_carousel.html" %} ### How it Works