Skip to main content

Allows you to add the device mockups plugin to a cms page

Project description

An extension for Django CMS that adds the Device Mockups CSS library to elements on DjangoCMS.

Installation

  1. Install with pip pip install djangocms-device-mockups

  2. Add djangocms_device_mockups to INSTALLED_APPS

  3. Run migrations python manage.py migrate

Usage

See notes here: https://github.com/pixelsign/html5-device-mockups

After installation simply add the plugins to the page.

Notes

  • If putting onto a background, ensure the background has both position and z-index < -1.

  • Main CSS will limit device size to 300px, set .device-wrapper { max-width: 100%; ..} to make it responsive/resize etc.

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

djangocms-device-mockups-1.0.1.tar.gz (15.5 MB view details)

Uploaded Source

Built Distribution

djangocms_device_mockups-1.0.1-py3-none-any.whl (15.5 MB view details)

Uploaded Python 3

File details

Details for the file djangocms-device-mockups-1.0.1.tar.gz.

File metadata

  • Download URL: djangocms-device-mockups-1.0.1.tar.gz
  • Upload date:
  • Size: 15.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.7.3

File hashes

Hashes for djangocms-device-mockups-1.0.1.tar.gz
Algorithm Hash digest
SHA256 e3c414774a00d024aea3fe1310459997d361b6cc6c19a2ad5790d30845f7aae9
MD5 fb2385ec363acff656a5730a8c63064d
BLAKE2b-256 396f99f78e14865cc802dee72d149654965d7c0ac836d66e928a3144172c795f

See more details on using hashes here.

File details

Details for the file djangocms_device_mockups-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: djangocms_device_mockups-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 15.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.7.3

File hashes

Hashes for djangocms_device_mockups-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f81f521a70de045d60878e6eba5058c18519178649fa74cb84cb91b07243385b
MD5 912e37b875366b59f555ef97136f9e1c
BLAKE2b-256 904006f4e550a75cb2b148dec0ad075aca84db6b8fb66eb950804bc95263c10a

See more details on using hashes here.

Supported by

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