Zensical Refactor (#300)
* refactor into zensical * adjust nav layout * more nav changes * update features page * open external hero links in new tab * consolidate small pages * add legacy page redirects * tweak content * further cleanup * adjust netlify config * disable redirect * remove redirect script * fix tag splitting for plugins * Display plugin metadata on left-hand side * revert icon changes * move gallery to index page * Add page deascriptions * fix image size for carousel * adjust theme
No files matched your search
@@ -5,7 +5,7 @@ from urllib.request import urlopen, Request
|
||||
|
||||
inp_project = os.environ.get('PROJECT').strip()
|
||||
inp_author = os.environ.get('AUTHOR').strip()
|
||||
file_name = Path(f'_repo/{inp_project}.md')
|
||||
file_name = Path(f'docs/plugins/{inp_project}.md')
|
||||
crowdin_projet_id = 452300
|
||||
|
||||
print(f'Collecting {inp_project} with {inp_author}...')
|
||||
@@ -39,7 +39,8 @@ except:
|
||||
stable = False
|
||||
bugtracker = pypi_data['info']['bugtrack_url'] or pypi_data['info']['project_urls'].get('Bug Tracker') or ''
|
||||
homepage = pypi_data['info']['home_page'] or pypi_data['info']['project_urls'].get('Homepage')
|
||||
keywords = pypi_data['info']['keywords']
|
||||
keywords = pypi_data['info']['keywords'] or ''
|
||||
tags = ''.join(f'\n - {k.strip()}' for k in keywords.replace(',', ' ').split() if k.strip())
|
||||
readme = pypi_data['info']['description']
|
||||
|
||||
# Write data
|
||||
@@ -49,17 +50,17 @@ name: {name}
|
||||
author: {author}
|
||||
license: {license}
|
||||
open_source: true
|
||||
stable: {stable}
|
||||
stable: {str(stable).lower()}
|
||||
maintained: true
|
||||
pypi: true
|
||||
package_name: {name}
|
||||
github: {homepage}
|
||||
gitlab:
|
||||
source:
|
||||
issue_tracker:{bugtracker}
|
||||
issue_tracker: {bugtracker}
|
||||
website:
|
||||
categories:
|
||||
tags: {keywords}
|
||||
tags:{tags}
|
||||
---
|
||||
{tagline}
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ import os
|
||||
from pathlib import Path
|
||||
from urllib.request import urlopen, Request
|
||||
|
||||
file_name = Path('_data/general/stats.yml')
|
||||
file_name = Path('data/stats.yml')
|
||||
github_project = "inventree/inventree"
|
||||
crowdin_projet_id = 452300
|
||||
|
||||
@@ -49,18 +49,18 @@ file_name.write_text(
|
||||
f"""stats:
|
||||
- name: Docker pulls
|
||||
number: {docker}
|
||||
icon: fa-brands fa-docker
|
||||
icon: ti-brand-docker
|
||||
- name: GitHub Stars
|
||||
number: {stars}
|
||||
icon: fa-solid fa-star
|
||||
icon: ti-star
|
||||
- name: Forks
|
||||
number: {forks}
|
||||
icon: fa-solid fa-code-branch
|
||||
icon: ti-git-fork
|
||||
- name: Contributors
|
||||
number: {contributors}
|
||||
icon: fa-solid fa-hands-helping
|
||||
icon: ti-users
|
||||
- name: Languages
|
||||
number: {languages}
|
||||
icon: fa-solid fa fa-language
|
||||
icon: ti-language
|
||||
"""
|
||||
)
|
||||
@@ -3,30 +3,32 @@ name: Build pages and publish
|
||||
on:
|
||||
push
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write # required to push to the gh-pages branch
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: ruby/setup-ruby@v1
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
ruby-version: 3.4.9
|
||||
bundler-cache: true
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v2
|
||||
fetch-depth: 0 # full history - used for the "last modified" date of plugins
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
node-version: '14'
|
||||
- run: npm install
|
||||
python-version: '3.12'
|
||||
cache: pip
|
||||
- run: pip install -r requirements.txt
|
||||
- name: Build site
|
||||
uses: limjh16/jekyll-action-ts@v2
|
||||
with:
|
||||
enable_cache: true
|
||||
- run: bundle exec htmlproofer ./_site --no-check-external-hash --no-enforce-https --ignore-urls "/localhost/,/www.linkedin.com/,digitalocean.com,/cloud.digitalocean.com/,/dnschecker.org/,/npmjs.com/,/reddit.com/r/inventree/,/twitter.com/inventreedb/,/github.com/,/developer.digikey.com/,/patreon.com/,/partkeepr.org/,/download.dymo.com/,brother.com.au,/marketplace.digitalocean.com,/chaos.social"
|
||||
name: Check links
|
||||
# strict mode (set in mkdocs.yml) fails the build on broken internal links
|
||||
run: zensical build --clean
|
||||
- name: Generate plugins.json and legacy feeds
|
||||
run: python scripts/post_build.py
|
||||
- name: Deploy
|
||||
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main'}}
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
publish_branch: 'gh-pages'
|
||||
publish_dir: ./_site
|
||||
publish_dir: ./site
|
||||
@@ -1,11 +1,15 @@
|
||||
_site/
|
||||
.parcel-cache/
|
||||
# Build output
|
||||
site/
|
||||
.cache/
|
||||
.jekyll-cache/
|
||||
dist/
|
||||
node_modules/
|
||||
.jekyll-metadata
|
||||
.docusaurus/
|
||||
yarn-error.log
|
||||
__pycache__/
|
||||
*.pyc
|
||||
|
||||
build/
|
||||
# Local virtual environments
|
||||
.venv/
|
||||
venv/
|
||||
|
||||
# Old Jekyll build artifacts
|
||||
_site/
|
||||
.jekyll-cache/
|
||||
.jekyll-metadata
|
||||
node_modules/
|
||||
@@ -1,13 +0,0 @@
|
||||
---
|
||||
layout: content
|
||||
permalink: /404
|
||||
backLink: False
|
||||
---
|
||||
|
||||
## 404 - Page not found
|
||||
|
||||
|
||||
This page is unkown!
|
||||
|
||||
|
||||
Please go back to the last working page.
|
||||
@@ -1,13 +0,0 @@
|
||||
source 'https://rubygems.org'
|
||||
gem 'jekyll'
|
||||
|
||||
group :jekyll_plugins do
|
||||
gem 'jekyll-postcss-v2'
|
||||
gem 'jekyll-seo-tag'
|
||||
gem 'jekyll-sitemap'
|
||||
gem 'jekyll-feed'
|
||||
gem 'jekyll-mentions'
|
||||
gem 'jekyll_custom_permalink'
|
||||
end
|
||||
gem "webrick", "~> 1.8"
|
||||
gem 'html-proofer'
|
||||
@@ -1,187 +0,0 @@
|
||||
GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
Ascii85 (2.0.1)
|
||||
activesupport (8.1.4.1)
|
||||
base64
|
||||
bigdecimal
|
||||
concurrent-ruby (~> 1.0, >= 1.3.1)
|
||||
connection_pool (>= 2.2.5)
|
||||
drb
|
||||
i18n (>= 1.6, < 2)
|
||||
json
|
||||
logger (>= 1.4.2)
|
||||
minitest (>= 5.1)
|
||||
securerandom (>= 0.3)
|
||||
tzinfo (~> 2.0, >= 2.0.5)
|
||||
uri (>= 0.13.1)
|
||||
addressable (2.9.1)
|
||||
public_suffix (>= 2.0.2, < 8.0)
|
||||
afm (1.0.0)
|
||||
async (2.38.1)
|
||||
console (~> 1.29)
|
||||
fiber-annotation
|
||||
io-event (~> 1.11)
|
||||
metrics (~> 0.12)
|
||||
traces (~> 0.18)
|
||||
base64 (0.3.0)
|
||||
benchmark (0.5.0)
|
||||
bigdecimal (4.1.3)
|
||||
colorator (1.1.0)
|
||||
concurrent-ruby (1.3.8)
|
||||
connection_pool (3.0.2)
|
||||
console (1.34.3)
|
||||
fiber-annotation
|
||||
fiber-local (~> 1.1)
|
||||
json
|
||||
csv (3.3.5)
|
||||
drb (2.2.3)
|
||||
em-websocket (0.5.3)
|
||||
eventmachine (>= 0.12.9)
|
||||
http_parser.rb (~> 0)
|
||||
ethon (0.18.0)
|
||||
ffi (>= 1.15.0)
|
||||
logger
|
||||
eventmachine (1.2.7)
|
||||
ffi (1.17.3-arm64-darwin)
|
||||
ffi (1.17.3-x86_64-linux-gnu)
|
||||
fiber-annotation (0.2.0)
|
||||
fiber-local (1.1.0)
|
||||
fiber-storage
|
||||
fiber-storage (1.0.1)
|
||||
forwardable-extended (2.6.0)
|
||||
google-protobuf (4.34.1-arm64-darwin)
|
||||
bigdecimal
|
||||
rake (~> 13.3)
|
||||
google-protobuf (4.34.1-x86_64-linux-gnu)
|
||||
bigdecimal
|
||||
rake (~> 13.3)
|
||||
hashery (2.1.2)
|
||||
html-pipeline (2.14.3)
|
||||
activesupport (>= 2)
|
||||
nokogiri (>= 1.4)
|
||||
html-proofer (5.2.0)
|
||||
addressable (~> 2.3)
|
||||
async (~> 2.1)
|
||||
benchmark (~> 0.5)
|
||||
nokogiri (~> 1.13)
|
||||
pdf-reader (~> 2.11)
|
||||
rainbow (~> 3.0)
|
||||
typhoeus (~> 1.3)
|
||||
yell (~> 2.0)
|
||||
zeitwerk (~> 2.5)
|
||||
http_parser.rb (0.8.1)
|
||||
i18n (1.15.2)
|
||||
concurrent-ruby (~> 1.0)
|
||||
io-event (1.14.5)
|
||||
jekyll (4.4.1)
|
||||
addressable (~> 2.4)
|
||||
base64 (~> 0.2)
|
||||
colorator (~> 1.0)
|
||||
csv (~> 3.0)
|
||||
em-websocket (~> 0.5)
|
||||
i18n (~> 1.0)
|
||||
jekyll-sass-converter (>= 2.0, < 4.0)
|
||||
jekyll-watch (~> 2.0)
|
||||
json (~> 2.6)
|
||||
kramdown (~> 2.3, >= 2.3.1)
|
||||
kramdown-parser-gfm (~> 1.0)
|
||||
liquid (~> 4.0)
|
||||
mercenary (~> 0.3, >= 0.3.6)
|
||||
pathutil (~> 0.9)
|
||||
rouge (>= 3.0, < 5.0)
|
||||
safe_yaml (~> 1.0)
|
||||
terminal-table (>= 1.8, < 4.0)
|
||||
webrick (~> 1.7)
|
||||
jekyll-feed (0.17.0)
|
||||
jekyll (>= 3.7, < 5.0)
|
||||
jekyll-mentions (1.6.0)
|
||||
html-pipeline (~> 2.3)
|
||||
jekyll (>= 3.7, < 5.0)
|
||||
jekyll-postcss-v2 (1.0.2)
|
||||
jekyll-sass-converter (3.1.0)
|
||||
sass-embedded (~> 1.75)
|
||||
jekyll-seo-tag (2.8.0)
|
||||
jekyll (>= 3.8, < 5.0)
|
||||
jekyll-sitemap (1.4.0)
|
||||
jekyll (>= 3.7, < 5.0)
|
||||
jekyll-watch (2.2.1)
|
||||
listen (~> 3.0)
|
||||
jekyll_custom_permalink (0.0.1)
|
||||
json (2.21.2)
|
||||
kramdown (2.5.2)
|
||||
rexml (>= 3.4.4)
|
||||
kramdown-parser-gfm (1.1.0)
|
||||
kramdown (~> 2.0)
|
||||
liquid (4.0.4)
|
||||
listen (3.10.0)
|
||||
logger
|
||||
rb-fsevent (~> 0.10, >= 0.10.3)
|
||||
rb-inotify (~> 0.9, >= 0.9.10)
|
||||
logger (1.7.0)
|
||||
mercenary (0.4.0)
|
||||
metrics (0.15.0)
|
||||
minitest (6.1.0)
|
||||
drb (~> 2.0)
|
||||
prism (>= 1.5, < 3)
|
||||
nokogiri (1.19.5-arm64-darwin)
|
||||
racc (~> 1.4)
|
||||
nokogiri (1.19.5-x86_64-linux-gnu)
|
||||
racc (~> 1.4)
|
||||
pathutil (0.16.2)
|
||||
forwardable-extended (~> 2.6)
|
||||
pdf-reader (2.15.1)
|
||||
Ascii85 (>= 1.0, < 3.0, != 2.0.0)
|
||||
afm (>= 0.2.1, < 2)
|
||||
hashery (~> 2.0)
|
||||
ruby-rc4
|
||||
ttfunk
|
||||
prism (2.1.0-arm64-darwin)
|
||||
prism (2.1.0-x86_64-linux-gnu)
|
||||
public_suffix (7.0.5)
|
||||
racc (1.8.1)
|
||||
rainbow (3.1.1)
|
||||
rake (13.3.1)
|
||||
rb-fsevent (0.11.2)
|
||||
rb-inotify (0.11.1)
|
||||
ffi (~> 1.0)
|
||||
rexml (3.4.4)
|
||||
rouge (4.7.0)
|
||||
ruby-rc4 (0.1.5)
|
||||
safe_yaml (1.0.5)
|
||||
sass-embedded (1.98.0-arm64-darwin)
|
||||
google-protobuf (~> 4.31)
|
||||
sass-embedded (1.98.0-x86_64-linux-gnu)
|
||||
google-protobuf (~> 4.31)
|
||||
securerandom (0.4.1)
|
||||
terminal-table (3.0.2)
|
||||
unicode-display_width (>= 1.1.1, < 3)
|
||||
traces (0.18.2)
|
||||
ttfunk (1.7.0)
|
||||
typhoeus (1.6.0)
|
||||
ethon (>= 0.18.0)
|
||||
tzinfo (2.0.6)
|
||||
concurrent-ruby (~> 1.0)
|
||||
unicode-display_width (2.6.0)
|
||||
uri (1.1.2)
|
||||
webrick (1.9.2)
|
||||
yell (2.2.2)
|
||||
zeitwerk (2.7.5)
|
||||
|
||||
PLATFORMS
|
||||
arm64-darwin-25
|
||||
x86_64-linux
|
||||
|
||||
DEPENDENCIES
|
||||
html-proofer
|
||||
jekyll
|
||||
jekyll-feed
|
||||
jekyll-mentions
|
||||
jekyll-postcss-v2
|
||||
jekyll-seo-tag
|
||||
jekyll-sitemap
|
||||
jekyll_custom_permalink
|
||||
webrick (~> 1.8)
|
||||
|
||||
BUNDLED WITH
|
||||
2.4.6
|
||||
@@ -1,6 +1,6 @@
|
||||
# InvenTree website
|
||||
This project contains the source for InvenTree's website.
|
||||
It is built on Jekyll and GitHub pages for backend / hosting, tailwindcss for design and Netlify for preview builds.
|
||||
It is built with [Zensical](https://zensical.org) (using the same theme setup as the [InvenTree documentation](https://docs.inventree.org)), hosted on GitHub Pages, with Netlify for preview builds.
|
||||
|
||||
[](https://app.netlify.com/sites/inventree-org-preview/deploys)
|
||||
|
||||
@@ -11,12 +11,12 @@ Any maintainer of a plugin can add their plugin to the list. The plugin will be
|
||||
To add a plugin the following steps are required:
|
||||
- Fork the repository
|
||||
- Create a new branch. We recommend `plugin/<plugin-name>` as the branch name.
|
||||
- Create a new file in `_repo`. We recommend using the package name as the file name.
|
||||
- Copy the content from `_repo/template.md` into the new file.
|
||||
- Create a new file in `docs/plugins`. We recommend using the package name as the file name.
|
||||
- Copy the content from `templates/plugin.md` into the new file.
|
||||
- Fill out the details. Please make sure to use the correct format for the fields.
|
||||
- If this is your first contribution to the list, please add yourself to the `_publishers` folder.
|
||||
- Use your GitHub username as the file name.
|
||||
- Copy the content from `_publishers/_template.md` into the new file.
|
||||
- If this is your first contribution to the list, please add yourself to the `publishers` folder.
|
||||
- Use your GitHub username as the file name, e.g. `publishers/octocat.yml`.
|
||||
- Copy the content from `templates/publisher.yml` into the new file.
|
||||
- Fill out the details. Please make sure to use the correct format for the fields.
|
||||
- Commit your changes and create a pull request. We recommend using the title `[REPO] Add plugin <plugin-name>`.
|
||||
|
||||
@@ -27,63 +27,52 @@ The plugin list is just getting started as a static collection, we might enhance
|
||||
|
||||
## Architecture and development
|
||||
|
||||
The website consists of content, layouts and assets. Jekyll runs and builds out of these files static html files - that are then hosted on GitHub pages.
|
||||
The site configuration is in `mkdocs.yml` (Zensical reads the mkdocs configuration format). Zensical builds static HTML from the Markdown files in `docs/`, which is then hosted on GitHub Pages.
|
||||
|
||||
### Folders and files
|
||||
Folders with an underscore prefixed are internal folders for Jekyll, folders without are rendered as subdirectories in the output.
|
||||
|
||||
Structure:
|
||||
`_data` contains data that is references on pages
|
||||
`_drafts` contains drafts for blog pages and news items
|
||||
`_news` contains news entries
|
||||
`_posts` contains blog entries
|
||||
`_publishers` contains authors/publishers of blog entries, news items and plugins
|
||||
`_repo` contains plugin repo entries
|
||||
Content:
|
||||
`docs/` contains all pages, rendered as the site structure (e.g. `docs/deploy.md` is served at `/deploy/`)
|
||||
`docs/blog/posts` contains blog entries - the file name is `YYYY-MM-DD-<slug>.md`, and `date`, `slug`, `title` and `authors` are set in the front matter
|
||||
`docs/news/posts` contains news entries (same format as blog entries)
|
||||
`docs/.authors.yml` contains the authors of blog and news entries
|
||||
`docs/plugins` contains plugin list entries (plus the index pages for the list)
|
||||
`publishers/` contains publishers of plugins
|
||||
`data/` contains data that is referenced on pages (`stats.yml` is updated daily by a bot)
|
||||
`templates/` contains templates for new plugins and publishers
|
||||
|
||||
Layouts:
|
||||
`_includes` contains partials that can be used in layouts
|
||||
`_layouts` contains the page definitions
|
||||
Theme and generated content:
|
||||
`overrides/` contains theme template overrides (home page hero, plugin detail page)
|
||||
`main.py` provides macros which render the plugin list, tag/category/publisher indexes, stats and team lists. Macros are only rendered on pages that set `render_macros: true` in their front matter
|
||||
`scripts/post_build.py` generates `plugins.json` and the legacy `feed.atom` feed URLs after the build
|
||||
`docs/stylesheets/extra.css` contains custom styles (shared with the documentation where possible)
|
||||
|
||||
Assets:
|
||||
`assets` contains static assets for the pages
|
||||
|
||||
The site configuration is saved in `config.yaml`, required gems in `Gemfile` and npm packages in `package.json`.
|
||||
|
||||
The CSS stylesheet uses tailwindcss and is built with postcss on demand. NodeJs is needed for this. The main css file is located in `assets/index.css`. Rebuilds are handled by the workflows automatically.
|
||||
Old Jekyll URLs (plugin and publisher pages) are kept working via redirects in `mkdocs.yml`.
|
||||
|
||||
### Preview builds
|
||||
|
||||
Once a PR is created, a preview build is created on Netlify. The preview build is available at `https://<pr-number>-inventree-org-preview.netlify.app/`. The preview build is automatically updated when the PR is updated.
|
||||
Once a PR is created, a preview build is created on Netlify (configured in `netlify.toml`). The preview build is available at `https://<pr-number>-inventree-org-preview.netlify.app/`. The preview build is automatically updated when the PR is updated.
|
||||
A bot will comment on the PR with the link to the preview build.
|
||||
|
||||
|
||||
### Common commands for local development
|
||||
Install packages for ruby and nodejs.
|
||||
|
||||
Install the build requirements (Python 3.10+), ideally in a virtual environment:
|
||||
|
||||
```bash
|
||||
sudo apt-get install rubygems ruby-dev nodejs npm
|
||||
npm install
|
||||
sudo gem install bundler
|
||||
bundle install
|
||||
python3 -m venv .venv
|
||||
source .venv/bin/activate
|
||||
pip install -r requirements.txt
|
||||
```
|
||||
|
||||
Build site locally
|
||||
Run a local server that automatically rebuilds on changes:
|
||||
|
||||
```bash
|
||||
bundle exec jekyll build
|
||||
zensical serve
|
||||
```
|
||||
|
||||
Run debug server that automatically updates. This does not recompile the tailwindcss stylesheet. If you change something in the css file, you need to build the site fully with the command above.
|
||||
Build the site (output in `site/`):
|
||||
|
||||
```bash
|
||||
bundle exec jekyll serve --incremental
|
||||
```
|
||||
|
||||
### Update dependencies
|
||||
|
||||
If the above commands fail, you may have outdated ruby gems, or node packages. Update with the following commands:
|
||||
|
||||
```bash
|
||||
bundle update
|
||||
ncu -u
|
||||
zensical build --clean
|
||||
python scripts/post_build.py
|
||||
```
|
||||
@@ -1,88 +0,0 @@
|
||||
# Metadata
|
||||
title: InvenTree
|
||||
tagline: Intuitive Inventory Management
|
||||
description: >-
|
||||
InvenTree is an open-source inventory management system which provides intuitive parts management and stock control.
|
||||
It is at the center of an ecosystem of addins for EDA tools, API wrapper, deeply integrated plugins and 3rd party tools.
|
||||
|
||||
# Links
|
||||
demo-link:
|
||||
internal: demo.md
|
||||
doc-link: https://docs.inventree.org/en/stable/
|
||||
deploy-link:
|
||||
internal: deploy.md
|
||||
blog-link:
|
||||
internal: blog.html
|
||||
|
||||
# Hosting parameters
|
||||
baseurl: ""
|
||||
url: ""
|
||||
|
||||
# Allow building/publishing posts and collection entries dated "in the future"
|
||||
# (CI runners build in UTC, so a post authored later in the day in other timezones
|
||||
# can otherwise appear future-dated and get silently excluded from the build)
|
||||
future: true
|
||||
|
||||
# Rendering settings - do not touch
|
||||
collections:
|
||||
publishers:
|
||||
output: true
|
||||
permalink: "/:title"
|
||||
repo:
|
||||
output: true
|
||||
permalink: ":doc_author/:title"
|
||||
news:
|
||||
output: true
|
||||
permalink: /news/:year/:month/:day/:title
|
||||
posts:
|
||||
permalink: /blog/:year/:month/:day/:title
|
||||
|
||||
defaults:
|
||||
- scope:
|
||||
path: ""
|
||||
type: "publishers"
|
||||
values:
|
||||
layout: "publisher"
|
||||
- scope:
|
||||
path: ""
|
||||
type: "repo"
|
||||
values:
|
||||
layout: "plugin"
|
||||
- scope:
|
||||
path: ""
|
||||
type: "posts"
|
||||
values:
|
||||
layout: "collection/post"
|
||||
- scope:
|
||||
path: ""
|
||||
type: "news"
|
||||
values:
|
||||
layout: "collection/news"
|
||||
- scope:
|
||||
path: ""
|
||||
values:
|
||||
layout: "content"
|
||||
|
||||
feed:
|
||||
path: /blog/feed.atom
|
||||
|
||||
collections:
|
||||
news:
|
||||
path: "/news/feed.atom"
|
||||
|
||||
plugins:
|
||||
- jekyll-seo-tag
|
||||
- jekyll-postcss-v2
|
||||
- jekyll-sitemap
|
||||
- jekyll-feed
|
||||
- jekyll-mentions
|
||||
- jekyll_custom_permalink
|
||||
|
||||
exclude: [
|
||||
package.json,
|
||||
package-lock.json,
|
||||
postcss.config.js,
|
||||
README.md,
|
||||
tailwind.config.js,
|
||||
LICENSE,
|
||||
]
|
||||
@@ -1,4 +0,0 @@
|
||||
text: Ready for a glimpse into the future?<br>Together we make InvenTree better, faster and more helpful each day.
|
||||
btn:
|
||||
- text: Open the roadmap
|
||||
link: https://github.com/inventree/InvenTree/labels/roadmap
|
||||
@@ -1,5 +0,0 @@
|
||||
text: InvenTree provides functions for all kinds of users, parts and organisations
|
||||
btn:
|
||||
- text: Learn More
|
||||
link:
|
||||
home: true
|
||||
@@ -1,5 +0,0 @@
|
||||
text: Join the newsletter to stay up to date.
|
||||
btn:
|
||||
- text: Sign up
|
||||
link:
|
||||
internal: newsletter.md
|
||||
@@ -1,12 +0,0 @@
|
||||
ref: business
|
||||
link:
|
||||
internal: use/business.md
|
||||
title: For Business
|
||||
text: |
|
||||
lorem ipsum text
|
||||
|
||||
features:
|
||||
- title: lorem ipsum title
|
||||
subtitle: lorem ipsum subtitle
|
||||
text: lorem ipsum description
|
||||
link: https://example.com/
|
||||
@@ -1,12 +0,0 @@
|
||||
ref: edu
|
||||
link:
|
||||
internal: use/education.md
|
||||
title: For Education
|
||||
text: |
|
||||
Electronic Labs are creative places. Whether your institution works with K12 or post-grads - organisation and tooling is challenging. Let InvenTree at least do the inventory reliably for you!
|
||||
|
||||
features:
|
||||
- title: Open Source - Open Knowledge
|
||||
subtitle: Stay independed of big vendors
|
||||
text: Free software of big vendors helps the budget. But how about your students?
|
||||
extend: Don’t teach tools – teach process and competence. InvenTree is MIT licensed and free forever.<br>Also, we are open to contribution from all ages!
|
||||
@@ -1,12 +0,0 @@
|
||||
ref: maker
|
||||
link:
|
||||
internal: use/maker.md
|
||||
title: For Maker
|
||||
text: |
|
||||
lorem ipsum text
|
||||
|
||||
features:
|
||||
- title: lorem ipsum title
|
||||
subtitle: lorem ipsum subtitle
|
||||
text: lorem ipsum description
|
||||
link: https://example.com/
|
||||
@@ -1,10 +0,0 @@
|
||||
functions:
|
||||
- title: Build Parts
|
||||
text: Inventree features a build management system to help you track the progress of your builds. Builds consume stock items to make new parts, you can decide to automatically or manually allocate parts from your current inventory.
|
||||
link: https://docs.inventree.org/en/stable/part
|
||||
- title: Report
|
||||
text: Generate a wide range of reports using custom templates.
|
||||
link: https://docs.inventree.org/en/stable/report
|
||||
- title: Extend and Customize
|
||||
text: InvenTree is designed to be highly extensible. If the core InvenTree functionality does not meet your particular need, InvenTree provides a RESTful API, a native Python library, and a powerful plugin system.
|
||||
link: https://docs.inventree.org/en/stable/api/
|
||||
@@ -1,19 +0,0 @@
|
||||
title: InvenTree builds its vast functions on top of a few core workflows
|
||||
link:
|
||||
internal: functions.md
|
||||
text:
|
||||
functions:
|
||||
- title: Organize Parts
|
||||
text: Parts are the fundamental element of any inventory. InvenTree groups parts into structured categories which allow you to arrange parts to meet your particular needs.
|
||||
link: https://docs.inventree.org/en/stable/part
|
||||
- title: Manage Suppliers
|
||||
text: InvenTree allows you to easily create, modify or delete suppliers and supplier items linked to any part in your inventory.
|
||||
link: https://docs.inventree.org/en/stable/concepts/company/#suppliers
|
||||
- title: Instant Stock Knowledge
|
||||
text: Instantly view current stock for a certain part, in a particular location, or required for an individual build.
|
||||
extend: Stock items are organized in cascading locations and sub-locations, allowing flexible inspection of stock under any location. Stock items can be serialized for tracking of individual items, and test results can be stored against a serialized stock item for the purpose of acceptance testing and commissioning.
|
||||
link: https://docs.inventree.org/en/stable/stock
|
||||
- title: BOM Management
|
||||
text: Intelligent <strong>B</strong>ill <strong>o</strong>f <strong>M</strong>aterial management provides a clear understanding of the sub-parts required to make a new part.
|
||||
extend: InvenTree allows you to upload simple BOM files in multiple formats, and download a detailed BOM with all the information stored in its database.
|
||||
link: https://docs.inventree.org/en/stable/manufacturing/bom/
|
||||
@@ -1,38 +0,0 @@
|
||||
- title: Quick
|
||||
cats:
|
||||
- name: Demo
|
||||
internal: demo.md
|
||||
- name: Deploy
|
||||
internal: deploy.md
|
||||
- name: Docs
|
||||
site: doc-link
|
||||
- name: News
|
||||
internal: news.html
|
||||
- name: Plugin List
|
||||
internal: plugins.html
|
||||
|
||||
- title: Ecosystem
|
||||
link:
|
||||
internal: extend/index.md
|
||||
cats:
|
||||
- name: API
|
||||
internal: extend/api.md
|
||||
- name: App
|
||||
internal: extend/app.md
|
||||
- name: Plugins
|
||||
internal: extend/plugin/index.md
|
||||
- name: Integrations
|
||||
internal: extend/integrate/index.md
|
||||
|
||||
- title: Sitemap
|
||||
cats:
|
||||
- name: About
|
||||
internal: about/index.md
|
||||
- name: Alternatives
|
||||
internal: alternatives/index.md
|
||||
- name: Blog
|
||||
internal: blog.html
|
||||
- name: Contribute
|
||||
internal: contribute.md
|
||||
- name: Support
|
||||
internal: support.md
|
||||
@@ -1,16 +0,0 @@
|
||||
stats:
|
||||
- name: Docker pulls
|
||||
number: 3910244
|
||||
icon: fa-brands fa-docker
|
||||
- name: GitHub Stars
|
||||
number: 7890
|
||||
icon: fa-solid fa-star
|
||||
- name: Forks
|
||||
number: 1631
|
||||
icon: fa-solid fa-code-branch
|
||||
- name: Contributors
|
||||
number: 188
|
||||
icon: fa-solid fa-hands-helping
|
||||
- name: Languages
|
||||
number: 39
|
||||
icon: fa-solid fa fa-language
|
||||
@@ -1,9 +0,0 @@
|
||||
---
|
||||
author: matmair
|
||||
title: Release highlights 0.9.0
|
||||
---
|
||||
InvenTree 0.9.0 is here!
|
||||
|
||||
While there are full release notes listing all included patches we want to pick out a few of the major changes in this highlight.
|
||||
|
||||
TODO
|
||||
@@ -1,7 +0,0 @@
|
||||
---
|
||||
author: matmair
|
||||
title: Release highlight 0.9.0
|
||||
---
|
||||
We recently released 0.9.0!
|
||||
|
||||
Find the release highlights [in the blog]({% post_url 2022-12-30-release-highlights %}).
|
||||
@@ -1,48 +0,0 @@
|
||||
<footer class="cm-gray-2 body-font">
|
||||
<div class="container px-5 pt-8 mx-auto flex md:flex-row md:flex-nowrap flex-wrap flex-col">
|
||||
<div class="w-64 flex-shrink-0 md:mx-0 mx-auto text-center md:text-left">
|
||||
<div class="flex title-font font-medium items-center md:justify-start justify-center cm-gray-1">
|
||||
<img src="{{ '/assets/logo.png' | relative_url }}" alt="logo" height="32" width="32" class="h-8">
|
||||
<span class="ml-3 text-xl">{{ site.title }}</span>
|
||||
</div>
|
||||
<p class="mt-2 text-sm cm-gray-3">{{ site.tagline }}</p>
|
||||
</div>
|
||||
|
||||
<div class="flex-grow flex flex-wrap md:pl-10 mb-1 md:mt-0 mt-10 md:text-left text-center md:justify-left justify-center">
|
||||
{% assign footer = footer|default: site.data.general.footer %}
|
||||
{% for cat in footer %}
|
||||
<div class="md:w-1/4 px-4">
|
||||
<h2 class="footer-categorie title-font">
|
||||
{% if cat.link %}<a href="{% include fnc/link.html item=cat.link %}">{% endif %}{{cat.title}}{% if cat.link %}</a>{% endif %}
|
||||
</h2>
|
||||
<nav class="list-none mb-10"><ul>
|
||||
{% for item in cat.cats %}
|
||||
<li><a href="{% include fnc/link.html item=item%}" class="footer-link">{{ item.name }}</a></li>
|
||||
{% endfor %}
|
||||
</ul></nav>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="bg-gray-100">
|
||||
<div class="container mx-auto py-4 px-5 flex flex-wrap flex-col sm:flex-row">
|
||||
<p class="cm-gray-2 text-sm text-center sm:text-left">© 2021-now {{ site.title }} by<a href="https://github.com/inventree" rel="noopener" class="cm-gray-2 ml-1" target="_blank">@inventree</a>— website made with ♥ by<a href="https://github.com/matmair" rel="noopener" class="cm-gray-2 ml-1" target="_blank">@matmair</a></p>
|
||||
<span class="inline-flex sm:ml-auto sm:mt-0 mt-2 justify-center sm:justify-start">
|
||||
<span class="invisible"><a rel="me" href="https://chaos.social/@InvenTree">Mastodon</a></span>
|
||||
<a href="https://github.com/inventree/inventree" alt="github repo" class="ml-3 cm-gray-3">
|
||||
<img class="h-5 w-5" alt="GitHub logo" src="{{ '/assets/github.svg' | relative_url }}" />
|
||||
</a>
|
||||
<a href="https://reddit.com/r/inventree" alt="Reddit" class="ml-3 cm-gray-3">
|
||||
<img class="h-5 w-5" alt= "Reddit logo" src="{{ '/assets/reddit.svg' | relative_url }}" />
|
||||
</a>
|
||||
<a href="https://twitter.com/inventreedb" alt="Twitter" class="ml-3 cm-gray-3">
|
||||
<img class="h-5 w-5" alt="Twitter logo" src="{{ '/assets/twitter.svg' | relative_url }}" />
|
||||
</a>
|
||||
<a href="https://chaos.social/@InvenTree" rel=me alt="Mastodon" class="ml-3 cm-gray-3">
|
||||
<img class="h-5 w-5" alt="Mastodon logo" src="{{ '/assets/mastodon.svg' | relative_url }}" />
|
||||
</a>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
@@ -1,18 +0,0 @@
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<link rel="stylesheet" href="{{ '/assets/splide/css/splide.min.css' | relative_url }}">
|
||||
<link rel="stylesheet" href="{{ '/assets/index.css' | relative_url }}">
|
||||
<link rel="shortcut icon" type="image/png" href="{{ '/assets/icon/favicon.ico' | relative_url }}">
|
||||
|
||||
<script src="{{ '/assets/splide/js/splide.min.js' | relative_url }}"></script>
|
||||
|
||||
<!-- Fontawesome integration -->
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css">
|
||||
|
||||
<title>{{ site.title }}{% if page.title %} - {{ page.title }}{% endif %}</title>
|
||||
<meta itemprop="description" name="description"
|
||||
content="{% if page.description %}{{ page.description | truncate: 160 }}{% else %}{{ site.description | truncate: 160 }}{% endif %}" />
|
||||
|
||||
{% seo %}
|
||||
@@ -1,23 +0,0 @@
|
||||
<header class="cm-gray-2 body-font sticky top-0 z-50 bg-gradient-to-r from-white to-secondary">
|
||||
<div class="container mx-auto flex flex-wrap p-5 flex-row items-center">
|
||||
<a class="flex title-font font-medium items-center cm-gray-1 mb-0 mr-2" href="{{ '/' | relative_url }}">
|
||||
<img src="{{ '/assets/logo.png' | relative_url }}" alt="logo" height="32" width="32" class="h-8">
|
||||
<span class="ml-3 text-xl">{{ site.title }}</span>
|
||||
</a>
|
||||
|
||||
<div class="flex-grow xs:flex-none"></div>
|
||||
|
||||
<nav class="md:mr-auto md:py-1 xs:ml-4 xs:pl-4 xs:border-l xs:border-gray-400 flex flex-wrap items-center text-base justify-center">
|
||||
<a class="mr-5 hover:cm-gray-1" href="{% include fnc/link.html item=site.deploy-link %}">Deploy</a>
|
||||
<a class="mr-5 hover:cm-gray-1" href="{% include fnc/link.html item=site.doc-link %}">Docs</a>
|
||||
<a class="mr-5 hover:cm-gray-1" href="{% include fnc/link.html item=site.blog-link %}">Blog</a>
|
||||
</nav>
|
||||
|
||||
{% if page.main_page %}
|
||||
<a href="demo" class="inline-flex items-center bg-gray-100 ml-2 border-0 py-1 px-3 focus:outline-none hover:bg-gray-200 rounded text-base mt-4 md:mt-0">
|
||||
<span class='fa-solid fa-rocket'></span>
|
||||
Open demo
|
||||
</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
</header>
|
||||
@@ -1,17 +0,0 @@
|
||||
<section class="cm-gray-2 body-font">
|
||||
{% unless include.no_container %}
|
||||
<div class="section-container">
|
||||
{% endunless %}
|
||||
<div class="lg:w-2/3 flex flex-col sm:flex-row sm:items-center items-start mx-auto">
|
||||
<h1 class="flex-grow sm:pr-16 text-2xl font-medium title-font cm-gray-1">{{ include.cta.text|default:include.text }}</h1>
|
||||
{% for item in include.cta.btn %}
|
||||
<a href="{% include fnc/link.html item=item.link %}" class="text-white bg-secondary focus:outline-none hover:bg-primary text-lg rounded flex-shrink-0 border-0 py-2 px-4 mt-10 sm:mt-0 ml-4">{{ item.text }}</a>
|
||||
{% endfor %}
|
||||
{% if include.link %}
|
||||
<a href="{% include fnc/link.html item=include.link %}" class="flex-shrink-0 text-white bg-secondary border-0 py-2 px-8 focus:outline-none hover:bg-primary rounded text-lg mt-10 sm:mt-0">{{ include.link_text }}</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% unless include.no_container %}
|
||||
</div>
|
||||
{% endunless %}
|
||||
</section>
|
||||
@@ -1,39 +0,0 @@
|
||||
<section class="cm-gray-2 body-font">
|
||||
<div class="section-container">
|
||||
<div class="flex flex-wrap w-full mb-4">
|
||||
<div class="lg:w-1/2 w-full mb-6 lg:mb-0">
|
||||
<div class="anchor" id="{{ include.data.ref }}"></div>
|
||||
<div class="inline-flex items-center">
|
||||
<h1 class="header-text title-font mb-2 cm-gray-1">{{ include.data.title }}</h1>
|
||||
{% if include.link %}
|
||||
{% assign link=include.data.link|default:include.link %}
|
||||
<a href="{% include fnc/link.html item=link %}" alt="learn more" class="color-link"><img class="w-4 h-4 ml-2" alt="Arrow pointing right" src="{{ '/assets/learn.svg' | relative_url }}" /></a>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="h-1 w-20 bg-secondary rounded"></div>
|
||||
</div>
|
||||
<p class="lg:w-1/2 w-full leading-relaxed cm-gray-3">{{ include.data.text }}</p>
|
||||
</div>
|
||||
|
||||
<div class="flex flex-wrap -m-4">
|
||||
{% for item in include.data.features %}
|
||||
<div class="xl:w-1/4 md:w-1/2 p-4">
|
||||
<div class="bg-gray-100 p-6 rounded-lg">
|
||||
<h3 class="tracking-widest text-primary text-xs font-medium title-font">{{ item.subtitle }}</h3>
|
||||
<h2 class="text-lg cm-gray-1 font-medium title-font mb-4">{{ item.title }}</h2>
|
||||
<p class="leading-relaxed text-base">{{ item.text }}
|
||||
{% if include.extend and item.extend %}<br><br>{{ item.extend }}{% endif %}
|
||||
</p>
|
||||
{% if item.link %}
|
||||
<a class="text-secondary inline-flex items-center" href="{% include fnc/link.html item=item.link %}" alt="learn more">Learn More <img class="w-4 h-4 ml-2" alt="Arrow pointing right" src="{{ '/assets/learn.svg' | relative_url }}" /></a>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
{% if include.data.cta %}
|
||||
{% include cta.html no_container=true cta=include.data.cta %}
|
||||
{% endif %}
|
||||
</div>
|
||||
</section>
|
||||
@@ -1,34 +0,0 @@
|
||||
{% if include.padding != nil and include.padding != true %}
|
||||
{% assign padding = false %}
|
||||
{% else %}
|
||||
{% assign padding = true %}
|
||||
{% endif %}
|
||||
|
||||
<section class="cm-gray-2 body-font">
|
||||
<div class="container px-5 {% if padding == true %}py-24{% endif %} mx-auto">
|
||||
{% if include.data.title or include.data.text or include.data.link %}
|
||||
<div class="flex flex-col text-center w-full mb-20">
|
||||
{% if include.data.title %}<h1 class="header-text title-font mb-4 cm-gray-1">{{ include.data.title }}</h1>{% endif %}
|
||||
{% if include.data.text %}<p class="lg:w-2/3 mx-auto leading-relaxed text-base">{{ include.data.text }}</p>{% endif %}
|
||||
{% if include.data.link and include.no_link != true %}
|
||||
<a class="text-secondary inline-flex items-center justify-center color-link" href="{% include fnc/link.html item=include.data.link %}" alt="learn more">Learn More <img class="w-4 h-4 ml-2" alt="Arrow pointing right" src="{{ '/assets/learn.svg' | relative_url }}" /></a>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="flex flex-wrap">
|
||||
{% assign function_len = include.data.functions | size %}
|
||||
{% for item in include.data.functions %}
|
||||
<div class="xl:w-1/{{ function_len }} lg:w-1/2 md:w-full px-8 py-6">
|
||||
<h2 class="text-lg sm:text-xl cm-gray-1 font-medium title-font mb-2">{{ item.title }}</h2>
|
||||
<p class="leading-relaxed text-base mb-4">
|
||||
{{ item.text }}
|
||||
{% if include.extend and item.extend %}<br><br>{{ item.extend }}{% endif %}
|
||||
</p>
|
||||
{% if item.link %}
|
||||
<a class="text-secondary inline-flex items-center color-link" href="{% include fnc/link.html item=item.link %}" alt="learn more">Learn More <img class="w-4 h-4 ml-2" alt="Arrow pointing right" src="{{ '/assets/learn.svg' | relative_url }}" /></a>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@@ -1,60 +0,0 @@
|
||||
<section class="cm-gray-2 body-font">
|
||||
<div class="container mx-auto flex px-5 py-24 md:flex-row flex-col items-center">
|
||||
<div class="lg:flex-grow md:w-1/2 lg:pr-24 md:pr-16 flex flex-col md:items-start md:text-left mb-16 md:mb-0 items-center text-center">
|
||||
<h1 class="title-font sm:text-4xl text-3xl mb-4 font-medium cm-gray-1">{{ include.title }}
|
||||
{% if include.title_2 %}
|
||||
<br class="hidden lg:inline-block">{{ include.title_2 }}
|
||||
{% endif %}
|
||||
{% if include.color %}
|
||||
<span class="bg-clip-text text-transparent bg-gradient-to-r from-primary to-secondary">{{ include.color }}</span>
|
||||
{% endif %}
|
||||
</h1>
|
||||
{% if include.detail %}
|
||||
<p class="mb-8 leading-relaxed">{{ include.detail }}</p>
|
||||
{% endif %}
|
||||
{% if include.buttons %}
|
||||
<div class="flex-wrap justify-center">
|
||||
{% for item in include.buttons %}
|
||||
<button class="{% if forloop.index != 0 %}ml-4{% endif %} mb-4 {% if item.primary %}cm-hvr-btn-primary{% else%}cm-hvr-btn{% endif %} inline-flex border-0 py-2 px-6 focus:outline-none text-lg">
|
||||
{% if item.link %}<a href="{% include fnc/link.html item=item.link %}">{% endif %}{{item.text}}{% if item.link %}</a>{% endif %}
|
||||
</button>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="lg:max-w-lg lg:w-full md:w-1/2 w-5/6">
|
||||
{% 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',
|
||||
perMove: 1,
|
||||
perPage: {% if include.perPage %}{{ include.perPage }}{% else %}1{% endif %},
|
||||
autoPlay: true,
|
||||
pagination: false,
|
||||
}).mount();
|
||||
});
|
||||
</script>
|
||||
{% endif %}
|
||||
@@ -1,19 +0,0 @@
|
||||
<section class="cm-gray-2 body-font">
|
||||
<div class="section-container">
|
||||
<div class="flex flex-col text-center w-full mb-5">
|
||||
<h1 class="text-2xl font-medium title-font mb-4 cm-gray-1 tracking-widest">Plugin List</h1>
|
||||
<p>
|
||||
Explore plugins provided by the community.
|
||||
<a class="text-secondary inline-flex items-center" href="{% link plugins.html %}" alt="learn more">Learn More <img class="w-4 h-4 ml-2" alt="Arrow pointing right" src="{{ '/assets/learn.svg' | relative_url }}" /></a>
|
||||
</p>
|
||||
</div>
|
||||
<div class="flex flex-wrap -m-4">
|
||||
{% assign filtered_repo = site.repo | sort: 'last-modified-date' | reverse %}
|
||||
{% for plugin in filtered_repo limit:2 %}
|
||||
<div class="space-4 p-2 md:w-1/2">
|
||||
{% include plugin_card.html plugin=plugin %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@@ -1,19 +0,0 @@
|
||||
<section class="cm-gray-2 body-font">
|
||||
<div class="section-container">
|
||||
<div class="flex flex-wrap -m-4 text-center">
|
||||
|
||||
{% assign stats = stats|default:site.data.general.stats.stats %}
|
||||
{% for item in stats %}
|
||||
<div class="p-4 sm:w-1/4 w-1/2">
|
||||
<h2 class="title-font font-medium sm:text-4xl text-3xl cm-gray-1">
|
||||
{% if item.icon %}
|
||||
<span class='{{ item.icon }}'></span>
|
||||
{% endif %}
|
||||
{{ item.number | intword }}
|
||||
</h2>
|
||||
<p class="leading-relaxed">{{ item.name }}</p>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@@ -1,37 +0,0 @@
|
||||
<section class="cm-gray-2 body-font">
|
||||
<div class="section-container">
|
||||
<a href="/about/team" alt="Learn more about the team">
|
||||
<div class="flex flex-col text-center w-full mb-20">
|
||||
<h1 class="text-2xl font-medium title-font mb-4 cm-gray-1 tracking-widest">OUR TEAM</h1>
|
||||
<p class="lg:w-2/3 mx-auto leading-relaxed text-base">{{ include.data.text }}</p>
|
||||
</div>
|
||||
</a>
|
||||
<div class="flex flex-wrap -m-4">
|
||||
|
||||
{% for item in include.data.team %}
|
||||
<div class="p-4 lg:w-1/2">
|
||||
<div class="h-full flex sm:flex-row flex-col sm:justify-start justify-center text-center sm:text-left">
|
||||
<div class="flex-grow sm:pl-8">
|
||||
<div class="flex items-end">
|
||||
<div class="mb-5">
|
||||
<img src="https://github.com/{{ item.tag }}.png?size=40" alt="mdo" class="rounded-full" width="40" height="40" style="margin:0px">
|
||||
</div>
|
||||
<div>
|
||||
<h2 class="title-font font-medium text-lg cm-gray-1">{{ item.tag }}</h2>
|
||||
<h3 class="cm-gray-3 mb-3">{{ item.name }}</h3>
|
||||
</div>
|
||||
</div>
|
||||
<p class="mb-4">{{ item.text }}</p>
|
||||
<span class="inline-flex">
|
||||
{% for link in item.links %}
|
||||
<a class="cm-gray-3" href="{{ link.link }}" alt="learn more">{{ link.text }}</a>
|
||||
{% endfor %}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@@ -1,18 +0,0 @@
|
||||
{% capture link %}
|
||||
{% if include.internal %}
|
||||
{% link include.internal %}
|
||||
{% endif %}
|
||||
{% if include.item.site %}
|
||||
{{ site[include.item.site] }}
|
||||
{% elsif include.item.internal %}
|
||||
{% link {{ include.item.internal }} %}
|
||||
{% elsif include.item.link %}
|
||||
{{ include.item.link | include fnc/link.html }}
|
||||
{% elsif include.item.home %}
|
||||
{{ '/' | relative_url }}
|
||||
{% elsif include.item %}
|
||||
{{ include.item }}
|
||||
{% endif %}
|
||||
{% endcapture %}
|
||||
|
||||
{{ link | strip }}
|
||||
@@ -1,11 +0,0 @@
|
||||
<div class="bg-teal-100 border-t-4 border-teal-500 rounded-b text-teal-900 px-4 py-3 shadow-md" role="alert">
|
||||
<div class="flex">
|
||||
{% if include.style == 'info' %}
|
||||
<img class="fill-current h-6 w-6 text-teal-500 mr-4" src="{{ '/assets/info.svg' | relative_url }}" />
|
||||
{% endif %}
|
||||
<div>
|
||||
<p class="font-bold">{{ include.title }}</p>
|
||||
<p class="text-sm">{{ include.desc }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,3 +0,0 @@
|
||||
{% assign pub_small = include.pub %}
|
||||
{% assign publisher_ref = site.publishers | where: 'short_name', pub_small | first %}
|
||||
<a href="{{ publisher_ref.url | relative_url }}">{{ publisher_ref.name }}</a>
|
||||
@@ -1,7 +0,0 @@
|
||||
{% assign publisher_ref = site.publishers | where: 'short_name', include.pub | first %}
|
||||
<a href="{{ publisher_ref.url | relative_url }}">
|
||||
<span class="inline-flex">
|
||||
<img src="https://github.com/{{ include.pub }}.png?size=40" alt="mdo" class="self-center w-5 h-5 rounded-full" style="margin:0px">
|
||||
<p> {{ include.pub }}</p>
|
||||
</span>
|
||||
</a>
|
||||
@@ -1,20 +0,0 @@
|
||||
<a href="{{ plugin.url | relative_url }}" class="no-underline" aria-label="open plugin details">
|
||||
<div class="row g-0 border rounded overflow-hidden flex-md-row mb-4 shadow-sm h-md-250 position-relative">
|
||||
<div class="col p-4 d-flex flex-column position-static">
|
||||
<div class="d-inline-block leading-loose">
|
||||
{% for cat in plugin.categories %}
|
||||
<span class="plugin_cat">{{ cat }}</span>
|
||||
{% endfor %}
|
||||
{% for tag in plugin.tags %}
|
||||
<span class="plugin_tag">{{ tag }}</span>
|
||||
{% endfor %}
|
||||
</div>
|
||||
<h3 class="my-0">{{ plugin.name }}</h3>
|
||||
<div class="mb-1 text-muted">
|
||||
{% if plugin.published_on %}{{ plugin.published_on | date_to_string }} - {% endif %}
|
||||
{% include partial/publisher_ref.html pub=plugin.author %}
|
||||
</div>
|
||||
<p class="my-0">{{ plugin.excerpt | mardownify | remove: '<p>' | remove: '</p>' }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
@@ -1,37 +0,0 @@
|
||||
<section class="cm-gray-2 body-font">
|
||||
<div class="section-container">
|
||||
<h1 class="text-3xl font-medium title-font cm-gray-1 mb-12 text-center">Testimonials</h1>
|
||||
<div class="flex flex-wrap -m-4">
|
||||
<div class="p-4 md:w-1/2 w-full">
|
||||
<div class="h-full bg-gray-100 p-8 rounded">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="block w-5 h-5 cm-gray-3 mb-4" viewBox="0 0 975.036 975.036">
|
||||
<path d="M925.036 57.197h-304c-27.6 0-50 22.4-50 50v304c0 27.601 22.4 50 50 50h145.5c-1.9 79.601-20.4 143.3-55.4 191.2-27.6 37.8-69.399 69.1-125.3 93.8-25.7 11.3-36.8 41.7-24.8 67.101l36 76c11.6 24.399 40.3 35.1 65.1 24.399 66.2-28.6 122.101-64.8 167.7-108.8 55.601-53.7 93.7-114.3 114.3-181.9 20.601-67.6 30.9-159.8 30.9-276.8v-239c0-27.599-22.401-50-50-50zM106.036 913.497c65.4-28.5 121-64.699 166.9-108.6 56.1-53.7 94.4-114.1 115-181.2 20.6-67.1 30.899-159.6 30.899-277.5v-239c0-27.6-22.399-50-50-50h-304c-27.6 0-50 22.4-50 50v304c0 27.601 22.4 50 50 50h145.5c-1.9 79.601-20.4 143.3-55.4 191.2-27.6 37.8-69.4 69.1-125.3 93.8-25.7 11.3-36.8 41.7-24.8 67.101l35.9 75.8c11.601 24.399 40.501 35.2 65.301 24.399z"></path>
|
||||
</svg>
|
||||
<p class="leading-relaxed mb-6">Synth chartreuse iPhone lomo cray raw denim brunch everyday carry neutra before they sold out fixie 90's microdosing. Tacos pinterest fanny pack venmo, post-ironic heirloom try-hard pabst authentic iceland.</p>
|
||||
<a class="inline-flex items-center">
|
||||
<img alt="testimonial" src="https://dummyimage.com/106x106" class="w-12 h-12 rounded-full flex-shrink-0 object-cover object-center">
|
||||
<span class="flex-grow flex flex-col pl-4">
|
||||
<span class="title-font font-medium cm-gray-1">Holden Caulfield</span>
|
||||
<span class="cm-gray-3 text-sm">UI DEVELOPER</span>
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="p-4 md:w-1/2 w-full">
|
||||
<div class="h-full bg-gray-100 p-8 rounded">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="block w-5 h-5 cm-gray-3 mb-4" viewBox="0 0 975.036 975.036">
|
||||
<path d="M925.036 57.197h-304c-27.6 0-50 22.4-50 50v304c0 27.601 22.4 50 50 50h145.5c-1.9 79.601-20.4 143.3-55.4 191.2-27.6 37.8-69.399 69.1-125.3 93.8-25.7 11.3-36.8 41.7-24.8 67.101l36 76c11.6 24.399 40.3 35.1 65.1 24.399 66.2-28.6 122.101-64.8 167.7-108.8 55.601-53.7 93.7-114.3 114.3-181.9 20.601-67.6 30.9-159.8 30.9-276.8v-239c0-27.599-22.401-50-50-50zM106.036 913.497c65.4-28.5 121-64.699 166.9-108.6 56.1-53.7 94.4-114.1 115-181.2 20.6-67.1 30.899-159.6 30.899-277.5v-239c0-27.6-22.399-50-50-50h-304c-27.6 0-50 22.4-50 50v304c0 27.601 22.4 50 50 50h145.5c-1.9 79.601-20.4 143.3-55.4 191.2-27.6 37.8-69.4 69.1-125.3 93.8-25.7 11.3-36.8 41.7-24.8 67.101l35.9 75.8c11.601 24.399 40.501 35.2 65.301 24.399z"></path>
|
||||
</svg>
|
||||
<p class="leading-relaxed mb-6">Synth chartreuse iPhone lomo cray raw denim brunch everyday carry neutra before they sold out fixie 90's microdosing. Tacos pinterest fanny pack venmo, post-ironic heirloom try-hard pabst authentic iceland.</p>
|
||||
<a class="inline-flex items-center">
|
||||
<img alt="testimonial" src="https://dummyimage.com/107x107" class="w-12 h-12 rounded-full flex-shrink-0 object-cover object-center">
|
||||
<span class="flex-grow flex flex-col pl-4">
|
||||
<span class="title-font font-medium cm-gray-1">Alper Kamu</span>
|
||||
<span class="cm-gray-3 text-sm">DESIGNER</span>
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@@ -1,20 +0,0 @@
|
||||
---
|
||||
layout: content
|
||||
---
|
||||
<article>
|
||||
{% include partial/alert.html
|
||||
style='info'
|
||||
title='caveat'
|
||||
desc='Please keep in mind that this is the view of one or more devs of InvenTree. So there is an elemenet of bias involved.'
|
||||
%}
|
||||
{{ content }}
|
||||
|
||||
{% if page.oss %}
|
||||
{% include partial/alert.html
|
||||
style='info'
|
||||
title='(F)OSS'
|
||||
desc="This alternative is (F)OSS - let's celebrate this by heading over, giving it a good look and staring the project! Motiviation keeps projects and maintainers going."
|
||||
%}
|
||||
{% endif %}
|
||||
View other <a href="{% link alternatives/index.md %}">Alternatives</a>.
|
||||
</article>
|
||||
@@ -1,21 +0,0 @@
|
||||
---
|
||||
layout: default
|
||||
---
|
||||
|
||||
<header>
|
||||
{% if page.backLink or page.backLink == nil %}
|
||||
<a href="{{ layout.base_link | relative_url }}" class="flex items-center m-5 text-xl hover:underline">
|
||||
<img class="w-6 h-6" alt="go back" src="{{ '/assets/back.svg' | relative_url }}" />
|
||||
<span>Back</span>
|
||||
</a>
|
||||
{% endif %}
|
||||
</header>
|
||||
|
||||
<article>
|
||||
<h1>{{ page.title }}</h1>
|
||||
<p>
|
||||
{{ page.date | date_to_string }}
|
||||
{% include partial/publisher_link.html pub=page.author %}
|
||||
</p>
|
||||
{{ content }}
|
||||
</article>
|
||||
@@ -1,22 +0,0 @@
|
||||
---
|
||||
layout: default
|
||||
---
|
||||
<section class="cm-gray-2 body-font">
|
||||
<div class="pt-3 pb-1 section-container">
|
||||
<h1 class="header-text title-font mb-4 cm-gray-2 flex items-end">{{ page.title_text }}<a href="{{ page.permalink|append:'/feed.atom' }}" alr="Atom feed" class="ml-3 cm-gray-3"><img class="h-5 w-5" src="{{ '/assets/rss.svg' | relative_url }}" alt="RSS symbol"/></a></h1>
|
||||
<div class="flex flex-wrap">
|
||||
|
||||
{% assign cols = site[page.collection] %}
|
||||
{% if page.collection_reverse == true %}{% assign cols = cols | reverse %}{% endif %}
|
||||
{% for item in cols %}
|
||||
<div class="p-6 md:w-1/2 flex flex-col items-start">
|
||||
<h2 class="header-text title-font mb-4 cm-gray-1">
|
||||
<a href="{{ item.url | relative_url }}">{{ item.title }}</a>
|
||||
</h2>
|
||||
<span class="leading-relaxed mb-4">{{ item.excerpt | strip_html | strip_newlines | truncate: 156 }}</span>
|
||||
<span>{{ item.date | date_to_string }} | {% include partial/publisher_link.html pub=item.author %}</span>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@@ -1,53 +0,0 @@
|
||||
---
|
||||
layout: default
|
||||
---
|
||||
|
||||
<div class="pt-3 pb-1 section-container">
|
||||
<h1 class="header-text title-font mb-4 cm-gray-1">{{page.title}}</h1>
|
||||
<span class="content">
|
||||
|
||||
{% assign all_items = "" | split: "/" %}
|
||||
{% for col_item in site[page.collection] %}
|
||||
{% for item in col_item[page.reference] %}
|
||||
{% assign preprocessed = item | strip %}
|
||||
{% unless preprocessed == "" %}
|
||||
{% assign all_items = all_items | push: preprocessed %}
|
||||
{% endunless %}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
{% assign all_items = all_items | uniq | sort %}
|
||||
|
||||
<p>The full list of plugins is available on the main <a href="{% link plugins.html %}">plugin list</a> page.</p><br>
|
||||
<p class="mb-0 italic">Click on a name to jump to the plugins that are marked with it.</p>
|
||||
<i class="fa fa-tag"></i>
|
||||
{% for item in all_items %}
|
||||
{% unless tag == "" %}
|
||||
<a class="label" href="{{ page.permalink | prepend: site.baseurl }}#{{ item | slugify }}">
|
||||
<span class="badge">{{ item }}</span>
|
||||
</a>
|
||||
{% endunless %}
|
||||
{% endfor %}
|
||||
</span>
|
||||
<br><br>
|
||||
|
||||
{% for item in all_items %}
|
||||
{% unless item == "" %}
|
||||
<div id="{{ item | slugify }}" class="anchor"></div>
|
||||
<h2 class="text-lg sm:text-xl cm-gray-1 font-medium title-font mb-2">{{ item }}</h2>
|
||||
|
||||
<div class="flex flex-wrap">
|
||||
{% for plugin in site[page.collection] %}
|
||||
{% assign col_items = "" | split: "/" %}
|
||||
{% for item in plugin[page.reference] %}
|
||||
{% assign lower_item = item %}
|
||||
{% assign col_items = col_items | push: lower_item %}
|
||||
{% endfor %}
|
||||
{% if col_items contains item %}
|
||||
<div class="space-4 p-2 md:w-1/2">{% include plugin_card.html plugin=plugin %}</div>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endunless %}
|
||||
{% endfor %}
|
||||
|
||||
</div></div>
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
layout: collection/collection_base
|
||||
base_link: '/news'
|
||||
---
|
||||
{{ content }}
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
layout: collection/collection_base
|
||||
base_link: '/blog'
|
||||
---
|
||||
{{ content }}
|
||||
@@ -1,10 +0,0 @@
|
||||
---
|
||||
layout: default
|
||||
---
|
||||
|
||||
<article{% if layout.fullwith %} class="max-w-p90"{% endif %}>
|
||||
{% if layout.notitle != true %}
|
||||
<h2>{{ page.title }}</h2>
|
||||
{% endif %}
|
||||
{{ content }}
|
||||
</article>
|
||||
@@ -1,19 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ site.lang | default: " en-US " }}">
|
||||
|
||||
<head>
|
||||
{% include base/head.html %}
|
||||
</head>
|
||||
|
||||
<body class="flex flex-col antialiased cm-gray-1 min-h-screen">
|
||||
<div class="flex-none">
|
||||
{% include base/header.html %} {{ content }}
|
||||
</div>
|
||||
|
||||
<div class="flex-grow"></div>
|
||||
<div class="flex-none">
|
||||
{% include base/footer.html %}
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -1 +0,0 @@
|
||||
{{ content }}
|
||||
@@ -1,109 +0,0 @@
|
||||
---
|
||||
layout: content
|
||||
notitle: true
|
||||
fullwith: true
|
||||
---
|
||||
<h2>{{ page.name }}
|
||||
<span class="sm:ml-2 text-sm">{% include partial/publisher_ref.html pub=page.author %}</span>
|
||||
<span class="sm:ml-2 text-sm">last modified: {{ page.last-modified-date | date_to_string }}</span>
|
||||
</h2>
|
||||
|
||||
<div class="flex-wrap md:flex md:flex-nowrap">
|
||||
<div class="w-full md:w-auto md:mr-4">
|
||||
{{ content }}
|
||||
</div>
|
||||
|
||||
<div class="w-full md:w-1/4">
|
||||
<h2 class="block sm:hidden">Detail section</h2>
|
||||
<div>
|
||||
<p class="mb-0">License:
|
||||
<small>
|
||||
{% if page.open_source %}<i class="fa-brands fa-osi"></i>{% else %}<i class="fa-solid fa-lock"></i>{% endif %}
|
||||
{{ page.license }}<br>
|
||||
</small>
|
||||
<div class="">
|
||||
Status:<br>
|
||||
<div>
|
||||
<small>
|
||||
{% if page.stable %}
|
||||
<i class="fa-regular fa-circle-check success"></i>Stable
|
||||
{% else %}
|
||||
<i class="fa-solid fa-triangle-exclamation"></i> Unstable
|
||||
{% endif %}
|
||||
</small>
|
||||
</div>
|
||||
<div>
|
||||
<small>
|
||||
{% if page.maintained %}
|
||||
<i class="fa-regular fa-circle-check success"></i>Maintained
|
||||
{% else %}
|
||||
<i class="fa-solid fa-circle-exclamation"></i> Unmaintained
|
||||
{% endif %}
|
||||
</small>
|
||||
</div>
|
||||
</div>
|
||||
{% if page.pypi and page.package_name %}Package on PyPI:<pre class="my-0">{{ page.package_name }}</pre>{% endif %}
|
||||
</p>
|
||||
|
||||
{% if page.website %}
|
||||
<a href="{{ page.website }}" class="no-underline" aria-label="open website">
|
||||
<div>
|
||||
<h4 class="plugin_links">Website <i class="fa-solid fa-arrow-up-right-from-square" title="External link"></i></h4>
|
||||
<p class="font-normal">{{ page.website }}</p>
|
||||
</div>
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
{% if page.issue_tracker %}
|
||||
<a href="{{ page.issue_tracker }}" class="no-underline" aria-label="open the issue tracker">
|
||||
<div>
|
||||
<h4 class="plugin_links">Issue Tracker <i class="fa-solid fa-arrow-up-right-from-square" title="External link"></i></h4>
|
||||
</div>
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
{% if page.github %}
|
||||
<a href="{{ page.github }}" class="no-underline" aria-label="open source on GitHub">
|
||||
<div>
|
||||
<h4 class="plugin_links">Sourcecode on GitHub <i class="fa-solid fa-arrow-up-right-from-square" title="External link"></i></h4>
|
||||
<p class="font-normal">{{ page.github | remove: "https://github.com/" }}</p>
|
||||
</div>
|
||||
</a>
|
||||
{% endif %}
|
||||
{% if page.gitlab %}
|
||||
<a href="{{ page.gitlab }}" class="no-underline" aria-label="open source on Gitlab">
|
||||
<div>
|
||||
<h4 class="plugin_links">Sourcecode on Gitlab <i class="fa-solid fa-arrow-up-right-from-square" title="External link"></i></h4>
|
||||
<p class="font-normal">{{ page.gitlab | remove: "https://gitlab.com/" }}</p>
|
||||
</div>
|
||||
</a>
|
||||
{% endif %}
|
||||
{% if page.source %}
|
||||
<a href="{{ page.source }}" class="no-underline" aria-label="open source on SCM">
|
||||
<div>
|
||||
<h4 class="plugin_links">Sourcecode on SCM <i class="fa-solid fa-arrow-up-right-from-square" title="External link"></i></h4>
|
||||
<p class="font-normal">{{ page.source }}</p>
|
||||
</div>
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
<div>
|
||||
<h4 class="plugin_links">Categories</h4>
|
||||
<div>
|
||||
{% for categorie in page.categories %}
|
||||
<a href="{% link categories.html %}#{{ categorie | slugify }}"><span class="plugin_cat">{{ categorie }}</span></a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<h4 class="plugin_links">Tags</h4>
|
||||
<div>
|
||||
{% for tag in page.tags %}
|
||||
<a href="{% link tags.html %}#{{ tag | slugify }}"><span class="plugin_tag">{{ tag }}</span></a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,57 +0,0 @@
|
||||
---
|
||||
layout: content
|
||||
notitle: true
|
||||
---
|
||||
<h2>
|
||||
<div class="flex items-end">
|
||||
{% if page.github %}
|
||||
<div class="mb-1">
|
||||
<img src="https://github.com/{{ page.github }}.png?size=40" alt="mdo" class="rounded-full" width="40" height="40" style="margin:0px">
|
||||
</div>
|
||||
{% endif %}
|
||||
{{ page.name }}
|
||||
</div>
|
||||
</h2>
|
||||
|
||||
<div>
|
||||
{% if page.github %}
|
||||
<a href="https://github.com/{{page.github}}"><span class="badge bg-secondary">GitHub</span></a>
|
||||
{% endif %}
|
||||
|
||||
{% if page.website %}
|
||||
<a href="{{page.website}}"><span class="badge bg-secondary">Website</span></a>
|
||||
{% endif %}
|
||||
|
||||
{% assign filtered_team = site.data.team.team | where: 'tag', page.short_name %}
|
||||
{% if filtered_team and filtered_team.size != 0 %}
|
||||
<a href="/about/team"><span class="badge bg-lime-600"><span class="fa-solid fa-shield"></span>Team Member</span></a>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<blockquote class="blockquote">
|
||||
{{ content }}
|
||||
</blockquote>
|
||||
|
||||
{% assign filtered_posts = site.posts | where: 'author', page.short_name %}
|
||||
{% if filtered_posts and filtered_posts.size != 0 %}
|
||||
<h3>Posts</h3>
|
||||
<ul class="list-unstyled">
|
||||
{% for post in filtered_posts %}
|
||||
<li>{{ post.date | date_to_string }} <a href="{{ post.url | relative_url }}" class="lead">{{ post.title }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
|
||||
{% assign filtered_plugins = site.repo | where: 'author', page.short_name %}
|
||||
{% if filtered_plugins and filtered_plugins.size != 0 %}
|
||||
<h3>Plugins</h3>
|
||||
<ul class="list-unstyled">
|
||||
{% for plugin in filtered_plugins %}
|
||||
<li>
|
||||
<a href="{{ plugin.url | relative_url }}">
|
||||
{{ plugin.title }}
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
@@ -1,19 +0,0 @@
|
||||
---
|
||||
layout: default
|
||||
---
|
||||
|
||||
{% include block/hero.html
|
||||
title=site.tagline
|
||||
title_2=page.title_2
|
||||
image='https://dummyimage.com/860x600'
|
||||
color='with InvenTree'
|
||||
detail=page.long_text
|
||||
buttons=page.buttons
|
||||
%}
|
||||
|
||||
{% assign data = site.data[page.data] %}
|
||||
{% include block/features.html data=data extend=true %}
|
||||
|
||||
{% include block/cta.html cta=site.data.ctas.learn %}
|
||||
{% include block/functions.html data=site.data.functions.general extend=true %}
|
||||
{% include block/cta.html cta=site.data.ctas.end %}
|
||||
@@ -1,8 +0,0 @@
|
||||
---
|
||||
author: SchrodingersGat
|
||||
title: 0.12.0 Release
|
||||
---
|
||||
|
||||
### 0.12.0 Release
|
||||
|
||||
We are pleased to announce the 0.12.0 stable release, which represents a major upgrade to the InvenTree software! Read more about it in our [blog post]({% post_url 2023-06-26-0.12.0 %})
|
||||
@@ -1,8 +0,0 @@
|
||||
---
|
||||
author: SchrodingersGat
|
||||
title: 0.12.1 Release
|
||||
---
|
||||
|
||||
### 0.12.1 Release
|
||||
|
||||
The 0.12.1 bugfix release is now available
|
||||
@@ -1,11 +0,0 @@
|
||||
---
|
||||
author: SchrodingersGat
|
||||
title: 0.13.0 Release
|
||||
---
|
||||
|
||||
### 0.13.0 Release
|
||||
|
||||
We are pleased to announce the 0.13.0 stable release, which represents a major upgrade to the InvenTree software!
|
||||
|
||||
- Read more about it in our [blog post]({% post_url 2023-12-15-0.13.0 %})
|
||||
- View the [release notes](https://github.com/inventree/InvenTree/releases/tag/0.13.0)
|
||||
@@ -1,8 +0,0 @@
|
||||
---
|
||||
author: SchrodingersGat
|
||||
title: 1.2.7 Release
|
||||
---
|
||||
|
||||
### Action Required - Security Update
|
||||
|
||||
The InvenTree has published the [1.2.7 release](/blog/2026/04/07/1.2.7) which includes a number of security fixes. We recommend all users to update to this version as soon as possible.
|
||||
@@ -1,21 +0,0 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2014 Ryan Morrissey
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
@@ -1,9 +0,0 @@
|
||||
module Jekyll
|
||||
module Drops
|
||||
class UrlDrop < Drop
|
||||
def doc_author
|
||||
@obj.data['author']
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -1,22 +0,0 @@
|
||||
# see https://stackoverflow.com/a/36769049/17860466
|
||||
|
||||
Jekyll::Hooks.register :posts, :pre_render do |post|
|
||||
|
||||
# get the current post last modified time
|
||||
modification_time = File.mtime( post.path )
|
||||
|
||||
# inject modification_time in post's datas.
|
||||
post.data['last-modified-date'] = modification_time
|
||||
|
||||
end
|
||||
|
||||
|
||||
Jekyll::Hooks.register :repo, :pre_render do |repo|
|
||||
|
||||
# get the current post last modified time
|
||||
modification_time = File.mtime( repo.path )
|
||||
|
||||
# inject modification_time in post's datas.
|
||||
repo.data['last-modified-date'] = modification_time
|
||||
|
||||
end
|
||||
@@ -1,258 +0,0 @@
|
||||
module Jekyll
|
||||
|
||||
module Humanize
|
||||
##
|
||||
# This is a port of the Django app `humanize` which adds a "human touch"
|
||||
# to data. Given that Jekyll produces static sites, some of the original
|
||||
# methods do not make logical sense (e.g. naturaltime).
|
||||
#
|
||||
# Source code can be viewed here:
|
||||
# https://github.com/django/django
|
||||
#
|
||||
# Copyright (c) Django Software Foundation and individual contributors.
|
||||
# All rights reserved.
|
||||
|
||||
####################
|
||||
# PUBLIC METHODS #
|
||||
####################
|
||||
|
||||
def ordinal(value, flag=nil)
|
||||
##
|
||||
# Converts an integer to its ordinal as a string. 1 is '1st', 2 is '2nd',
|
||||
# 3 is '3rd', etc. Works for any integer.
|
||||
#
|
||||
# Usage:
|
||||
# {{ somenum }} >>> 3
|
||||
# {{ somenum | ordinal }} >>> '3rd'
|
||||
# {{ somenum | ordinal: "super" }} >>> '3<sup>rd</sup>'
|
||||
|
||||
begin
|
||||
value = value.to_i
|
||||
flag.to_s.downcase!
|
||||
rescue Exception => e
|
||||
puts "#{e.class} #{e}"
|
||||
return value
|
||||
end
|
||||
|
||||
suffix = ""
|
||||
suffixes = ["th", "st", "nd", "rd", "th", "th", "th", "th", "th", "th"]
|
||||
unless [11, 12, 13].include? value % 100 then
|
||||
suffix = suffixes[value % 10]
|
||||
else
|
||||
suffix = suffixes[0]
|
||||
end
|
||||
|
||||
unless flag and flag == "super"
|
||||
return "#{value}%s" % suffix
|
||||
else
|
||||
return "#{value}<sup>%s</sup>" % suffix
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
def intcomma(value, delimiter=",")
|
||||
##
|
||||
# Converts an integer to a string containing commas every three digits.
|
||||
# For example, 3000 becomes '3,000' and 45000 becomes '45,000'.
|
||||
# Optionally supports a delimiter override for commas.
|
||||
#
|
||||
# Usage:
|
||||
# {{ post.content | number_of_words }} >>> 12345
|
||||
# {{ post.content | number_of_words | intcomma }} >>> '12,345'
|
||||
# {{ post.content | number_of_words | intcomma: '.' }} >>> '12.345'
|
||||
|
||||
begin
|
||||
orig = value.to_s
|
||||
delimiter = delimiter.to_s
|
||||
rescue Exception => e
|
||||
puts "#{e.class} #{e}"
|
||||
return value
|
||||
end
|
||||
|
||||
copy = orig.strip
|
||||
copy = orig.gsub(/^(-?\d+)(\d{3})/, "\\1#{delimiter}\\2")
|
||||
orig == copy ? copy : intcomma(copy, delimiter)
|
||||
end
|
||||
|
||||
INTWORD_HELPERS = [
|
||||
[6, "million"],
|
||||
[9, "billion"],
|
||||
[12, "trillion"],
|
||||
[15, "quadrillion"],
|
||||
[18, "quintillion"],
|
||||
[21, "sextillion"],
|
||||
[24, "septillion"],
|
||||
[27, "octillion"],
|
||||
[30, "nonillion"],
|
||||
[33, "decillion"],
|
||||
[100, "googol"],
|
||||
]
|
||||
|
||||
def intword(value)
|
||||
##
|
||||
# Converts a large integer to a friendly text representation. Works best
|
||||
# for numbers over 1 million. For example, 1000000 becomes '1.0 million',
|
||||
# 1200000 becomes '1.2 million' and 1200000000 becomes '1.2 billion'.
|
||||
#
|
||||
# Usage:
|
||||
# {{ largenum }} >>> 1200000
|
||||
# {{ largenum | intword }} >>> '1.2 million'
|
||||
|
||||
begin
|
||||
value = value.to_i
|
||||
rescue Exception => e
|
||||
puts "#{e.class} #{e}"
|
||||
return value
|
||||
end
|
||||
|
||||
if value < 1000000
|
||||
return value
|
||||
end
|
||||
|
||||
for exponent, text in INTWORD_HELPERS
|
||||
large_number = 10 ** exponent
|
||||
|
||||
if value < large_number * 1000
|
||||
return "%#{value}.1f #{text}" % (value / large_number.to_f)
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
return value
|
||||
end
|
||||
|
||||
def apnumber(value)
|
||||
##
|
||||
# For numbers 0-9, returns the number spelled out. Otherwise, returns the
|
||||
# number. This follows Associated Press style.
|
||||
#
|
||||
# Usage:
|
||||
# {{ num }} >>> 6
|
||||
# {{ num | apnumber }} >>> six
|
||||
|
||||
begin
|
||||
value = value.to_i
|
||||
rescue Exception => e
|
||||
puts "#{e.class} #{e}"
|
||||
return value
|
||||
end
|
||||
|
||||
unless value >= 0 and value < 10 then
|
||||
return value
|
||||
else
|
||||
return ["zero", "one", "two", "three", "four", "five", "six",
|
||||
"seven", "eight", "nine"][value]
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
def naturalday(date)
|
||||
##
|
||||
# For date values that are within a 9 day stretch from present day, this
|
||||
# will attempt to return the string representation in the format of today,
|
||||
# tomorrow, yesterday, "in # days" or "# days ago". Otherwise, returns a
|
||||
# string formatted according to the "date_format" setting in your
|
||||
# _config.yml file using strftime format (if not defined, it will default
|
||||
# to "%m/%d/%Y").
|
||||
#
|
||||
# Usage:
|
||||
# TODAY == 01/26/2014
|
||||
# {{ post.updated }} >>> 01/25/2014
|
||||
# {{ post.updated | naturalday }} >>> 'yesterday'
|
||||
# {{ post.date }} >>> 01/19/2014
|
||||
# {{ post.date | naturalday }} >>> 'seven days ago'
|
||||
|
||||
begin
|
||||
site = @context.registers[:site]
|
||||
date_format = site.config['humanize']['date_format']
|
||||
date = time(date).to_date
|
||||
rescue Exception => e
|
||||
puts "#{e.class} #{e}"
|
||||
return date
|
||||
end
|
||||
|
||||
unless date_format then
|
||||
date_format = "%m/%d/%Y"
|
||||
end
|
||||
|
||||
today = time(Time.now).to_date
|
||||
delta = (date - today).to_i
|
||||
|
||||
case delta
|
||||
when 0
|
||||
return "today"
|
||||
when 1
|
||||
return "tomorrow"
|
||||
when 2..9
|
||||
delta = apnumber(delta)
|
||||
return "in #{delta} days"
|
||||
when -1
|
||||
return "yesterday"
|
||||
when -9..-2
|
||||
delta = apnumber(delta * -1)
|
||||
return "#{delta} days ago"
|
||||
else
|
||||
return date.strftime("#{date_format}")
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
def filesize(value)
|
||||
##
|
||||
# For filesize values in bytes, returns the number rounded to 3
|
||||
# decimal places with the correct suffix.
|
||||
#
|
||||
# Usage:
|
||||
# {{ bytes }} >>> 123456789
|
||||
# {{ bytes | filesize }} >>> 117.738 MB
|
||||
filesize_tb = 1099511627776.0
|
||||
filesize_gb = 1073741824.0
|
||||
filesize_mb = 1048576.0
|
||||
filesize_kb = 1024.0
|
||||
|
||||
begin
|
||||
value = value.to_f
|
||||
rescue Exception => e
|
||||
puts "#{e.class} #{e}"
|
||||
return value
|
||||
end
|
||||
|
||||
if value >= filesize_tb
|
||||
return "%s TB" % (value / filesize_tb).to_f.round(3)
|
||||
elsif value >= filesize_gb
|
||||
return "%s GB" % (value / filesize_gb).to_f.round(3)
|
||||
elsif value >= filesize_mb
|
||||
return "%s MB" % (value / filesize_mb).to_f.round(3)
|
||||
elsif value >= filesize_kb
|
||||
return "%s KB" % (value / filesize_kb).to_f.round(0)
|
||||
elsif value == 1
|
||||
return "1 byte"
|
||||
else
|
||||
return "%s bytes" % value.to_f.round(0)
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
#####################
|
||||
# PRIVATE METHODS #
|
||||
#####################
|
||||
|
||||
private
|
||||
def time(input)
|
||||
case input
|
||||
when Time
|
||||
input
|
||||
when String
|
||||
Time.parse(input)
|
||||
else
|
||||
Jekyll.logger.error "Invalid Date:", "'#{input}' not valid datetime."
|
||||
exit(1)
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Liquid::Template.register_filter(Jekyll::Humanize)
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
---
|
||||
author: matmair
|
||||
title: Starting with templates
|
||||
---
|
||||
A good starting-point for developing your own plugin is taking a look at the [documentation](https://docs.inventree.org/en/stable/plugins/).
|
||||
|
||||
You could also use one of the current plugins as a sample.
|
||||
@@ -1,7 +0,0 @@
|
||||
---
|
||||
short_name: lippoliv # GitHub username - must be the same as the filename
|
||||
name: Oliver Lippert # The name/alias/whatever you want to be displayed
|
||||
github: lippoliv # Your GitHub username - if you switch to a new account, please update this
|
||||
website: https://www.linkedin.com/in/oliver-lippert-730b9927/ # Your website, twitter, reddit - optional
|
||||
---
|
||||
With over 15 years of experience and big big passion I learned to take care about the details. They build up to the big picture we have in mind. I'm planning ahead & act early to prevent a big bang.
|
||||
@@ -1,7 +0,0 @@
|
||||
---
|
||||
short_name: matmair
|
||||
name: Matthias Mair
|
||||
github: matmair
|
||||
website: https://mjmair.com
|
||||
---
|
||||
I try to build an ecosystem of reusable plugins and integrations for InvenTree. Code once and KISS!
|
||||
@@ -1,7 +0,0 @@
|
||||
---
|
||||
short_name: melektron # GitHub username - must be the same as the filename
|
||||
name: melektron # The name/alias/whatever you want to be displayed
|
||||
github: melektron # Your GitHub username - if you switch to a new account, please update this
|
||||
website: https://elektron.work/ # Your website, twitter, reddit - optional
|
||||
---
|
||||
Juggling with bits and bytes for fun and profit ;) (and also electrons if I feel like it)
|
||||
@@ -1,6 +0,0 @@
|
||||
---
|
||||
short_name: piramja
|
||||
name: Martin P.
|
||||
github: piramja
|
||||
---
|
||||
And in the end, we have no choice but to embrace the chaos and laugh about it.
|
||||
@@ -1,30 +0,0 @@
|
||||
---
|
||||
title: About
|
||||
---
|
||||
InvenTree is an open-source inventory management system which provides intuitive parts management and stock control.
|
||||
It is at the center of an ecosystem of addins for EDA tools, API wrapper, deeply integrated plugins and 3rd party tools.
|
||||
|
||||
### Open Source
|
||||
We are open source all the way. Webserver, Docs, App and Website are MIT licensed. Please check the [source directory](https://github.com/inventree/InvenTree/) if you want to look at the source code.
|
||||
|
||||
### Open governance
|
||||
The roadmap for InvenTree is created by the [contributors](team). There is no solid roadmap but the team has general areas of interest and [milestones](https://github.com/inventree/InvenTree/milestones) to provide an outlook to what is to come. As this project is done in spare/free time; there is no set release timeline.
|
||||
|
||||
Big ticket items that have the interest of the maintainer or a dedicated developer get the label `roadmap`: those projects are likely to be worked on in the assigned milestones. [Take a peek](https://github.com/inventree/InvenTree/issues?q=is%3Aissue+is%3Aopen+label%3Aroadmap)!
|
||||
|
||||
### Goals
|
||||
|
||||
The **main goal** is to keep existing instances **stable** and provide a transparent way to migrate to newer versions - no matter how old the install. This does not absolve the deployers from reading the changelogs!
|
||||
|
||||
We are also actively working on:
|
||||
- **raising the profile** of InvenTree to get a wider developer base
|
||||
- supporting **translation** into every wanted language - [learn more]({% link contribute.md %})
|
||||
- creating [integrations]({% link extend/plugin/index.md %}) into other business and EE-systems via the **plugin system**
|
||||
|
||||
### Motivations
|
||||
|
||||
InvenTree is built and maintained by users who are passionate about the project. The core team members use InvenTree in their companies, laboratories and organisations to make their life easier.
|
||||
|
||||
The InvenTree project is driven by the support of its developers and users. We all want to see the project grow and be embraced by others, who may in turn be inspired to contribute themselves.
|
||||
|
||||
There is no inherent monetary interest but if you would like to [support the project]({% link contribute.md %}) - we appreciate it.
|
||||
@@ -1,33 +0,0 @@
|
||||
---
|
||||
title: Team
|
||||
---
|
||||
|
||||
{{site.data.team.text}}
|
||||
<br/>
|
||||
|
||||
<h3>Maintainer</h3>
|
||||
|
||||
<h4>SchrodingersGat</h4>
|
||||
<p>Oliver is an Australian EE. He started InvenTree in 2017 and is the maintainer.
|
||||
<a href="https://github.com/SchrodingersGat" alt="learn more">GitHub</a>
|
||||
</p>
|
||||
|
||||
<h3>Active Team</h3>
|
||||
|
||||
{% for item in site.data.team.team %}
|
||||
<h4>{{ item.tag }}</h4>
|
||||
<p>{{ item.text }}
|
||||
<span class="inline-flex">
|
||||
{% for link in item.links %}
|
||||
<a href="{{ link.link }}" alt="learn more">{{ link.text }}</a>
|
||||
{% endfor %}
|
||||
</span>
|
||||
</p>
|
||||
{% endfor %}
|
||||
|
||||
<h3>Contributors</h3>
|
||||
<p>ToDo / Looking for suggestions.</p>
|
||||
|
||||
|
||||
<h3>Disclaimer</h3>
|
||||
<p>The list is in no way complete and only contains the most active devs when the website was created. If you feel someone is missing feel free to open an issue in the GitHub repo.</p>
|
||||
@@ -1,17 +0,0 @@
|
||||
---
|
||||
title: Alternatives
|
||||
---
|
||||
|
||||
InvenTree is by far not the only software for managing 'things'™, there are even a few in the OSS space that may address all your possible needs. We have compiled a list with several competitors, and why they might be a better fit.
|
||||
|
||||
PLMs:
|
||||
- [Partkeepr](https://partkeepr.org/) - one of the OG OSS inventory solutions
|
||||
- [Partsbox](https://partsbox.com/) `for profit` nice interface and reasonable priced for SMEs
|
||||
- [Bomist](https://bomist.com/) `for profit` free version with limited function
|
||||
|
||||
Asset Management:
|
||||
- [SnipeIt](https://snipeitapp.com/) - battleproven stable in the PHP scene
|
||||
- [Odoo](https://github.com/odoo) - full open source ERP
|
||||
|
||||
Other:
|
||||
- [Excel](https://de.wikipedia.org/wiki/Microsoft_Excel) `for profit` be honest to yourself - could you handle it with a spreadsheet?
|
||||
@@ -1 +0,0 @@
|
||||
<svg fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z" clip-rule="evenodd"></path></svg>
|
||||
|
Before Width: | Height: | Size: 257 B |
@@ -1 +0,0 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 20 20"><path fill-rule="evenodd" d="M10 0C4.477 0 0 4.484 0 10.017c0 4.425 2.865 8.18 6.839 9.504.5.092.682-.217.682-.483 0-.237-.008-.868-.013-1.703-2.782.605-3.369-1.343-3.369-1.343-.454-1.158-1.11-1.466-1.11-1.466-.908-.62.069-.608.069-.608 1.003.07 1.531 1.032 1.531 1.032.892 1.53 2.341 1.088 2.91.832.092-.647.35-1.088.636-1.338-2.22-.253-4.555-1.113-4.555-4.951 0-1.093.39-1.988 1.029-2.688-.103-.253-.446-1.272.098-2.65 0 0 .84-.27 2.75 1.026A9.564 9.564 0 0110 4.844c.85.004 1.705.115 2.504.337 1.909-1.296 2.747-1.027 2.747-1.027.546 1.379.203 2.398.1 2.651.64.7 1.028 1.595 1.028 2.688 0 3.848-2.339 4.695-4.566 4.942.359.31.678.921.678 1.856 0 1.338-.012 2.419-.012 2.747 0 .268.18.58.688.482A10.019 10.019 0 0020 10.017C20 4.484 15.522 0 10 0z" clip-rule="evenodd"></path></svg>
|
||||
|
Before Width: | Height: | Size: 864 B |
@@ -1,119 +0,0 @@
|
||||
---
|
||||
layout: empty
|
||||
---
|
||||
|
||||
@import "tailwindcss/base";
|
||||
@import "tailwindcss/components";
|
||||
@import "tailwindcss/utilities";
|
||||
|
||||
|
||||
@layer components {
|
||||
article {
|
||||
@apply prose prose-sm sm:prose lg:prose-lg xl:prose-xl m-5 sm:mx-auto
|
||||
}
|
||||
|
||||
.custom-underline-blue {
|
||||
@apply border-b-4 border-blue-400;
|
||||
}
|
||||
|
||||
.section-container {
|
||||
@apply container px-5 py-24 mx-auto
|
||||
}
|
||||
|
||||
.header-text{
|
||||
@apply sm:text-3xl text-2xl font-medium
|
||||
}
|
||||
|
||||
.footer-link {
|
||||
@apply text-gray-600 hover:text-gray-800
|
||||
}
|
||||
|
||||
.footer-categorie {
|
||||
@apply font-medium text-gray-900 tracking-widest text-sm mb-3
|
||||
}
|
||||
|
||||
.cm-hvr-btn {
|
||||
@apply text-gray-700 bg-gray-100 hover:bg-gray-200 rounded
|
||||
}
|
||||
|
||||
.cm-hvr-btn-primary {
|
||||
@apply text-white bg-secondary hover:bg-primary rounded
|
||||
}
|
||||
|
||||
.cm-gray-1 {
|
||||
@apply text-gray-900
|
||||
}
|
||||
|
||||
.cm-gray-2 {
|
||||
@apply text-gray-600
|
||||
}
|
||||
|
||||
.cm-gray-3 {
|
||||
@apply text-gray-500
|
||||
}
|
||||
|
||||
a.anchor {
|
||||
display: block;
|
||||
position: relative;
|
||||
top: -72px;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.content a {
|
||||
color:#111827;
|
||||
font-weight:500;
|
||||
text-decoration:underline;
|
||||
}
|
||||
|
||||
.color-link {
|
||||
@apply text-secondary
|
||||
}
|
||||
|
||||
.badge {
|
||||
@apply py-1 px-2.5 rounded-full
|
||||
}
|
||||
|
||||
.list-unstyled {
|
||||
padding-left: 0px;
|
||||
position: initial;
|
||||
@apply list-none
|
||||
}
|
||||
|
||||
.list-unstyled li {
|
||||
padding-left: 0px;
|
||||
position: initial;
|
||||
@apply list-none
|
||||
}
|
||||
|
||||
.plugin_cat {
|
||||
@apply badge bg-yellow-500 whitespace-nowrap
|
||||
}
|
||||
|
||||
.plugin_tag {
|
||||
@apply badge bg-blue-400 whitespace-nowrap
|
||||
}
|
||||
|
||||
.max-w-p90 {
|
||||
max-width: 90%
|
||||
}
|
||||
|
||||
img + em {
|
||||
display: block;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.plugin_links {
|
||||
@apply mb-0 italic
|
||||
}
|
||||
|
||||
.success {
|
||||
color: #155724;
|
||||
}
|
||||
|
||||
.anchor {
|
||||
display: block;
|
||||
position: relative;
|
||||
top: -4.5rem;
|
||||
visibility: hidden;
|
||||
}
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M2.93 17.07A10 10 0 1 1 17.07 2.93 10 10 0 0 1 2.93 17.07zm12.73-1.41A8 8 0 1 0 4.34 4.34a8 8 0 0 0 11.32 11.32zM9 11V9h2v6H9v-4zm0-6h2v2H9V5z"/></svg>
|
||||
|
Before Width: | Height: | Size: 220 B |
@@ -1 +0,0 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewBox="0 0 24 24"><path d="M5 12h14M12 5l7 7-7 7"></path></svg>
|
||||
|
Before Width: | Height: | Size: 203 B |
@@ -1,10 +0,0 @@
|
||||
<svg width="65" height="65" viewBox="0 0 61 65" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M60.7539 14.3904C59.8143 7.40642 53.7273 1.90257 46.5117 0.836066C45.2943 0.655854 40.6819 0 29.9973 0H29.9175C19.2299 0 16.937 0.655854 15.7196 0.836066C8.70488 1.87302 2.29885 6.81852 0.744617 13.8852C-0.00294988 17.3654 -0.0827298 21.2237 0.0561464 24.7629C0.254119 29.8384 0.292531 34.905 0.753482 39.9598C1.07215 43.3175 1.62806 46.6484 2.41704 49.9276C3.89445 55.9839 9.87499 61.0239 15.7344 63.0801C22.0077 65.2244 28.7542 65.5804 35.2184 64.1082C35.9295 63.9428 36.6318 63.7508 37.3252 63.5321C38.8971 63.0329 40.738 62.4745 42.0913 61.4937C42.1099 61.4799 42.1251 61.4621 42.1358 61.4417C42.1466 61.4212 42.1526 61.3986 42.1534 61.3755V56.4773C42.153 56.4557 42.1479 56.4345 42.1383 56.4151C42.1287 56.3958 42.1149 56.3788 42.0979 56.3655C42.0809 56.3522 42.0611 56.3429 42.04 56.3382C42.019 56.3335 41.9971 56.3336 41.9761 56.3384C37.8345 57.3276 33.5905 57.8234 29.3324 57.8156C22.0045 57.8156 20.0336 54.3384 19.4693 52.8908C19.0156 51.6397 18.7275 50.3346 18.6124 49.0088C18.6112 48.9866 18.6153 48.9643 18.6243 48.9439C18.6333 48.9236 18.647 48.9056 18.6643 48.8915C18.6816 48.8774 18.7019 48.8675 18.7237 48.8628C18.7455 48.858 18.7681 48.8585 18.7897 48.8641C22.8622 49.8465 27.037 50.3423 31.2265 50.3412C32.234 50.3412 33.2387 50.3412 34.2463 50.3146C38.4598 50.1964 42.9009 49.9808 47.0465 49.1713C47.1499 49.1506 47.2534 49.1329 47.342 49.1063C53.881 47.8507 60.1038 43.9097 60.7362 33.9301C60.7598 33.5372 60.8189 29.8148 60.8189 29.4071C60.8218 28.0215 61.2651 19.5781 60.7539 14.3904Z" fill="url(#paint0_linear_89_8)"/>
|
||||
<path d="M50.3943 22.237V39.5876H43.5185V22.7481C43.5185 19.2029 42.0411 17.3949 39.036 17.3949C35.7325 17.3949 34.0778 19.5338 34.0778 23.7585V32.9759H27.2434V23.7585C27.2434 19.5338 25.5857 17.3949 22.2822 17.3949C19.2949 17.3949 17.8027 19.2029 17.8027 22.7481V39.5876H10.9298V22.237C10.9298 18.6918 11.835 15.8754 13.6453 13.7877C15.5128 11.7049 17.9623 10.6355 21.0028 10.6355C24.522 10.6355 27.1813 11.9885 28.9542 14.6917L30.665 17.5633L32.3788 14.6917C34.1517 11.9885 36.811 10.6355 40.3243 10.6355C43.3619 10.6355 45.8114 11.7049 47.6847 13.7877C49.4931 15.8734 50.3963 18.6899 50.3943 22.237Z" fill="white"/>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear_89_8" x1="30.5" y1="0" x2="30.5" y2="65" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#6364FF"/>
|
||||
<stop offset="1" stop-color="#563ACC"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 2.4 KiB |
@@ -1 +0,0 @@
|
||||
<svg viewBox="0 0 800 800" xmlns="http://www.w3.org/2000/svg" width="2500" height="2500"><circle cx="400" cy="400" fill="#ff4500" r="400"/><path d="M666.8 400c.08 5.48-.6 10.95-2.04 16.24s-3.62 10.36-6.48 15.04c-2.85 4.68-6.35 8.94-10.39 12.65s-8.58 6.83-13.49 9.27c.11 1.46.2 2.93.25 4.4a107.268 107.268 0 0 1 0 8.8c-.05 1.47-.14 2.94-.25 4.4 0 89.6-104.4 162.4-233.2 162.4S168 560.4 168 470.8c-.11-1.46-.2-2.93-.25-4.4a107.268 107.268 0 0 1 0-8.8c.05-1.47.14-2.94.25-4.4a58.438 58.438 0 0 1-31.85-37.28 58.41 58.41 0 0 1 7.8-48.42 58.354 58.354 0 0 1 41.93-25.4 58.4 58.4 0 0 1 46.52 15.5 286.795 286.795 0 0 1 35.89-20.71c12.45-6.02 25.32-11.14 38.51-15.3s26.67-7.35 40.32-9.56 27.45-3.42 41.28-3.63L418 169.6c.33-1.61.98-3.13 1.91-4.49.92-1.35 2.11-2.51 3.48-3.4 1.38-.89 2.92-1.5 4.54-1.8 1.61-.29 3.27-.26 4.87.09l98 19.6c9.89-16.99 30.65-24.27 48.98-17.19s28.81 26.43 24.71 45.65c-4.09 19.22-21.55 32.62-41.17 31.61-19.63-1.01-35.62-16.13-37.72-35.67L440 186l-26 124.8c13.66.29 27.29 1.57 40.77 3.82a284.358 284.358 0 0 1 77.8 24.86A284.412 284.412 0 0 1 568 360a58.345 58.345 0 0 1 29.4-15.21 58.361 58.361 0 0 1 32.95 3.21 58.384 58.384 0 0 1 25.91 20.61A58.384 58.384 0 0 1 666.8 400zm-396.96 55.31c2.02 4.85 4.96 9.26 8.68 12.97 3.71 3.72 8.12 6.66 12.97 8.68A40.049 40.049 0 0 0 306.8 480c16.18 0 30.76-9.75 36.96-24.69 6.19-14.95 2.76-32.15-8.68-43.59s-28.64-14.87-43.59-8.68c-14.94 6.2-24.69 20.78-24.69 36.96 0 5.25 1.03 10.45 3.04 15.31zm229.1 96.02c2.05-2 3.22-4.73 3.26-7.59.04-2.87-1.07-5.63-3.07-7.68s-4.73-3.22-7.59-3.26c-2.87-.04-5.63 1.07-7.94 2.8a131.06 131.06 0 0 1-19.04 11.35 131.53 131.53 0 0 1-20.68 7.99c-7.1 2.07-14.37 3.54-21.72 4.39-7.36.85-14.77 1.07-22.16.67-7.38.33-14.78.03-22.11-.89a129.01 129.01 0 0 1-21.64-4.6c-7.08-2.14-13.95-4.88-20.56-8.18s-12.93-7.16-18.89-11.53c-2.07-1.7-4.7-2.57-7.38-2.44s-5.21 1.26-7.11 3.15c-1.89 1.9-3.02 4.43-3.15 7.11s.74 5.31 2.44 7.38c7.03 5.3 14.5 9.98 22.33 14s16 7.35 24.4 9.97 17.01 4.51 25.74 5.66c8.73 1.14 17.54 1.53 26.33 1.17 8.79.36 17.6-.03 26.33-1.17A153.961 153.961 0 0 0 476.87 564c7.83-4.02 15.3-8.7 22.33-14zm-7.34-68.13c5.42.06 10.8-.99 15.81-3.07 5.01-2.09 9.54-5.17 13.32-9.06s6.72-8.51 8.66-13.58A39.882 39.882 0 0 0 532 441.6c0-16.18-9.75-30.76-24.69-36.96-14.95-6.19-32.15-2.76-43.59 8.68s-14.87 28.64-8.68 43.59c6.2 14.94 20.78 24.69 36.96 24.69z" fill="#fff"/></svg>
|
||||
|
Before Width: | Height: | Size: 2.3 KiB |
@@ -1,74 +0,0 @@
|
||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 24.912 24.912" style="enable-background:new 0 0 24.912 24.912;" xml:space="preserve">
|
||||
<g>
|
||||
<path d="M3.692,17.517C1.656,17.517,0,19.173,0,21.211C0,23.244,1.656,24.9,3.692,24.9s3.694-1.657,3.694-3.689
|
||||
C7.387,19.173,5.729,17.517,3.692,17.517z"/>
|
||||
<path d="M0.384,8.142C0.173,8.142,0,8.315,0,8.527v4.688c0,0.211,0.173,0.383,0.384,0.383c6.02,0,10.919,4.898,10.919,10.92
|
||||
c0,0.209,0.171,0.383,0.384,0.383h4.689h0.016c0.215,0,0.387-0.173,0.387-0.383l-0.018-0.121C16.692,15.423,9.37,8.142,0.384,8.142
|
||||
z"/>
|
||||
<path d="M24.89,24.397C24.825,10.936,13.854,0.011,0.384,0.011C0.173,0.011,0,0.183,0,0.397v4.824c0,0.212,0.173,0.383,0.384,0.383
|
||||
c10.429,0,18.913,8.486,18.913,18.914c0,0.209,0.172,0.383,0.382,0.383h4.825h0.02c0.21,0,0.388-0.173,0.388-0.383L24.89,24.397z"
|
||||
/>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 1.3 KiB |
@@ -1 +0,0 @@
|
||||
@keyframes splide-loading{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.splide__track--draggable{-webkit-touch-callout:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.splide__track--fade>.splide__list{display:block}.splide__track--fade>.splide__list>.splide__slide{left:0;opacity:0;position:absolute;top:0;z-index:0}.splide__track--fade>.splide__list>.splide__slide.is-active{opacity:1;position:relative;z-index:1}.splide--rtl{direction:rtl}.splide__track--ttb>.splide__list{display:block}.splide__container{box-sizing:border-box;position:relative}.splide__list{-webkit-backface-visibility:hidden;backface-visibility:hidden;display:-ms-flexbox;display:flex;height:100%;margin:0!important;padding:0!important}.splide.is-initialized:not(.is-active) .splide__list{display:block}.splide__pagination{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:center;justify-content:center;margin:0;pointer-events:none}.splide__pagination li{display:inline-block;line-height:1;list-style-type:none;margin:0;pointer-events:auto}.splide__progress__bar{width:0}.splide{position:relative;visibility:hidden}.splide.is-initialized,.splide.is-rendered{visibility:visible}.splide__slide{-webkit-backface-visibility:hidden;backface-visibility:hidden;box-sizing:border-box;-ms-flex-negative:0;flex-shrink:0;list-style-type:none!important;margin:0;position:relative}.splide__slide img{vertical-align:bottom}.splide__spinner{animation:splide-loading 1s linear infinite;border:2px solid #999;border-left-color:transparent;border-radius:50%;bottom:0;contain:strict;display:inline-block;height:20px;left:0;margin:auto;position:absolute;right:0;top:0;width:20px}.splide__sr{clip:rect(0 0 0 0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.splide__toggle.is-active .splide__toggle__play,.splide__toggle__pause{display:none}.splide__toggle.is-active .splide__toggle__pause{display:inline}.splide__track{overflow:hidden;position:relative;z-index:0}
|
||||
@@ -1 +0,0 @@
|
||||
.splide__container{box-sizing:border-box;position:relative}.splide__list{-webkit-backface-visibility:hidden;backface-visibility:hidden;display:-ms-flexbox;display:flex;height:100%;margin:0!important;padding:0!important}.splide.is-initialized:not(.is-active) .splide__list{display:block}.splide__pagination{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:center;justify-content:center;margin:0;pointer-events:none}.splide__pagination li{display:inline-block;line-height:1;list-style-type:none;margin:0;pointer-events:auto}.splide__progress__bar{width:0}.splide{position:relative;visibility:hidden}.splide.is-initialized,.splide.is-rendered{visibility:visible}.splide__slide{-webkit-backface-visibility:hidden;backface-visibility:hidden;box-sizing:border-box;-ms-flex-negative:0;flex-shrink:0;list-style-type:none!important;margin:0;position:relative}.splide__slide img{vertical-align:bottom}.splide__spinner{animation:splide-loading 1s linear infinite;border:2px solid #999;border-left-color:transparent;border-radius:50%;bottom:0;contain:strict;display:inline-block;height:20px;left:0;margin:auto;position:absolute;right:0;top:0;width:20px}.splide__sr{clip:rect(0 0 0 0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.splide__toggle.is-active .splide__toggle__play,.splide__toggle__pause{display:none}.splide__toggle.is-active .splide__toggle__pause{display:inline}.splide__track{overflow:hidden;position:relative;z-index:0}@keyframes splide-loading{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.splide__track--draggable{-webkit-touch-callout:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.splide__track--fade>.splide__list{display:block}.splide__track--fade>.splide__list>.splide__slide{left:0;opacity:0;position:absolute;top:0;z-index:0}.splide__track--fade>.splide__list>.splide__slide.is-active{opacity:1;position:relative;z-index:1}.splide--rtl{direction:rtl}.splide__track--ttb>.splide__list{display:block}.splide__arrow{-ms-flex-align:center;align-items:center;background:#ccc;border:0;border-radius:50%;cursor:pointer;display:-ms-flexbox;display:flex;height:2em;-ms-flex-pack:center;justify-content:center;opacity:.7;padding:0;position:absolute;top:50%;transform:translateY(-50%);width:2em;z-index:1}.splide__arrow svg{fill:#000;height:1.2em;width:1.2em}.splide__arrow:hover:not(:disabled){opacity:.9}.splide__arrow:disabled{opacity:.3}.splide__arrow:focus-visible{outline:3px solid #0bf;outline-offset:3px}.splide__arrow--prev{left:1em}.splide__arrow--prev svg{transform:scaleX(-1)}.splide__arrow--next{right:1em}.splide.is-focus-in .splide__arrow:focus{outline:3px solid #0bf;outline-offset:3px}.splide__pagination{bottom:.5em;left:0;padding:0 1em;position:absolute;right:0;z-index:1}.splide__pagination__page{background:#ccc;border:0;border-radius:50%;display:inline-block;height:8px;margin:3px;opacity:.7;padding:0;position:relative;transition:transform .2s linear;width:8px}.splide__pagination__page.is-active{background:#fff;transform:scale(1.4);z-index:1}.splide__pagination__page:hover{cursor:pointer;opacity:.9}.splide__pagination__page:focus-visible{outline:3px solid #0bf;outline-offset:3px}.splide.is-focus-in .splide__pagination__page:focus{outline:3px solid #0bf;outline-offset:3px}.splide__progress__bar{background:#ccc;height:3px}.splide__slide{-webkit-tap-highlight-color:transparent}.splide__slide:focus{outline:0}@supports(outline-offset:-3px){.splide__slide:focus-visible{outline:3px solid #0bf;outline-offset:-3px}}@media screen and (-ms-high-contrast:none){.splide__slide:focus-visible{border:3px solid #0bf}}@supports(outline-offset:-3px){.splide.is-focus-in .splide__slide:focus{outline:3px solid #0bf;outline-offset:-3px}}@media screen and (-ms-high-contrast:none){.splide.is-focus-in .splide__slide:focus{border:3px solid #0bf}.splide.is-focus-in .splide__track>.splide__list>.splide__slide:focus{border-color:#0bf}}.splide__toggle{cursor:pointer}.splide__toggle:focus-visible{outline:3px solid #0bf;outline-offset:3px}.splide.is-focus-in .splide__toggle:focus{outline:3px solid #0bf;outline-offset:3px}.splide__track--nav>.splide__list>.splide__slide{border:3px solid transparent;cursor:pointer}.splide__track--nav>.splide__list>.splide__slide.is-active{border:3px solid #000}.splide__arrows--rtl .splide__arrow--prev{left:auto;right:1em}.splide__arrows--rtl .splide__arrow--prev svg{transform:scaleX(1)}.splide__arrows--rtl .splide__arrow--next{left:1em;right:auto}.splide__arrows--rtl .splide__arrow--next svg{transform:scaleX(-1)}.splide__arrows--ttb .splide__arrow{left:50%;transform:translate(-50%)}.splide__arrows--ttb .splide__arrow--prev{top:1em}.splide__arrows--ttb .splide__arrow--prev svg{transform:rotate(-90deg)}.splide__arrows--ttb .splide__arrow--next{bottom:1em;top:auto}.splide__arrows--ttb .splide__arrow--next svg{transform:rotate(90deg)}.splide__pagination--ttb{bottom:0;display:-ms-flexbox;display:fleLine truncated
|
||||
@@ -1 +0,0 @@
|
||||
.splide__track--nav>.splide__list>.splide__slide{border:3px solid transparent;border-radius:4px;cursor:pointer;opacity:.7}.splide__track--nav>.splide__list>.splide__slide.is-active{border:3px solid #20b2aa;opacity:1}.splide__arrows--ttb .splide__arrow{left:50%;transform:translate(-50%)}.splide__arrows--ttb .splide__arrow--prev{top:1em}.splide__arrows--ttb .splide__arrow--prev svg{transform:rotate(-90deg)}.splide__arrows--ttb .splide__arrow--next{bottom:1em;top:auto}.splide__arrows--ttb .splide__arrow--next svg{transform:rotate(90deg)}.splide__pagination--ttb{bottom:0;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;left:auto;padding:1em 0;right:1em;top:0}.splide__pagination--ttb .splide__pagination__page{height:20px;width:5px}.splide__arrow{-ms-flex-align:center;align-items:center;background:transparent;border:0;border-radius:0;cursor:pointer;display:-ms-flexbox;display:flex;height:2.5em;-ms-flex-pack:center;justify-content:center;padding:0;position:absolute;top:50%;transform:translateY(-50%);width:2.5em;z-index:1}.splide__arrow svg{fill:#20b2aa;height:2.5em;transition:fill .2s linear;width:2.5em}.splide__arrow:hover:not(:disabled) svg{fill:#57e1d9}.splide__arrow:disabled{opacity:.3}.splide__arrow:focus-visible{outline:3px solid #20b2aa;outline-offset:3px}.splide__arrow--prev{left:1em}.splide__arrow--prev svg{transform:scaleX(-1)}.splide__arrow--next{right:1em}.splide.is-focus-in .splide__arrow:focus{outline:3px solid #20b2aa;outline-offset:3px}.splide__pagination{bottom:1em;left:0;padding:0 1em;position:absolute;right:0;z-index:1}.splide__pagination__page{background:#ccc;border:0;border-radius:2.5px;display:inline-block;height:5px;margin:3px;padding:0;position:relative;transition:background-color .2s linear;width:20px}.splide__pagination__page.is-active{background:#20b2aa;z-index:1}.splide__pagination__page:hover{background:#57e1d9;cursor:pointer;opacity:.9}.splide__pagination__page:focus-visible{outline:3px solid #20b2aa;outline-offset:3px}.splide.is-focus-in .splide__pagination__page:focus{outline:3px solid #20b2aa;outline-offset:3px}.splide__slide{-webkit-tap-highlight-color:transparent;border-radius:4px}.splide__slide:focus{outline:0}@supports(outline-offset:-3px){.splide__slide:focus-visible{outline:3px solid #20b2aa;outline-offset:-3px}}@media screen and (-ms-high-contrast:none){.splide__slide:focus-visible{border:3px solid #20b2aa}}@supports(outline-offset:-3px){.splide.is-focus-in .splide__slide:focus{outline:3px solid #20b2aa;outline-offset:-3px}}@media screen and (-ms-high-contrast:none){.splide.is-focus-in .splide__slide:focus{border:3px solid #20b2aa}.splide.is-focus-in .splide__track>.splide__list>.splide__slide:focus{border-color:#20b2aa}}.splide__container{box-sizing:border-box;position:relative}.splide__list{-webkit-backface-visibility:hidden;backface-visibility:hidden;display:-ms-flexbox;display:flex;height:100%;margin:0!important;padding:0!important}.splide.is-initialized:not(.is-active) .splide__list{display:block}.splide__pagination{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:center;justify-content:center;margin:0;pointer-events:none}.splide__pagination li{display:inline-block;line-height:1;list-style-type:none;margin:0;pointer-events:auto}.splide__progress__bar{width:0}.splide{position:relative;visibility:hidden}.splide.is-initialized,.splide.is-rendered{visibility:visible}.splide__slide{-webkit-backface-visibility:hidden;backface-visibility:hidden;box-sizing:border-box;-ms-flex-negative:0;flex-shrink:0;list-style-type:none!important;margin:0;position:relative}.splide__slide img{vertical-align:bottom}.splide__spinner{animation:splide-loading 1s linear infinite;border:2px solid #20b2aa;border-left-color:transparent;border-radius:50%;bottom:0;contain:strict;display:inline-block;height:20px;left:0;margin:auto;position:absolute;right:0;top:0;width:20px}.splide__sr{clip:rect(0 0 0 0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.splide__toggle.is-active .splide__toggle__play,.splide__toggle__pause{display:none}.splide__toggle.is-active .splide__toggle__pause{display:inline}.splide__track{overflow:hidden;position:relative;z-index:0}@keyframes splide-loading{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.splide__track--draggable{-webkit-touch-callout:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.splide__track--fade>.splide__list{display:block}.splide__track--fade>.splide__list>.splide__slide{left:0;opacity:0;position:absolute;top:0;z-index:0}.splide__track--fade>.splide__list>.splide__slide.is-active{opacity:1;position:relative;z-index:1}.splide--rtl{direction:rtl}.splide__track--ttb>.splide__list{display:block}.splide__progress__bar{background:#ccc;height:3px}.splide__toggle{cursor:pointer}.splide__toggle:focus-visible{outline:3px solid #20b2aa;outline-offset:3px}.splide.is-focus-in .splide__toggle:focus{outline:3pLine truncated
|
||||
@@ -1 +0,0 @@
|
||||
.splide__track--nav>.splide__list>.splide__slide{border:3px solid transparent;cursor:pointer;opacity:.7}.splide__track--nav>.splide__list>.splide__slide.is-active{border:3px solid #00bfff;opacity:1}.splide__arrow{-ms-flex-align:center;align-items:center;background:transparent;border:0;border-radius:0;cursor:pointer;display:-ms-flexbox;display:flex;height:2.5em;-ms-flex-pack:center;justify-content:center;padding:0;position:absolute;top:50%;transform:translateY(-50%);width:2.5em;z-index:1}.splide__arrow svg{fill:#00bfff;height:2.5em;transition:fill .2s linear;width:2.5em}.splide__arrow:hover:not(:disabled) svg{fill:#66d9ff}.splide__arrow:disabled{opacity:.3}.splide__arrow:focus-visible{outline:3px solid #00bfff;outline-offset:3px}.splide__arrow--prev{left:1em}.splide__arrow--prev svg{transform:scaleX(-1)}.splide__arrow--next{right:1em}.splide.is-focus-in .splide__arrow:focus{outline:3px solid #00bfff;outline-offset:3px}.splide__pagination{bottom:.5em;left:0;padding:0 1em;position:absolute;right:0;z-index:1}.splide__pagination__page{background:#ccc;border:0;border-radius:50%;display:inline-block;height:10px;margin:3px;padding:0;position:relative;transition:background-color .2s linear,transform .2s linear;width:10px}.splide__pagination__page.is-active{background:#00bfff;transform:scale(1.4);z-index:1}.splide__pagination__page:hover{background:#66d9ff;cursor:pointer;opacity:.9}.splide__pagination__page:focus-visible{outline:3px solid #00bfff;outline-offset:3px}.splide.is-focus-in .splide__pagination__page:focus{outline:3px solid #00bfff;outline-offset:3px}.splide__container{box-sizing:border-box;position:relative}.splide__list{-webkit-backface-visibility:hidden;backface-visibility:hidden;display:-ms-flexbox;display:flex;height:100%;margin:0!important;padding:0!important}.splide.is-initialized:not(.is-active) .splide__list{display:block}.splide__pagination{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:center;justify-content:center;margin:0;pointer-events:none}.splide__pagination li{display:inline-block;line-height:1;list-style-type:none;margin:0;pointer-events:auto}.splide__progress__bar{width:0}.splide{position:relative;visibility:hidden}.splide.is-initialized,.splide.is-rendered{visibility:visible}.splide__slide{-webkit-backface-visibility:hidden;backface-visibility:hidden;box-sizing:border-box;-ms-flex-negative:0;flex-shrink:0;list-style-type:none!important;margin:0;position:relative}.splide__slide img{vertical-align:bottom}.splide__spinner{animation:splide-loading 1s linear infinite;border:2px solid #00bfff;border-left-color:transparent;border-radius:50%;bottom:0;contain:strict;display:inline-block;height:20px;left:0;margin:auto;position:absolute;right:0;top:0;width:20px}.splide__sr{clip:rect(0 0 0 0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.splide__toggle.is-active .splide__toggle__play,.splide__toggle__pause{display:none}.splide__toggle.is-active .splide__toggle__pause{display:inline}.splide__track{overflow:hidden;position:relative;z-index:0}@keyframes splide-loading{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.splide__track--draggable{-webkit-touch-callout:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.splide__track--fade>.splide__list{display:block}.splide__track--fade>.splide__list>.splide__slide{left:0;opacity:0;position:absolute;top:0;z-index:0}.splide__track--fade>.splide__list>.splide__slide.is-active{opacity:1;position:relative;z-index:1}.splide--rtl{direction:rtl}.splide__track--ttb>.splide__list{display:block}.splide__progress__bar{background:#ccc;height:3px}.splide__slide{-webkit-tap-highlight-color:transparent}.splide__slide:focus{outline:0}@supports(outline-offset:-3px){.splide__slide:focus-visible{outline:3px solid #00bfff;outline-offset:-3px}}@media screen and (-ms-high-contrast:none){.splide__slide:focus-visible{border:3px solid #00bfff}}@supports(outline-offset:-3px){.splide.is-focus-in .splide__slide:focus{outline:3px solid #00bfff;outline-offset:-3px}}@media screen and (-ms-high-contrast:none){.splide.is-focus-in .splide__slide:focus{border:3px solid #00bfff}.splide.is-focus-in .splide__track>.splide__list>.splide__slide:focus{border-color:#00bfff}}.splide__toggle{cursor:pointer}.splide__toggle:focus-visible{outline:3px solid #00bfff;outline-offset:3px}.splide.is-focus-in .splide__toggle:focus{outline:3px solid #00bfff;outline-offset:3px}.splide__arrows--rtl .splide__arrow--prev{left:auto;right:1em}.splide__arrows--rtl .splide__arrow--prev svg{transform:scaleX(1)}.splide__arrows--rtl .splide__arrow--next{left:1em;right:auto}.splide__arrows--rtl .splide__arrow--next svg{transform:scaleX(-1)}.splide__arrows--ttb .splide__arrow{left:50%;transform:translate(-50%)}.splide__arrows--ttb .splide__arrow--prev{top:1em}.splide__arrows--ttb .splide__arrow--prev svg{transform:rotate(-90deg)}.splide__arrows--ttb .splide__arrow--next{bottom:1em;top:auto}Line truncated
|
||||
@@ -1,2 +0,0 @@
|
||||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).SplideRenderer=e()}(this,function(){"use strict";var r="rtl",o="ttb",a={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:["ArrowUp","ArrowRight"],ArrowRight:["ArrowDown","ArrowLeft"]};function n(t,e,n){return{resolve:function(t,e,i){var s=(i=i||n.direction)!==r||e?i===o?0:-1:1;return a[t]&&a[t][s]||t.replace(/width|left|right/i,function(t,e){t=a[t.toLowerCase()][s]||t;return 0<e?t.charAt(0).toUpperCase()+t.slice(1):t})},orient:function(t){return t*(n.direction===r?1:-1)}}}var i="splide",s=i,u=i+"__track",l=i+"__list",c=i+"__slide",h=c+"--clone",t=i+"__arrow",e=i+"__pagination",d="is-active",f={type:"slide",role:"region",speed:400,perPage:1,cloneStatus:!0,arrows:!0,pagination:!0,paginationKeyboard:!0,interval:5e3,pauseOnHover:!0,pauseOnFocus:!0,resetProgress:!0,easing:"cubic-bezier(0.25, 1, 0.5, 1)",drag:!0,direction:"ltr",trimSpace:!0,focusableNodes:"a, button, textarea, input, select, iframe",live:!0,classes:{slide:c,clone:h,arrows:i+"__arrows",arrow:t,prev:t+"--prev",next:t+"--next",pagination:e,page:e+"__page",spinner:i+"__spinner"},i18n:{prev:"Previous slide",next:"Next slide",first:"Go to first slide",last:"Go to last slide",slideX:"Go to slide %s",pageX:"Go to page %s",play:"Start autoplay",pause:"Pause autoplay",carousel:"carousel",slide:"slide",select:"Select a slide to show",slideLabel:"%s of %s"},reducedMotion:{speed:0,rewindSpeed:0,autoplay:"pause"}};function p(t,e,i){return Array.prototype.slice.call(t,e,i)}function v(t){return t.bind.apply(t,[null].concat(p(arguments,1)))}function g(t,e){return typeof e===t}function y(t){return null!==t&&g("object",t)}var b=Array.isArray;v(g,"function");var m=v(g,"string");function S(t){return b(t)?t:[t]}function w(t,e){S(t).forEach(e)}function C(t,e){return t.push.apply(t,S(e)),t}function x(t,e){return t instanceof HTMLElement&&(t.msMatchesSelector||t.matches).call(t,e)}function _(t,e){return e?(i=e,e=(e=t)?p(e.children):[],(i?e.filter(function(t){return x(t,i)}):e)[0]):t.firstElementChild;var i}v(g,"undefined");var k=Object.keys;function E(t,e,i){if(t)for(var s=k(t),s=i?s.reverse():s,n=0;n<s.length;n++){var r=s[n];if("__proto__"!==r&&!1===e(t[r],r))break}return t}function A(s){return p(arguments,1).forEach(function(i){E(i,function(t,e){s[e]=i[e]})}),s}function L(i){return p(arguments,1).forEach(function(t){E(t,function(t,e){b(t)?i[e]=t.slice():y(t)?i[e]=L({},y(i[e])?i[e]:{},t):i[e]=t})}),i}function P(t){w(t,function(t){t&&t.parentNode&&t.parentNode.removeChild(t)})}function V(t){return m(t)?t:t?t+"px":""}function T(t,e){if(!t)throw new Error("["+i+"] "+(e||""))}Math.min;var H=Math.max;Math.floor,Math.ceil,Math.abs;function W(t){return t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}var D={};function O(){var a=[];function i(t,i,s){w(t,function(e){e&&w(i,function(t){t.split(" ").forEach(function(t){t=t.split(".");s(e,t[0],t[1])})})})}return{bind:function(t,e,r,o){i(t,e,function(t,e,i){var s="addEventListener"in t,n=s?t.removeEventListener.bind(t,e,r,o):t.removeListener.bind(t,r);s?t.addEventListener(e,r,o):t.addListener(r),a.push([t,e,i,r,n])})},unbind:function(t,e,n){i(t,e,function(e,i,s){a=a.filter(function(t){return!!(t[0]!==e||t[1]!==i||t[2]!==s||n&&t[3]!==n)||(t[4](),!1)})})},dispatch:function(t,e,i){var s;return"function"==typeof CustomEvent?s=new CustomEvent(e,{bubbles:!0,detail:i}):(s=document.createEvent("CustomEvent")).initCustomEvent(e,!0,!1,i),t.dispatchEvent(s),s},destroy:function(){a.forEach(function(t){t[4]()}),a.length=0}}}function R(t){var i=t?t.event.bus:document.createDocumentFragment(),s=O();return t&&t.event.on("destroy",s.destroy),A(s,{bus:i,on:function(t,e){s.bind(i,S(t).join(" "),function(t){e.apply(e,b(t.detail)?t.detail:[])})},off:v(s.unbind,i),emit:function(t){s.dispatch(i,t,p(arguments,1))}})}var M={listTag:"ul",slideTag:"li"},j=function(){function t(t,e){this.styles={},this.id=t,this.options=e}var e=t.prototype;return e.rule=function(t,e,i,s){s=this.styles[s=s||"default"]=this.styles[s]||{};(s[t]=s[t]||{})[e]=i},e.build=function(){var i=this,e="";return this.styles.default&&(e+=this.buildSelectors(this.styles.default)),Object.keys(this.styles).sort(function(t,e){return"min"===i.options.mediaQuery?+t-+e:+e-+t}).forEach(function(t){"default"!==t&&(e+="@media screen and (max-width: "+t+"px) {",e+=i.buildSelectors(i.styles[t]),e+="}")}),e},e.buildSelectors=function(t){var i=this,s="";return E(t,function(t,e){e=("#"+i.id+" "+e).trim(),s+=e+" {",E(t,function(t,e){!t&&0!==t||(s+=e+": "+t+";")}),s+="}"}),s},t}();return function(){function t(t,e,i,s){this.slides=[],this.options={},this.breakpoints=[],L(f,s||{}),L(L(this.options,f),e||{}),this.contents=t,this.config=A({},M,i||{}),this.id=this.config.id||""+(i="splide")+((i=D[i]=(D[i]||0)+1)<10?"0"+i:""+i),this.Style=new j(this.id,this.options),this.DirecLine truncated
|
||||
//# sourceMappingURL=splide-renderer.min.js.map
|
||||
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"splide-renderer.min.js","sources":["../../src/js/constants/directions.ts","../../src/js/components/Direction/Direction.ts","../../src/js/constants/arrows.ts","../../src/js/constants/project.ts","../../src/js/constants/classes.ts","../../src/js/constants/defaults.ts","../../src/js/constants/i18n.ts","../../src/js/utils/arrayLike/slice/slice.ts","../../src/js/utils/function/apply/apply.ts","../../src/js/utils/type/type.ts","../../src/js/utils/array/toArray/toArray.ts","../../src/js/utils/array/forEach/forEach.ts","../../src/js/utils/array/push/push.ts","../../src/js/utils/dom/matches/matches.ts","../../src/js/utils/dom/child/child.ts","../../src/js/utils/dom/children/children.ts","../../src/js/utils/object/ownKeys/ownKeys.ts","../../src/js/utils/object/forOwn/forOwn.ts","../../src/js/utils/object/assign/assign.ts","../../src/js/utils/object/merge/merge.ts","../../src/js/utils/dom/remove/remove.ts","../../src/js/utils/dom/unit/unit.ts","../../src/js/utils/error/assert/assert.ts","../../src/js/utils/math/math/math.ts","../../src/js/utils/string/camelToKebab/camelToKebab.ts","../../src/js/utils/string/uniqueId/uniqueId.ts","../../src/js/constructors/EventBinder/EventBinder.ts","../../src/js/utils/array/empty/empty.ts","../../src/js/constructors/EventInterface/EventInterface.ts","../../src/js/constants/events.ts","../../src/js/renderer/constants/defaults.ts","../../src/js/renderer/Style/Style.ts","../../src/js/renderer/SplideRenderer/SplideRenderer.ts","../../src/js/utils/string/pad/pad.ts","../../src/js/utils/dom/queryAll/queryAll.ts","../../src/js/constants/types.ts","../../src/js/renderer/constants/classes.ts","../../src/js/components/Arrows/path.ts"],"sourcesContent":["/**\r\n * Enumerates slides from left to right.\r\n */\r\nexport const LTR = 'ltr';\r\n\r\n/**\r\n * Enumerates slides from right to left.\r\n */\r\nexport const RTL = 'rtl';\r\n\r\n/**\r\n * Enumerates slides in a col.\r\n */\r\nexport const TTB = 'ttb';\r\n","import { ARROW_DOWN, ARROW_LEFT, ARROW_RIGHT, ARROW_UP } from '../../constants/arrows';\r\nimport { RTL, TTB } from '../../constants/directions';\r\nimport { Splide } from '../../core/Splide/Splide';\r\nimport { BaseComponent, Components, Options } from '../../types';\r\n\r\n\r\n/**\r\n * The interface for the Direction component.\r\n *\r\n * @since 3.0.0\r\n */\r\nexport interface DirectionComponent extends BaseComponent {\r\n resolve( prop: string, axisOnly?: boolean, direction?: Options['direction'] ): string;\r\n orient( value: number ): number;\r\n}\r\n\r\n/**\r\n * The translation map for directions.\r\n *\r\n * @since 3.0.0\r\n */\r\nexport const ORIENTATION_MAP = {\r\n width : [ 'height' ],\r\n left : [ 'top', 'right' ],\r\n right : [ 'bottom', 'left' ],\r\n x : [ 'y' ],\r\n X : [ 'Y' ],\r\n Y : [ 'X' ],\r\n ArrowLeft : [ ARROW_UP, ARROW_RIGHT ],\r\n ArrowRight: [ ARROW_DOWN, ARROW_LEFT ],\r\n};\r\n\r\n/**\r\n * The component that absorbs the difference among directions.\r\n *\r\n * @since 3.0.0\r\n *\r\n * @param Splide - A Splide instance.\r\n * @param Components - A collection of components.\r\n * @param options - Options.\r\n *\r\n * @return A Direction component object.\r\n */\r\nexport function Direction( Splide: Splide, Components: Components, options: Options ): DirectionComponent {\r\n /**\r\n * Resolves the provided property name.\r\n *\r\n * @param prop - A property name to translate.\r\n * @param axisOnly - Optional. If `ture`, returns the same property for LTR and RTL.\r\n * @param direction - Optional. Specify the direction. The default value is the `direction` option.\r\n */\r\n function resolve( prop: string, axisOnly?: boolean, direction?: Options['direction'] ): string {\r\n direction = direction || options.direction;\r\n const index = direction === RTL && ! axisOnly ? 1 : direction === TTB ? 0 : -1;\r\n\r\n return ORIENTATION_MAP[ prop ] && ORIENTATION_MAP[ prop ][ index ]\r\n || prop.replace( /width|left|right/i, ( match, offset ) => {\r\n const replacement = ORIENTATION_MAP[ match.toLowerCase() ][ index ] || match;\r\n return offset > 0 ? replacement.charAt( 0 ).toUpperCase() + replacement.slice( 1 ) : replacement;\r\n } );\r\n }\r\n\r\n /**\r\n * Orients the value towards the current direction.\r\n *\r\n * @param value - A value to orient.\r\n *\r\n * @return The oriented value.\r\n */\r\n function orient( value: number ): number {\r\n return value * ( options.direction === RTL ? 1 : -1 );\r\n }\r\n\r\n return {\r\n resolve,\r\n orient,\r\n };\r\n}\r\n","const ARROW = 'Arrow';\r\nexport const ARROW_LEFT = `${ ARROW }Left`;\r\nexport const ARROW_RIGHT = `${ ARROW }Right`;\r\nexport const ARROW_UP = `${ ARROW }Up`;\r\nexport const ARROW_DOWN = `${ ARROW }Down`;","/**\r\n * The project code.\r\n *\r\n * @since 3.0.0\r\n */\r\nexport const PROJECT_CODE = 'splide';\r\n\r\n/**\r\n * The data attribute prefLine truncated
|
||||
@@ -1 +0,0 @@
|
||||
{"version":3,"file":"splide.min.js","sources":["../../src/js/constants/media.ts","../../src/js/constants/states.ts","../../src/js/utils/array/empty/empty.ts","../../src/js/utils/arrayLike/slice/slice.ts","../../src/js/utils/function/apply/apply.ts","../../src/js/utils/function/noop/noop.ts","../../src/js/utils/function/nextTick/nextTick.ts","../../src/js/utils/function/raf/raf.ts","../../src/js/utils/type/type.ts","../../src/js/utils/array/toArray/toArray.ts","../../src/js/utils/array/forEach/forEach.ts","../../src/js/utils/array/includes/includes.ts","../../src/js/utils/array/push/push.ts","../../src/js/utils/dom/toggleClass/toggleClass.ts","../../src/js/utils/dom/addClass/addClass.ts","../../src/js/utils/dom/append/append.ts","../../src/js/utils/dom/before/before.ts","../../src/js/utils/dom/matches/matches.ts","../../src/js/utils/dom/children/children.ts","../../src/js/utils/dom/child/child.ts","../../src/js/utils/object/ownKeys/ownKeys.ts","../../src/js/utils/object/forOwn/forOwn.ts","../../src/js/utils/object/assign/assign.ts","../../src/js/utils/object/merge/merge.ts","../../src/js/utils/object/omit/omit.ts","../../src/js/utils/dom/removeAttribute/removeAttribute.ts","../../src/js/utils/dom/setAttribute/setAttribute.ts","../../src/js/utils/dom/create/create.ts","../../src/js/utils/dom/style/style.ts","../../src/js/utils/dom/display/display.ts","../../src/js/utils/dom/focus/focus.ts","../../src/js/utils/dom/getAttribute/getAttribute.ts","../../src/js/utils/dom/hasClass/hasClass.ts","../../src/js/utils/dom/rect/rect.ts","../../src/js/utils/dom/remove/remove.ts","../../src/js/utils/dom/parseHtml/parseHtml.ts","../../src/js/utils/dom/prevent/prevent.ts","../../src/js/utils/dom/query/query.ts","../../src/js/utils/dom/queryAll/queryAll.ts","../../src/js/utils/dom/removeClass/removeClass.ts","../../src/js/utils/dom/timeOf/timeOf.ts","../../src/js/utils/dom/unit/unit.ts","../../src/js/constants/project.ts","../../src/js/utils/error/assert/assert.ts","../../src/js/utils/math/math/math.ts","../../src/js/utils/math/approximatelyEqual/approximatelyEqual.ts","../../src/js/utils/math/between/between.ts","../../src/js/utils/math/clamp/clamp.ts","../../src/js/utils/math/sign/sign.ts","../../src/js/utils/string/format/format.ts","../../src/js/utils/string/pad/pad.ts","../../src/js/utils/string/uniqueId/uniqueId.ts","../../src/js/constructors/EventBinder/EventBinder.ts","../../src/js/constants/events.ts","../../src/js/constructors/EventInterface/EventInterface.ts","../../src/js/constructors/RequestInterval/RequestInterval.ts","../../src/js/constructors/State/State.ts","../../src/js/constants/arrows.ts","../../src/js/constants/directions.ts","../../src/js/components/Direction/Direction.ts","../../src/js/constants/attributes.ts","../../src/js/constants/classes.ts","../../src/js/components/Drag/constants.ts","../../src/js/constants/types.ts","../../src/js/components/Slides/Slide.ts","../../src/js/components/Autoplay/constants.ts","../../src/js/constants/listener-options.ts","../../src/js/utils/dom/normalizeKey/normalizeKey.ts","../../src/js/components/Keyboard/Keyboard.ts","../../src/js/components/LazyLoad/constants.ts","../../src/js/components/Sync/Sync.ts","../../src/js/components/Media/Media.ts","../../src/js/components/Elements/Elements.ts","../../src/js/utils/dom/closest/closest.ts","../../src/js/components/Slides/Slides.ts","../../src/js/components/Layout/Layout.ts","../../src/js/constructors/Throttle/Throttle.ts","../../src/js/components/Clones/Clones.ts","../../src/js/components/Move/Move.ts","../../src/js/components/Controller/Controller.ts","../../src/js/components/Arrows/Arrows.ts","../../src/js/components/Arrows/path.ts","../../src/js/components/Autoplay/Autoplay.ts","../../src/js/components/Cover/Cover.ts","../../src/js/components/Scroll/Scroll.ts","../../src/js/components/Scroll/constants.ts","../../src/js/components/Drag/Drag.ts","../../src/js/components/LazyLoad/LazyLoad.ts","../../src/js/components/Pagination/Pagination.ts","../../src/js/components/Wheel/Wheel.ts","../../src/js/components/Live/Live.ts","../../src/js/constants/defaults.ts","../../src/js/constants/i18n.ts","../../src/js/transitions/Fade/Fade.ts","../../src/js/transitions/Slide/Slide.ts","../../src/js/core/Splide/Splide.ts"],"sourcesContent":["export const MEDIA_PREFERS_REDUCED_MOTION = '(prefers-reduced-motion: reduce)';","/**\r\n * Splide has been just created.\r\n */\r\nexport const CREATED = 1;\r\n\r\n/**\r\n * Splide has mounted components.\r\n */\r\nexport const MOUNTED = 2;\r\n\r\n/**\r\n * Splide is ready.\r\n */\r\nexport const IDLE = 3;\r\n\r\n/**\r\n * Splide is moving.\r\n */\r\nexport const MOVING = 4;\r\n\r\n/**\r\n * Splide is moving.\r\n */\r\nexport const SCROLLING = 5;\r\n\r\n/**\r\n * The user is dragging the slider.\r\n */\r\nexport const DRAGGING = 6;\r\n\r\n/**\r\n * Splide has been destroyed.\r\n */\r\nexport const DESTROYED = 7;\r\n\r\n/**\r\n * The collection of all states.\r\n *\r\n * @since 3.0.0\r\n */\r\nexport cLine truncated
|
||||
@@ -1,379 +0,0 @@
|
||||
'use strict';
|
||||
|
||||
Object.defineProperty(exports, '__esModule', { value: true });
|
||||
|
||||
function empty(array) {
|
||||
array.length = 0;
|
||||
}
|
||||
|
||||
function slice(arrayLike, start, end) {
|
||||
return Array.prototype.slice.call(arrayLike, start, end);
|
||||
}
|
||||
|
||||
function find(arrayLike, predicate) {
|
||||
return slice(arrayLike).filter(predicate)[0];
|
||||
}
|
||||
|
||||
function apply(func) {
|
||||
return func.bind(null, ...slice(arguments, 1));
|
||||
}
|
||||
|
||||
const nextTick = setTimeout;
|
||||
|
||||
const noop = () => {
|
||||
};
|
||||
|
||||
function raf(func) {
|
||||
return requestAnimationFrame(func);
|
||||
}
|
||||
|
||||
function typeOf(type, subject) {
|
||||
return typeof subject === type;
|
||||
}
|
||||
function isObject(subject) {
|
||||
return !isNull(subject) && typeOf("object", subject);
|
||||
}
|
||||
const isArray = Array.isArray;
|
||||
const isFunction = apply(typeOf, "function");
|
||||
const isString = apply(typeOf, "string");
|
||||
const isUndefined = apply(typeOf, "undefined");
|
||||
function isNull(subject) {
|
||||
return subject === null;
|
||||
}
|
||||
function isHTMLElement(subject) {
|
||||
return subject instanceof HTMLElement;
|
||||
}
|
||||
function isHTMLButtonElement(subject) {
|
||||
return subject instanceof HTMLButtonElement;
|
||||
}
|
||||
|
||||
function toArray(value) {
|
||||
return isArray(value) ? value : [value];
|
||||
}
|
||||
|
||||
function forEach(values, iteratee) {
|
||||
toArray(values).forEach(iteratee);
|
||||
}
|
||||
|
||||
function includes(array, value) {
|
||||
return array.indexOf(value) > -1;
|
||||
}
|
||||
|
||||
function push(array, items) {
|
||||
array.push(...toArray(items));
|
||||
return array;
|
||||
}
|
||||
|
||||
function toggleClass(elm, classes, add) {
|
||||
if (elm) {
|
||||
forEach(classes, (name) => {
|
||||
if (name) {
|
||||
elm.classList[add ? "add" : "remove"](name);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function addClass(elm, classes) {
|
||||
toggleClass(elm, isString(classes) ? classes.split(" ") : classes, true);
|
||||
}
|
||||
|
||||
function append(parent, children) {
|
||||
forEach(children, parent.appendChild.bind(parent));
|
||||
}
|
||||
|
||||
function before(nodes, ref) {
|
||||
forEach(nodes, (node) => {
|
||||
const parent = (ref || node).parentNode;
|
||||
if (parent) {
|
||||
parent.insertBefore(node, ref);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function matches(elm, selector) {
|
||||
return isHTMLElement(elm) && (elm["msMatchesSelector"] || elm.matches).call(elm, selector);
|
||||
}
|
||||
|
||||
function children(parent, selector) {
|
||||
const children2 = parent ? slice(parent.children) : [];
|
||||
return selector ? children2.filter((child) => matches(child, selector)) : children2;
|
||||
}
|
||||
|
||||
function child(parent, selector) {
|
||||
return selector ? children(parent, selector)[0] : parent.firstElementChild;
|
||||
}
|
||||
|
||||
const ownKeys = Object.keys;
|
||||
|
||||
function forOwn(object, iteratee, right) {
|
||||
if (object) {
|
||||
let keys = ownKeys(object);
|
||||
keys = right ? keys.reverse() : keys;
|
||||
for (let i = 0; i < keys.length; i++) {
|
||||
const key = keys[i];
|
||||
if (key !== "__proto__") {
|
||||
if (iteratee(object[key], key) === false) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return object;
|
||||
}
|
||||
|
||||
function assign(object) {
|
||||
slice(arguments, 1).forEach((source) => {
|
||||
forOwn(source, (value, key) => {
|
||||
object[key] = source[key];
|
||||
});
|
||||
});
|
||||
return object;
|
||||
}
|
||||
|
||||
function merge(object) {
|
||||
slice(arguments, 1).forEach((source) => {
|
||||
forOwn(source, (value, key) => {
|
||||
if (isArray(value)) {
|
||||
object[key] = value.slice();
|
||||
} else if (isObject(value)) {
|
||||
object[key] = merge({}, isObject(object[key]) ? object[key] : {}, value);
|
||||
} else {
|
||||
object[key] = value;
|
||||
}
|
||||
});
|
||||
});
|
||||
return object;
|
||||
}
|
||||
|
||||
function omit(object, keys) {
|
||||
toArray(keys || ownKeys(object)).forEach((key) => {
|
||||
delete object[key];
|
||||
});
|
||||
}
|
||||
|
||||
function removeAttribute(elms, attrs) {
|
||||
forEach(elms, (elm) => {
|
||||
forEach(attrs, (attr) => {
|
||||
elm && elm.removeAttribute(attr);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
function setAttribute(elms, attrs, value) {
|
||||
if (isObject(attrs)) {
|
||||
forOwn(attrs, (value2, name) => {
|
||||
setAttribute(elms, name, value2);
|
||||
});
|
||||
} else {
|
||||
forEach(elms, (elm) => {
|
||||
isNull(value) || value === "" ? removeAttribute(elm, attrs) : elm.setAttribute(attrs, String(value));
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function create(tag, attrs, parent) {
|
||||
const elm = document.createElement(tag);
|
||||
if (attrs) {
|
||||
isString(attrs) ? addClass(elm, attrs) : setAttribute(elm, attrs);
|
||||
}
|
||||
parent && append(parent, elm);
|
||||
return elm;
|
||||
}
|
||||
|
||||
function style(elm, prop, value) {
|
||||
if (isUndefined(value)) {
|
||||
return getComputedStyle(elm)[prop];
|
||||
}
|
||||
if (!isNull(value)) {
|
||||
elm.style[prop] = `${value}`;
|
||||
}
|
||||
}
|
||||
|
||||
function display(elm, display2) {
|
||||
style(elm, "display", display2);
|
||||
}
|
||||
|
||||
function focus(elm) {
|
||||
elm["setActive"] && elm["setActive"]() || elm.focus({ preventScroll: true });
|
||||
}
|
||||
|
||||
function getAttribute(elm, attr) {
|
||||
return elm.getAttribute(attr);
|
||||
}
|
||||
|
||||
function hasClass(elm, className) {
|
||||
return elm && elm.classList.contains(className);
|
||||
}
|
||||
|
||||
function rect(target) {
|
||||
return target.getBoundingClientRect();
|
||||
}
|
||||
|
||||
function remove(nodes) {
|
||||
forEach(nodes, (node) => {
|
||||
if (node && node.parentNode) {
|
||||
node.parentNode.removeChild(node);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function measure(parent, value) {
|
||||
if (isString(value)) {
|
||||
const div = create("div", { style: `width: ${value}; position: absolute;` }, parent);
|
||||
value = rect(div).width;
|
||||
remove(div);
|
||||
}
|
||||
return value;
|
||||
}
|
||||
|
||||
function parseHtml(html) {
|
||||
return child(new DOMParser().parseFromString(html, "text/html").body);
|
||||
}
|
||||
|
||||
function prevent(e, stopPropagation) {
|
||||
e.preventDefault();
|
||||
if (stopPropagation) {
|
||||
e.stopPropagation();
|
||||
e.stopImmediatePropagation();
|
||||
}
|
||||
}
|
||||
|
||||
function query(parent, selector) {
|
||||
return parent && parent.querySelector(selector);
|
||||
}
|
||||
|
||||
function queryAll(parent, selector) {
|
||||
return selector ? slice(parent.querySelectorAll(selector)) : [];
|
||||
}
|
||||
|
||||
function removeClass(elm, classes) {
|
||||
toggleClass(elm, classes, false);
|
||||
}
|
||||
|
||||
function timeOf(e) {
|
||||
return e.timeStamp;
|
||||
}
|
||||
|
||||
function unit(value) {
|
||||
return isString(value) ? value : value ? `${value}px` : "";
|
||||
}
|
||||
|
||||
const PROJECT_CODE = "splide";
|
||||
|
||||
function assert(condition, message) {
|
||||
if (!condition) {
|
||||
throw new Error(`[${PROJECT_CODE}] ${message || ""}`);
|
||||
}
|
||||
}
|
||||
|
||||
function error(message) {
|
||||
console.error(`[${PROJECT_CODE}] ${message}`);
|
||||
}
|
||||
|
||||
const { min, max, floor, ceil, abs } = Math;
|
||||
|
||||
function approximatelyEqual(x, y, epsilon) {
|
||||
return abs(x - y) < epsilon;
|
||||
}
|
||||
|
||||
function between(number, minOrMax, maxOrMin, exclusive) {
|
||||
const minimum = min(minOrMax, maxOrMin);
|
||||
const maximum = max(minOrMax, maxOrMin);
|
||||
return exclusive ? minimum < number && number < maximum : minimum <= number && number <= maximum;
|
||||
}
|
||||
|
||||
function clamp(number, x, y) {
|
||||
const minimum = min(x, y);
|
||||
const maximum = max(x, y);
|
||||
return min(max(minimum, number), maximum);
|
||||
}
|
||||
|
||||
function sign(x) {
|
||||
return +(x > 0) - +(x < 0);
|
||||
}
|
||||
|
||||
function camelToKebab(string) {
|
||||
return string.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
||||
}
|
||||
|
||||
function format(string, replacements) {
|
||||
forEach(replacements, (replacement) => {
|
||||
string = string.replace("%s", `${replacement}`);
|
||||
});
|
||||
return string;
|
||||
}
|
||||
|
||||
function pad(number) {
|
||||
return number < 10 ? `0${number}` : `${number}`;
|
||||
}
|
||||
|
||||
const ids = {};
|
||||
function uniqueId(prefix) {
|
||||
return `${prefix}${pad(ids[prefix] = (ids[prefix] || 0) + 1)}`;
|
||||
}
|
||||
|
||||
exports.abs = abs;
|
||||
exports.addClass = addClass;
|
||||
exports.append = append;
|
||||
exports.apply = apply;
|
||||
exports.approximatelyEqual = approximatelyEqual;
|
||||
exports.assert = assert;
|
||||
exports.assign = assign;
|
||||
exports.before = before;
|
||||
exports.between = between;
|
||||
exports.camelToKebab = camelToKebab;
|
||||
exports.ceil = ceil;
|
||||
exports.child = child;
|
||||
exports.children = children;
|
||||
exports.clamp = clamp;
|
||||
exports.create = create;
|
||||
exports.display = display;
|
||||
exports.empty = empty;
|
||||
exports.error = error;
|
||||
exports.find = find;
|
||||
exports.floor = floor;
|
||||
exports.focus = focus;
|
||||
exports.forEach = forEach;
|
||||
exports.forOwn = forOwn;
|
||||
exports.format = format;
|
||||
exports.getAttribute = getAttribute;
|
||||
exports.hasClass = hasClass;
|
||||
exports.includes = includes;
|
||||
exports.isArray = isArray;
|
||||
exports.isFunction = isFunction;
|
||||
exports.isHTMLButtonElement = isHTMLButtonElement;
|
||||
exports.isHTMLElement = isHTMLElement;
|
||||
exports.isNull = isNull;
|
||||
exports.isObject = isObject;
|
||||
exports.isString = isString;
|
||||
exports.isUndefined = isUndefined;
|
||||
exports.matches = matches;
|
||||
exports.max = max;
|
||||
exports.measure = measure;
|
||||
exports.merge = merge;
|
||||
exports.min = min;
|
||||
exports.nextTick = nextTick;
|
||||
exports.noop = noop;
|
||||
exports.omit = omit;
|
||||
exports.ownKeys = ownKeys;
|
||||
exports.pad = pad;
|
||||
exports.parseHtml = parseHtml;
|
||||
exports.prevent = prevent;
|
||||
exports.push = push;
|
||||
exports.query = query;
|
||||
exports.queryAll = queryAll;
|
||||
exports.raf = raf;
|
||||
exports.rect = rect;
|
||||
exports.remove = remove;
|
||||
exports.removeAttribute = removeAttribute;
|
||||
exports.removeClass = removeClass;
|
||||
exports.setAttribute = setAttribute;
|
||||
exports.sign = sign;
|
||||
exports.slice = slice;
|
||||
exports.style = style;
|
||||
exports.timeOf = timeOf;
|
||||
exports.toArray = toArray;
|
||||
exports.toggleClass = toggleClass;
|
||||
exports.uniqueId = uniqueId;
|
||||
exports.unit = unit;
|
||||
@@ -1,312 +0,0 @@
|
||||
function empty(array) {
|
||||
array.length = 0;
|
||||
}
|
||||
|
||||
function slice(arrayLike, start, end) {
|
||||
return Array.prototype.slice.call(arrayLike, start, end);
|
||||
}
|
||||
|
||||
function find(arrayLike, predicate) {
|
||||
return slice(arrayLike).filter(predicate)[0];
|
||||
}
|
||||
|
||||
function apply(func) {
|
||||
return func.bind(null, ...slice(arguments, 1));
|
||||
}
|
||||
|
||||
const nextTick = setTimeout;
|
||||
|
||||
const noop = () => {
|
||||
};
|
||||
|
||||
function raf(func) {
|
||||
return requestAnimationFrame(func);
|
||||
}
|
||||
|
||||
function typeOf(type, subject) {
|
||||
return typeof subject === type;
|
||||
}
|
||||
function isObject(subject) {
|
||||
return !isNull(subject) && typeOf("object", subject);
|
||||
}
|
||||
const isArray = Array.isArray;
|
||||
const isFunction = apply(typeOf, "function");
|
||||
const isString = apply(typeOf, "string");
|
||||
const isUndefined = apply(typeOf, "undefined");
|
||||
function isNull(subject) {
|
||||
return subject === null;
|
||||
}
|
||||
function isHTMLElement(subject) {
|
||||
return subject instanceof HTMLElement;
|
||||
}
|
||||
function isHTMLButtonElement(subject) {
|
||||
return subject instanceof HTMLButtonElement;
|
||||
}
|
||||
|
||||
function toArray(value) {
|
||||
return isArray(value) ? value : [value];
|
||||
}
|
||||
|
||||
function forEach(values, iteratee) {
|
||||
toArray(values).forEach(iteratee);
|
||||
}
|
||||
|
||||
function includes(array, value) {
|
||||
return array.indexOf(value) > -1;
|
||||
}
|
||||
|
||||
function push(array, items) {
|
||||
array.push(...toArray(items));
|
||||
return array;
|
||||
}
|
||||
|
||||
function toggleClass(elm, classes, add) {
|
||||
if (elm) {
|
||||
forEach(classes, (name) => {
|
||||
if (name) {
|
||||
elm.classList[add ? "add" : "remove"](name);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function addClass(elm, classes) {
|
||||
toggleClass(elm, isString(classes) ? classes.split(" ") : classes, true);
|
||||
}
|
||||
|
||||
function append(parent, children) {
|
||||
forEach(children, parent.appendChild.bind(parent));
|
||||
}
|
||||
|
||||
function before(nodes, ref) {
|
||||
forEach(nodes, (node) => {
|
||||
const parent = (ref || node).parentNode;
|
||||
if (parent) {
|
||||
parent.insertBefore(node, ref);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function matches(elm, selector) {
|
||||
return isHTMLElement(elm) && (elm["msMatchesSelector"] || elm.matches).call(elm, selector);
|
||||
}
|
||||
|
||||
function children(parent, selector) {
|
||||
const children2 = parent ? slice(parent.children) : [];
|
||||
return selector ? children2.filter((child) => matches(child, selector)) : children2;
|
||||
}
|
||||
|
||||
function child(parent, selector) {
|
||||
return selector ? children(parent, selector)[0] : parent.firstElementChild;
|
||||
}
|
||||
|
||||
const ownKeys = Object.keys;
|
||||
|
||||
function forOwn(object, iteratee, right) {
|
||||
if (object) {
|
||||
let keys = ownKeys(object);
|
||||
keys = right ? keys.reverse() : keys;
|
||||
for (let i = 0; i < keys.length; i++) {
|
||||
const key = keys[i];
|
||||
if (key !== "__proto__") {
|
||||
if (iteratee(object[key], key) === false) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return object;
|
||||
}
|
||||
|
||||
function assign(object) {
|
||||
slice(arguments, 1).forEach((source) => {
|
||||
forOwn(source, (value, key) => {
|
||||
object[key] = source[key];
|
||||
});
|
||||
});
|
||||
return object;
|
||||
}
|
||||
|
||||
function merge(object) {
|
||||
slice(arguments, 1).forEach((source) => {
|
||||
forOwn(source, (value, key) => {
|
||||
if (isArray(value)) {
|
||||
object[key] = value.slice();
|
||||
} else if (isObject(value)) {
|
||||
object[key] = merge({}, isObject(object[key]) ? object[key] : {}, value);
|
||||
} else {
|
||||
object[key] = value;
|
||||
}
|
||||
});
|
||||
});
|
||||
return object;
|
||||
}
|
||||
|
||||
function omit(object, keys) {
|
||||
toArray(keys || ownKeys(object)).forEach((key) => {
|
||||
delete object[key];
|
||||
});
|
||||
}
|
||||
|
||||
function removeAttribute(elms, attrs) {
|
||||
forEach(elms, (elm) => {
|
||||
forEach(attrs, (attr) => {
|
||||
elm && elm.removeAttribute(attr);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
function setAttribute(elms, attrs, value) {
|
||||
if (isObject(attrs)) {
|
||||
forOwn(attrs, (value2, name) => {
|
||||
setAttribute(elms, name, value2);
|
||||
});
|
||||
} else {
|
||||
forEach(elms, (elm) => {
|
||||
isNull(value) || value === "" ? removeAttribute(elm, attrs) : elm.setAttribute(attrs, String(value));
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function create(tag, attrs, parent) {
|
||||
const elm = document.createElement(tag);
|
||||
if (attrs) {
|
||||
isString(attrs) ? addClass(elm, attrs) : setAttribute(elm, attrs);
|
||||
}
|
||||
parent && append(parent, elm);
|
||||
return elm;
|
||||
}
|
||||
|
||||
function style(elm, prop, value) {
|
||||
if (isUndefined(value)) {
|
||||
return getComputedStyle(elm)[prop];
|
||||
}
|
||||
if (!isNull(value)) {
|
||||
elm.style[prop] = `${value}`;
|
||||
}
|
||||
}
|
||||
|
||||
function display(elm, display2) {
|
||||
style(elm, "display", display2);
|
||||
}
|
||||
|
||||
function focus(elm) {
|
||||
elm["setActive"] && elm["setActive"]() || elm.focus({ preventScroll: true });
|
||||
}
|
||||
|
||||
function getAttribute(elm, attr) {
|
||||
return elm.getAttribute(attr);
|
||||
}
|
||||
|
||||
function hasClass(elm, className) {
|
||||
return elm && elm.classList.contains(className);
|
||||
}
|
||||
|
||||
function rect(target) {
|
||||
return target.getBoundingClientRect();
|
||||
}
|
||||
|
||||
function remove(nodes) {
|
||||
forEach(nodes, (node) => {
|
||||
if (node && node.parentNode) {
|
||||
node.parentNode.removeChild(node);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function measure(parent, value) {
|
||||
if (isString(value)) {
|
||||
const div = create("div", { style: `width: ${value}; position: absolute;` }, parent);
|
||||
value = rect(div).width;
|
||||
remove(div);
|
||||
}
|
||||
return value;
|
||||
}
|
||||
|
||||
function parseHtml(html) {
|
||||
return child(new DOMParser().parseFromString(html, "text/html").body);
|
||||
}
|
||||
|
||||
function prevent(e, stopPropagation) {
|
||||
e.preventDefault();
|
||||
if (stopPropagation) {
|
||||
e.stopPropagation();
|
||||
e.stopImmediatePropagation();
|
||||
}
|
||||
}
|
||||
|
||||
function query(parent, selector) {
|
||||
return parent && parent.querySelector(selector);
|
||||
}
|
||||
|
||||
function queryAll(parent, selector) {
|
||||
return selector ? slice(parent.querySelectorAll(selector)) : [];
|
||||
}
|
||||
|
||||
function removeClass(elm, classes) {
|
||||
toggleClass(elm, classes, false);
|
||||
}
|
||||
|
||||
function timeOf(e) {
|
||||
return e.timeStamp;
|
||||
}
|
||||
|
||||
function unit(value) {
|
||||
return isString(value) ? value : value ? `${value}px` : "";
|
||||
}
|
||||
|
||||
const PROJECT_CODE = "splide";
|
||||
|
||||
function assert(condition, message) {
|
||||
if (!condition) {
|
||||
throw new Error(`[${PROJECT_CODE}] ${message || ""}`);
|
||||
}
|
||||
}
|
||||
|
||||
function error(message) {
|
||||
console.error(`[${PROJECT_CODE}] ${message}`);
|
||||
}
|
||||
|
||||
const { min, max, floor, ceil, abs } = Math;
|
||||
|
||||
function approximatelyEqual(x, y, epsilon) {
|
||||
return abs(x - y) < epsilon;
|
||||
}
|
||||
|
||||
function between(number, minOrMax, maxOrMin, exclusive) {
|
||||
const minimum = min(minOrMax, maxOrMin);
|
||||
const maximum = max(minOrMax, maxOrMin);
|
||||
return exclusive ? minimum < number && number < maximum : minimum <= number && number <= maximum;
|
||||
}
|
||||
|
||||
function clamp(number, x, y) {
|
||||
const minimum = min(x, y);
|
||||
const maximum = max(x, y);
|
||||
return min(max(minimum, number), maximum);
|
||||
}
|
||||
|
||||
function sign(x) {
|
||||
return +(x > 0) - +(x < 0);
|
||||
}
|
||||
|
||||
function camelToKebab(string) {
|
||||
return string.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
||||
}
|
||||
|
||||
function format(string, replacements) {
|
||||
forEach(replacements, (replacement) => {
|
||||
string = string.replace("%s", `${replacement}`);
|
||||
});
|
||||
return string;
|
||||
}
|
||||
|
||||
function pad(number) {
|
||||
return number < 10 ? `0${number}` : `${number}`;
|
||||
}
|
||||
|
||||
const ids = {};
|
||||
function uniqueId(prefix) {
|
||||
return `${prefix}${pad(ids[prefix] = (ids[prefix] || 0) + 1)}`;
|
||||
}
|
||||
|
||||
export { abs, addClass, append, apply, approximatelyEqual, assert, assign, before, between, camelToKebab, ceil, child, children, clamp, create, display, empty, error, find, floor, focus, forEach, forOwn, format, getAttribute, hasClass, includes, isArray, isFunction, isHTMLButtonElement, isHTMLElement, isNull, isObject, isString, isUndefined, matches, max, measure, merge, min, nextTick, noop, omit, ownKeys, pad, parseHtml, prevent, push, query, queryAll, raf, rect, remove, removeAttribute, removeClass, setAttribute, sign, slice, style, timeOf, toArray, toggleClass, uniqueId, unit };
|
||||
@@ -1,10 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Generator: Adobe Illustrator 24.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<svg version="1.1" id="Logo" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 248 204" style="enable-background:new 0 0 248 204;" xml:space="preserve">
|
||||
<style type="text/css">
|
||||
.st0{fill:#1D9BF0;}
|
||||
</style>
|
||||
<g id="Logo_1_">
|
||||
<path id="white_background" class="st0" d="M221.95,51.29c0.15,2.17,0.15,4.34,0.15,6.53c0,66.73-50.8,143.69-143.69,143.69v-0.04 C50.97,201.51,24.1,193.65,1,178.83c3.99,0.48,8,0.72,12.02,0.73c22.74,0.02,44.83-7.61,62.72-21.66 c-21.61-0.41-40.56-14.5-47.18-35.07c7.57,1.46,15.37,1.16,22.8-0.87C27.8,117.2,10.85,96.5,10.85,72.46c0-0.22,0-0.43,0-0.64 c7.02,3.91,14.88,6.08,22.92,6.32C11.58,63.31,4.74,33.79,18.14,10.71c25.64,31.55,63.47,50.73,104.08,52.76 c-4.07-17.54,1.49-35.92,14.61-48.25c20.34-19.12,52.33-18.14,71.45,2.19c11.31-2.23,22.15-6.38,32.07-12.26 c-3.77,11.69-11.66,21.62-22.2,27.93c10.01-1.18,19.79-3.86,29-7.95C240.37,35.29,231.83,44.14,221.95,51.29z"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 1.1 KiB |
@@ -1,7 +0,0 @@
|
||||
---
|
||||
layout: collection/collection_index
|
||||
title: Blog
|
||||
title_text: InvenTree Blog
|
||||
permalink: /blog
|
||||
collection: posts
|
||||
---
|
||||
@@ -1,7 +0,0 @@
|
||||
---
|
||||
layout: collection/collection_refpage
|
||||
title: Plugins by Category
|
||||
collection: repo
|
||||
permalink: /plugins/categories/
|
||||
reference: categories
|
||||
---
|
||||
@@ -1,65 +0,0 @@
|
||||
---
|
||||
title: Contribute
|
||||
---
|
||||
|
||||
InvenTree is an open source project which is supported by a small group of volunteer contributors. Developing and maintaining an open source project is a lot of work, and requires a lot of developer time, a resource which is quite scarce.
|
||||
|
||||
We welcome everyone to help with InvenTree however they can!
|
||||
|
||||
- [Sponsor](#sponsor)
|
||||
- [Report Bugs](#report-bugs)
|
||||
- [Code](#code)
|
||||
- [Translate](#translate)
|
||||
- [Documentation](#documentation)
|
||||
- [Community](#community)
|
||||
|
||||
### Sponsor
|
||||
|
||||
If you or your company uses InvenTree, please consider sponsoring the project to show your support. Sponsorships help to keep this project sustainable, and buys time for the core developers to commit to the project. A recurring or one off sponsorship is a great way to help InvenTree development to continue at full steam!
|
||||
|
||||
- [GitHub](/fund#github-sponsors)
|
||||
- [PayPal](/fund#paypal)
|
||||
|
||||
You can also support us via:
|
||||
|
||||
- A [one off sponsorship](/fund#polar)
|
||||
- A [recurring sponsorship](/fund#polar)
|
||||
|
||||
Financial donations directly support the ongoing development of the InvenTree project. If you benefit from the InvenTree project, please consider contributing to maintain vibrant development of this software!
|
||||
|
||||
### Report Bugs
|
||||
|
||||
If you find a bug or a feature that does not work correctly, please report it on [GitHub](https://github.com/inventree/inventree/issues).
|
||||
Reporting bugs is critical to improving the software. If you are able and willing, providing a fix for any outstanding issues is greatly appreciated.
|
||||
|
||||
### Code
|
||||
|
||||
InvenTree is built using [Python3](https://www.python.org/) and [Django](https://www.djangoproject.com/). Source code is available on [GitHub](https://github.com/inventree/inventree).
|
||||
|
||||
Contributions towards the core InvenTree code base are welcomed and encouraged; either extending current functionality, prodiving new features, or addressing outstanding issues.
|
||||
|
||||
Check out the [starter issues](https://github.com/inventree/InvenTree/issues?q=is%3Aissue+is%3Aopen+label%3Astarter) if you are looking for a good place to get started.
|
||||
|
||||
### Translate
|
||||
|
||||
InvenTree provides a translation layer for both the web interface and mobile app. Native language translation requires effort from translators to provide multi-lingual support. If you wish to translate InvenTree to a new language (or improve an existing translation), such contributions would be greatly appreciated!.
|
||||
|
||||
Native language translations of the InvenTree web application and mobile app are [community contributed via crowdin](https://crowdin.com/project/inventree).
|
||||
|
||||
_**Contributions are welcomed and encouraged!**._
|
||||
|
||||
To contribute to the translation effort, navigate to the [InvenTree crowdin project](https://crowdin.com/project/inventree), create a free account, and start making translations for your language of choice!
|
||||
|
||||
### Documentation
|
||||
|
||||
Documenting a large software project is a challenging and ongoing effort. If you are able to provide assistance in improving the documentation set, please consider doing so! Documentation contributions can be made on [GitHub](https://github.com/inventree/InvenTree/tree/master/docs).
|
||||
|
||||
If you see any sections of the documentation that require work (i.e. denoted with "TODO") - please consider providing assistance in these sections!
|
||||
|
||||
## Community
|
||||
|
||||
New users tend to ask questions in the [issues](https://github.com/inventree/InvenTree/issues) or [discussions](https://github.com/inventree/InvenTree/discussions). Be there, answer questions or [show off](https://github.com/inventree/InvenTree/discussions/categories/show-and-tell) your projects. Together we learn new things and get inspired for our usage.
|
||||
|
||||
Our official channels are:
|
||||
- Twitter [@inventreedb](https://twitter.com/inventreedb)
|
||||
- Reddit [r/InvenTree](https://www.reddit.com/r/inventree/)
|
||||
@@ -0,0 +1,133 @@
|
||||
# Feature tiles - rendered by the 'feature_cards' macro in main.py
|
||||
#
|
||||
# Each tile has:
|
||||
# title: Short title (Title Case, use "and" rather than "&")
|
||||
# icon: Tabler icon class (https://tabler.io/icons)
|
||||
# text: Summary - one or two sentences, shown everywhere
|
||||
# extend: One further sentence of detail - only shown on the features page
|
||||
# link: Documentation page (https://docs.inventree.org/en/stable/...), or a page on this site
|
||||
|
||||
# Core workflows - shown on the home page and the features page
|
||||
general:
|
||||
- title: Organize Parts
|
||||
icon: ti-category
|
||||
text: Parts are the foundation of your inventory. Arrange them in a structured category tree, with templates, variants and revisions to match the way you work.
|
||||
extend: Parts can be purchased, sold, assembled, tracked or consumed, and each part keeps its own stock, pricing, order and build history.
|
||||
link: https://docs.inventree.org/en/stable/part/
|
||||
|
||||
- title: Instant Stock Knowledge
|
||||
icon: ti-packages
|
||||
text: See current stock for any part, in any location, at a glance - including how much is allocated to orders and builds.
|
||||
extend: Stock items are organized in nested locations, and can be moved, counted, merged, split, or given a status and an expiry date.
|
||||
link: https://docs.inventree.org/en/stable/stock/
|
||||
|
||||
- title: BOM Management
|
||||
icon: ti-list-tree
|
||||
text: Define multi-level Bills of Materials, so you know exactly which sub-parts are needed to make each assembly.
|
||||
extend: Substitute parts, BOM validation and BOM pricing are built in, and BOMs can be imported from and exported to spreadsheets.
|
||||
link: https://docs.inventree.org/en/stable/manufacturing/bom/
|
||||
|
||||
- title: Purchasing
|
||||
icon: ti-shopping-cart
|
||||
text: Manage suppliers, manufacturers and their part numbers, and place purchase orders for the parts you need.
|
||||
extend: Received items are added straight into stock, and supplier price breaks feed into part pricing.
|
||||
link: https://docs.inventree.org/en/stable/purchasing/
|
||||
|
||||
- title: Sales Orders
|
||||
icon: ti-truck-delivery
|
||||
text: Track customers and sales orders, allocate stock to each order, and ship it in one or more shipments.
|
||||
extend: Allocated stock is reserved for the order, so you always know what is available to sell.
|
||||
link: https://docs.inventree.org/en/stable/sales/
|
||||
|
||||
- title: Barcodes
|
||||
icon: ti-barcode
|
||||
text: Scan barcodes to find, receive, move and count stock - using InvenTree's own barcodes or those printed by your suppliers.
|
||||
extend: Supplier barcodes from DigiKey, LCSC, Mouser and TME are supported out of the box, and plugins can add custom barcode formats.
|
||||
link: https://docs.inventree.org/en/stable/barcodes/
|
||||
|
||||
# Additional features - shown on the features page only
|
||||
extras:
|
||||
- title: Build Orders
|
||||
icon: ti-tools
|
||||
text: Plan and track production. Build orders allocate stock from your inventory and turn it into finished assemblies.
|
||||
extend: Track individual build outputs, consume components automatically or manually, and outsource builds to external manufacturers.
|
||||
link: https://docs.inventree.org/en/stable/manufacturing/build/
|
||||
|
||||
- title: Return Orders
|
||||
icon: ti-arrow-back-up
|
||||
text: Handle customer returns (RMAs) for repair, replacement or refund, and bring returned items back into stock.
|
||||
link: https://docs.inventree.org/en/stable/sales/return_order/
|
||||
|
||||
- title: Transfer Orders
|
||||
icon: ti-transfer
|
||||
text: Request and document stock movements between locations, grouping many transfers into a single order.
|
||||
link: https://docs.inventree.org/en/stable/stock/transfer_order/
|
||||
|
||||
- title: Traceability and Testing
|
||||
icon: ti-route
|
||||
text: Track stock with serial numbers and batch codes, with a full history of every change to each item.
|
||||
extend: Test results can be recorded against stock items for acceptance testing and commissioning.
|
||||
link: https://docs.inventree.org/en/stable/stock/traceability/
|
||||
|
||||
- title: Pricing
|
||||
icon: ti-currency-dollar
|
||||
text: Combine supplier price breaks, purchase history and BOM costs into pricing for every part, in multiple currencies.
|
||||
extend: Currency exchange rates are updated automatically.
|
||||
link: https://docs.inventree.org/en/stable/concepts/pricing/
|
||||
|
||||
- title: Stocktake
|
||||
icon: ti-clipboard-check
|
||||
text: Record snapshots of stock levels and stock value, and review the stock history of any part over time.
|
||||
link: https://docs.inventree.org/en/stable/part/stocktake/
|
||||
|
||||
- title: Labels and Reports
|
||||
icon: ti-printer
|
||||
text: Print labels and generate reports from fully customizable templates, edited with a live preview.
|
||||
extend: Labels can be sent directly to supported label printers, or printed on label sheets.
|
||||
link: https://docs.inventree.org/en/stable/report/
|
||||
|
||||
- title: Mobile App
|
||||
icon: ti-device-mobile
|
||||
text: Take stock control with you. The InvenTree app for Android and iOS provides parts, stock, orders and barcode scanning on the go.
|
||||
link: https://docs.inventree.org/en/stable/app/
|
||||
|
||||
- title: Data Import and Export
|
||||
icon: ti-file-import
|
||||
text: Import existing data from spreadsheets, and export any table to CSV, Excel or TSV files.
|
||||
link: https://docs.inventree.org/en/stable/concepts/data_import/
|
||||
|
||||
- title: Users and Security
|
||||
icon: ti-shield-lock
|
||||
text: Control access with role-based permissions, single sign-on and multi-factor authentication.
|
||||
extend: An audit log records who changed what, and when.
|
||||
link: https://docs.inventree.org/en/stable/settings/permissions/
|
||||
|
||||
- title: Parameters and Units
|
||||
icon: ti-ruler-measure
|
||||
text: Attach custom parameters to parts, with real physical units which are converted and validated automatically.
|
||||
link: https://docs.inventree.org/en/stable/concepts/parameters/
|
||||
|
||||
- title: Notifications
|
||||
icon: ti-bell
|
||||
text: Subscribe to parts and categories to be notified about low stock and build orders, in the app or by email.
|
||||
link: https://docs.inventree.org/en/stable/part/notification/
|
||||
|
||||
- title: Translations
|
||||
icon: ti-language
|
||||
text: Use InvenTree in your own language. The web interface and mobile app are translated by the community into dozens of languages.
|
||||
link: https://crowdin.com/project/inventree
|
||||
|
||||
- title: REST API
|
||||
icon: ti-api
|
||||
text: Every feature is available through a comprehensive, self-documenting REST API, along with a native Python library.
|
||||
link: https://docs.inventree.org/en/stable/api/
|
||||
|
||||
- title: AI Assistants
|
||||
icon: ti-robot
|
||||
text: Connect AI assistants to your inventory with the InvenTree MCP plugin, and ask questions about stock, orders and BOMs using your live data.
|
||||
link: plugins/inventree-mcp.md
|
||||
|
||||
- title: Plugins
|
||||
icon: ti-puzzle
|
||||
text: Extend InvenTree with plugins - add user interface panels, integrations, barcode formats, label printers and much more.
|
||||
link: https://docs.inventree.org/en/stable/plugins/
|
||||
@@ -0,0 +1,16 @@
|
||||
stats:
|
||||
- name: Docker pulls
|
||||
number: 3903802
|
||||
icon: ti-brand-docker
|
||||
- name: GitHub Stars
|
||||
number: 7887
|
||||
icon: ti-star
|
||||
- name: Forks
|
||||
number: 1630
|
||||
icon: ti-git-fork
|
||||
- name: Contributors
|
||||
number: 188
|
||||
icon: ti-users
|
||||
- name: Languages
|
||||
number: 39
|
||||
icon: ti-language
|
||||
@@ -1,4 +1,5 @@
|
||||
text: InvenTree has had 40+ contributors since the project started in March 2017. Here are some of the currently most active devs.
|
||||
# '{contributors}' is replaced with the contributor count from stats.yml (rounded down)
|
||||
text: InvenTree has had {contributors}+ contributors since the project started in March 2017. Here are some of the people behind the project.
|
||||
team:
|
||||
- tag: SchrodingersGat
|
||||
name: Oliver
|
||||
@@ -1,27 +0,0 @@
|
||||
---
|
||||
title: InvenTree Demo
|
||||
---
|
||||
|
||||
Want to take InvenTree for a spin? A working demo of InvenTree is available online at <a href="https://demo.inventree.org" data-umami-event="demo">https://demo.inventree.org</a>
|
||||
|
||||
### Login Details
|
||||
|
||||
Multiple default accounts are provided, as detailed below. Each account is afforded a different set of permissions, so users can see the InvenTree roles/permission system in action
|
||||
|
||||
| Username | Password | Description | Login |
|
||||
| --- | --- | --- | --- |
|
||||
| allaccess | nolimits | View / create / edit all pages and items | <a href="https://demo.inventree.org/web/login?login=allaccess&password=nolimits" data-umami-event="demo-allaccess">log in</a> |
|
||||
| reader | readonly | Can view all pages but cannot create, edit or delete database records | <a href="https://demo.inventree.org/web/login?login=reader&password=readonly" data-umami-event="demo-reader">log in</a> |
|
||||
| engineer | partsonly | Can manage parts, view stock, but no access to purchase orders or sales orders | <a href="https://demo.inventree.org/web/login?login=engineer&password=partsonly" data-umami-event="demo-engineer">log in</a> |
|
||||
| admin | inventree | Superuser account, access all areas plus administrator actions | <a href="https://demo.inventree.org/web/login?login=admin&password=inventree" data-umami-event="demo-admin">log in</a> |
|
||||
|
||||
### Data Persistence
|
||||
|
||||
The InvenTree demo database resets to a known state once per day.
|
||||
|
||||
- Database records are reset to the latest state of the [demo dataset](https://github.com/inventree/demo-dataset)
|
||||
- InvenTree software is kept up to date with the latest `inventree:master` available via docker
|
||||
|
||||
<div markdown="span" class="alert alert-info" role="alert">
|
||||
During the update period, the demo server may be inaccessible for a few minutes.
|
||||
</div>
|
||||
@@ -1,30 +0,0 @@
|
||||
---
|
||||
title: Deploying InvenTree
|
||||
---
|
||||
|
||||
There are multiple methods to deploy InvenTree. The most popular methods (supported by the development team) are:
|
||||
|
||||
### Docker
|
||||
|
||||
InvenTree supports a simple containerized installation via docker. An official [docker image](https://hub.docker.com/r/inventree/inventree/) is provided with regular updates.
|
||||
|
||||
Refer to the [docker installation guide](https://docs.inventree.org/en/stable/start/docker/) for more information
|
||||
|
||||
### Installer
|
||||
We provide a [single-line installer](https://docs.inventree.org/en/stable/start/installer/) that enables a quick installation and updates using the packager manager.
|
||||
|
||||
### AppJail
|
||||
|
||||
InvenTree can be installed on FreeBSD using AppJail. An [AppJail Makejail](https://github.com/AppJail-makejails/inventree) is provided with regular updates.
|
||||
|
||||
### Manual Bare Metal Install
|
||||
|
||||
A [bare metal installation guide](https://docs.inventree.org/en/stable/start/) is provided for users who are looking for a low-level or custom installation.
|
||||
|
||||
### Cloud
|
||||
|
||||
A member of the team provides a [1-click app for InvenTree](digitalocean) on the DigitalOcean marketplace.
|
||||
|
||||
### Other Options
|
||||
|
||||
The core InvenTree server is built using the widely used python-based framework [Django](https://djangoproject.com/). Therefore there are deployment methods for nearly all platforms and architectures.
|
||||
@@ -1,20 +0,0 @@
|
||||
---
|
||||
title: InvenTree x DigitalOcean
|
||||
---
|
||||
|
||||
<p>
|
||||
<a href="https://www.digitalocean.com/">
|
||||
<img src="https://opensource.nyc3.cdn.digitaloceanspaces.com/attribution/assets/PoweredByDO/DO_Powered_by_Badge_blue.svg" alt="Powered by DigitalOcean badge" width="201px">
|
||||
</a>
|
||||
</p>
|
||||
|
||||
## One-Click Install
|
||||
|
||||
<a href="https://marketplace.digitalocean.com/apps/inventree?refcode=d6172576d014"><img src="https://www.deploytodo.com/do-btn-blue-ghost.svg" alt="Deploy to DO" width="auto" height="40" /></a>
|
||||
|
||||
InvenTree is available as a one-click install on the DigitalOcean marketplace. The image makes use of the installer and is maintained by team member [matmair]({% link _publishers/matmair.md %}). The source is available [here](https://github.com/invenhost/inventree_droplet).
|
||||
|
||||
## DigitalOcean Open Source Credits
|
||||
|
||||
DigitalOcean is kind enough to provide open source projects with free credits to use their services.
|
||||
InvenTree is a proud recipient of these credits and is currently switching the demo instance to use a droplet. If you are interested in applying for credits, you can do so [here](https://www.digitalocean.com/open-source/credits-for-projects).
|
||||
@@ -0,0 +1,13 @@
|
||||
# Authors of blog posts and news items (shared by both blogs).
|
||||
# The key must match the 'authors' entry in the post front matter.
|
||||
authors:
|
||||
SchrodingersGat:
|
||||
name: Oliver
|
||||
description: Maintainer
|
||||
avatar: https://github.com/SchrodingersGat.png
|
||||
url: /plugins/publishers/#schrodingersgat
|
||||
matmair:
|
||||
name: Matthias Mair
|
||||
description: Core Team
|
||||
avatar: https://github.com/matmair.png
|
||||
url: /plugins/publishers/#matmair
|
||||