This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
What is the best way to use bootstrap components in backend pages? For example, I need bootstrap labels in the list controller.
This might do the trick.
https://octobercms.com/docs/backend/lists#column-partial
You can define the column data / markup yourself. If you want to add custom css you can inject it into the page through the $this->addCss
inside one of the methods in your controller.
Last updated
Thanks for reply. Sure I can do such things, but I think it's not a good idea to find certain styles in bootstrap files and copy them to plugin or theme css files.
Backend pages are based on bootstrap, and I think, authors had some reasons to remove some bootstrap features from final set of styles.
I asked this quesion to get some intuition, what is the best way to implement classic bootstrap components (native or alternative) without conflicting with current backend structure, avoiding digging into bootstrap core.
1-5 of 5