Hi Theme experts
Moodle 3.4, 3.5 themes Boost vs Clean. Somewhat related to the previous post.
I'm finishing up a plugin and am using a mustache template to control button bar layouts.
Example context (json):
{
"class": "mod_simplelesson_page_links",
"linkdata": {"link": "#" "text": "click me"},
"buttonclass": "btn btn-primary"
}
<div class = "{{class}}">
<ul class="list-inline">
{{#linkdata}}
<li class="list-inline-item">
<a class="{{buttonclass}}" href="{{{link}}}">{{text}}</a>
</li>
{{/linkdata}}
</ul>
</div>
Looks great in Boost but comes out as a bulleted list of buttons in Clean, ugh.
In former days I would have used css in the plugin's styles.css to achieve the same effect. Can these two systems co-exist? Or should I re-write the template to not use Bootstrap 4?