GithubHelp home page GithubHelp logo

przemub / wagtail-icon-picker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xeroticikot/wagtail-icon-picker

0.0 0.0 0.0 3.33 MB

A wagtail icon picker package which includes 5 most popular icon libraries Bootstrap Icons, Font Awesome Icons, Boxicons, Icofont and Material Design Icons to easily use those libraries in wagtail pages & django models.

License: MIT License

Python 20.06% CSS 75.85% HTML 4.09%

wagtail-icon-picker's Introduction

Wagtail-Icon-Picker

Introducing panels for selecting icons in Wagtail.

Screen1

Features

  • BootstrapIconPickerPanel, BoxiconsPickerPanel, FontAwesomeIconPickerPanel, IcofontIconPickerPanel can be used in your edit handler
  • BootstrapIconPickerBlock, FontAwesomeIconPickerBlock, BoxIconPickerBlock, IcofontPickerBlock for usage in a StreamField
  • Includes Bootstrap Icons, FontAwesome, Boxicons & Icofont icons libraries
  • A custom db field for improved validation

Example

from wagtail.core.models import Page

from wagtail_icon_picker.fields import IconField
from wagtail_icon_picker.edit_handlers import IcofontIconPickerPanel


class MyPage(Page):
    icon = IconField()

    content_panels = Page.content_panels + [
        IcofontIconPickerPanel('icon'),
    ]

Documentation

Contributing

Want to contribute? Awesome. Just send a pull request.

License

Wagtail-Icon-Picker is released under the MIT License.

wagtail-icon-picker's People

Contributors

xeroticikot avatar przemub avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.