Giter Site home page Giter Site logo

friendsofredaxo / iconpicker Goto Github PK

View Code? Open in Web Editor NEW
30.0 3.0 2.0 1 MB

Icon-Auswahlfeld für REDAXO 5 und YForm 4.x, für FontAweseome 6 und Bootstrap Icons

License: MIT License

JavaScript 59.96% PHP 39.59% CSS 0.45%
redaxo iconpicker redaxo-addon bootstrap-icons font-awesome

iconpicker's Introduction

Iconpicker (Bootstrap Icons, FontAwesome 6) für REDAXO ^5.17

Stellt Icons von https://icons.getbootstrap.com/ und die REDAXO 5.17-eingebauten https://fontawesome.com/search mit einem Icon-Auswahlfeld zur Verfügung.

image

Features

Verwendung in YForm

Verwende das Value bi_iconpicker, um einen Icon Picker für Bootstrap Icons zur Verfügung zu stellen. Verwende das Value fa6_iconpicker, um einen Icon Picker für Fontawesome 6 (Free) zur Verfügung zu stellen.

Beispiele zur eigenen Verwendung im Backend (auch in Metainfos)

<!-- Allgemeines Beispiel - so muss der Quellcode aussehen -->
<div class="input-group">
 <span class="input-group-addon selected-icon-0"></span>
 <input type="text" data-bi-iconpicker="0" value="bi-cloud-fog2" class="form-control bi-iconpicker" />
</div>
<!-- Beispiel für Moduleingaben - `#` anpassen -->
<div class="input-group">
 <span class="input-group-addon selected-icon-#"></span>
 <input type="text" data-bi-iconpicker="#" name="REX_INPUT_VALUE[#]" value="REX_VALUE[#]" class="form-control bi-iconpicker" />
</div>
<!-- Allgemeines Beispiel - so muss der Quellcode aussehen -->
<div class="input-group">
 <span class="input-group-addon selected-icon-0"></span>
 <input type="text" data-fa-iconpicker="0" value="rex-icon fa-cloud-fog2" class="form-control fa6-iconpicker" />
</div>
<!-- Beispiel für Moduleingaben - `#` anpassen -->
<div class="input-group">
 <span class="input-group-addon selected-icon-#"></span>
 <input type="text" data-bi-iconpicker="#" name="REX_INPUT_VALUE[#]" value="REX_VALUE[#]" class="form-control fa6-iconpicker" />
</div>

Verwendung im Frontend

Die Verwendung im Frontend bleibt dem Entwickler überlassen. Nutze die beiliegende Icon-Schrift oder lade das passende SVG von https://icons.getbootstrap.com/ bzw. FontAwesome 6.

Lizenz

MIT Lizenz, siehe LICENSE.md

Autoren

Alexander Walther
http://www.alexplus.de
https://github.com/alexplusde

Projekt-Lead
Alexander Walther

Credits

Basierend auf https://www.cssscript.com/bootstrap-5-icon-picker/, vorarbeit geleistet unter https://github.com/alexplusde/bs5_iconpicker

iconpicker's People

Contributors

alxndr-w avatar interweave-media avatar lexplatt avatar nandes2062 avatar polarpixel avatar schuer avatar skerbis avatar staabm avatar ynamite avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

iconpicker's Issues

Feature-Wunsch: Font Awsome 5

  • Der Vendor unterstützt mittlerweile Font Awsome 5.
  • Evtl. wäre es sinnvoll bei einer Umsetzung zwischen 4er Vendor und 5er wechseln zu können, je nach Projekt.

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.