Skip to main content

An application made for the Django Web Framework.

Project description

globlocks

Block/Widget library to make your Wagtail site more complete

TODO

  • Documentation
  • Tests
  • (blocks) components/images
  • (blocks) components/menus
  • (templates) components/menus

Implemented

  • blocks with settings
  • toggleable-visibility blocks
  • richtext alignment (with headers and inline entities)
  • color picker widget/block/panel/(model)field
  • range slider widget/block
  • justify text alignment widget/block (targets specified inputs; aligns them in admin)
  • toolbar widget/block; a richtext toolbar for your regular inputs
  • fontpicker widget
  • components
    • images (NYI)
    • menus (NYI)
    • headers
    • text
    • image/text

Quick start

  1. Add 'globlocks' to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = [
        ...,
        'globlocks',
        'conditional_field',
    ]
    
  2. ...

Richtext Alignment

globlocks has a richtext feature for text alignment; without the limits that feature would normally impose.

Normally - headings would not be able to get aligned. This is a problem.

Luckily, we have the solution! And you can use it too!

To add the alignment features to your richtext

  1. Follow the installation steps for globlocks.
  2. Add text-alignment to your richtext features. (it is included in default features)

To align it on the frontend too; add the following CSS:

.text-left {
    text-align: left;
}
.text-center{
    text-align: center;
}
.text-right {
    text-align: right;
}

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

globlocks-1.2.4.tar.gz (3.0 MB view details)

Uploaded Source

File details

Details for the file globlocks-1.2.4.tar.gz.

File metadata

  • Download URL: globlocks-1.2.4.tar.gz
  • Upload date:
  • Size: 3.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.6

File hashes

Hashes for globlocks-1.2.4.tar.gz
Algorithm Hash digest
SHA256 a7760eb16a34273742a75fce120efc06812c72d002580792f19e243ddc3dc782
MD5 6d0f5904fcf8d14b5146e2d2c691b207
BLAKE2b-256 f3cbceeb0c236f58ce1c0d6b1fcd081aa1e73392cf19ff40fca072697a9c3c3c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page