orionjs / orioncms

[Old] Orion is an open source framework built on Meteor that makes complex as well as simple apps possible with minimal effort.
http://orionjs.org
MIT License
715 stars 129 forks source link

add icons to sidebar #375

Open macrozone opened 8 years ago

macrozone commented 8 years ago

You are now able to add icons to the sidebar.

You can add icons through orion.links, e.g.

orion.links.add({
    identifier: "test",
    title: "Test page",
    iconClass: "fa fa-bluetooth",
    index: 100
});

Or on collections:

SchoolClasses = new orion.collection("SchoolClasses", {
    singularName: "Class",
    pluralName: "Classes",
    link: {
        iconClass: "fa fa-graduation-cap",
    },
        ....
});

And so on.

I also added some default icons. Let me know what you think!

macrozone commented 8 years ago

maybe someone can help with materialize-version :+1: