That’s it, thanks for following the tutorial. To simplify, we just make additional td with the background color: Bootstrap Colorpicker Colorpicker - Documentation Colorpicker Colorpicker widget class Constructor new Colorpicker (element, options) Source: Colorpicker.js, line 22 Parameters: Fires: Colorpickerevent:colorpickerCreate Members (static) Color :Color Color class Source: Colorpicker. Let’s change those #421c1c values into actual colors, we need to change the internals of that td cell. This is how our list currently looks like: Now, in the same at the bottom we need to load jQuery and then add a section for javascript in the resources/views/admin/tags/ file, in the form, we add this at the it, we have the result: Where to put it – depends on the structure of your layout, for me it’s resources/views/layouts/. In our section of HTML, we need to add this:
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |