No project description provided
Project description
# Condensed InlinePanel for Wagtail CMS
**WARNING**: This component is in early stages of development and contains bugs. It may also require customisation in order to use it on a new project.
This repository contains a drop-in replacement for Wagtail's ``InlinePanel``.
It's designed with a lighter interface that's suitable for cases where there
may be hundreds of items in the panel.
![Screenshot](screenshot.png)
## Features
- Fast, react-based UI that hides away forms that aren't being used
- Drag and drop reordering
- Create a new item at any point
## Installation
Firstly, install the module with PIP:
```shell
pip install -e git://github.com/kaedroho/wagtail-condensedinlinepanel.git@v0.1#egg=wagtail-condensedinlinepanel
```
Then, add ``condensedinlinepanel`` to your ``INSTALLED_APPS``:
```python
# settings.py
INSTALLED_APPS = [
...
'condensedinlinepanel`,
...
]
```
Then, finally, import the edit handler and use it. ``CondensedInlinePanel`` can be used as a drop-in replacement for Wagtail's built-in ``InlinePanel``:
```python
# models.py
...
from condensedinlinepanel.edit_handlers import CondensedInlinePanel
...
class MyPage(Page):
...
content_panels = [
...
CondensedInlinePanel('carousel_items', label="Carousel items"),
]
**WARNING**: This component is in early stages of development and contains bugs. It may also require customisation in order to use it on a new project.
This repository contains a drop-in replacement for Wagtail's ``InlinePanel``.
It's designed with a lighter interface that's suitable for cases where there
may be hundreds of items in the panel.
![Screenshot](screenshot.png)
## Features
- Fast, react-based UI that hides away forms that aren't being used
- Drag and drop reordering
- Create a new item at any point
## Installation
Firstly, install the module with PIP:
```shell
pip install -e git://github.com/kaedroho/wagtail-condensedinlinepanel.git@v0.1#egg=wagtail-condensedinlinepanel
```
Then, add ``condensedinlinepanel`` to your ``INSTALLED_APPS``:
```python
# settings.py
INSTALLED_APPS = [
...
'condensedinlinepanel`,
...
]
```
Then, finally, import the edit handler and use it. ``CondensedInlinePanel`` can be used as a drop-in replacement for Wagtail's built-in ``InlinePanel``:
```python
# models.py
...
from condensedinlinepanel.edit_handlers import CondensedInlinePanel
...
class MyPage(Page):
...
content_panels = [
...
CondensedInlinePanel('carousel_items', label="Carousel items"),
]
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file wagtail-condensedinlinepanel-0.1.tar.gz
.
File metadata
- Download URL: wagtail-condensedinlinepanel-0.1.tar.gz
- Upload date:
- Size: 468.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99d81bd33ea987349de05d29a3653646b0b730675300a396ac104fd16fdcdb20 |
|
MD5 | 63f26dd5c411307fe52f377a456bc8a4 |
|
BLAKE2b-256 | 4d95679c63ac1e701dbf9461d792f4fcf81ab8e92eabd3e8feb8ecb2834bde7e |
Provenance
File details
Details for the file wagtail_condensedinlinepanel-0.1-py2.py3-none-any.whl
.
File metadata
- Download URL: wagtail_condensedinlinepanel-0.1-py2.py3-none-any.whl
- Upload date:
- Size: 479.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7c3e157149a3de8e8d6981cd2b18a85a4e92f01d45f7418d40a077f939d955a |
|
MD5 | 2d7c092a728bd4dc8c3dcfb6d92abae8 |
|
BLAKE2b-256 | ec06f94a9ab0177f87ed482bce611249b78f9b65b4d2646dbe21cbba1eb522ac |