Habpanel checkboxes stay unchecked

After getting a Raspberry Pi0W specfically for OpenHAB, I forgot to migrate my HABPAnel custom templates :frowning: Nothing fancy, but I’m trying to recreate them, and I’m stuck. I’m simply trying to get a set of button style checkboxes so I have a way of toggling different items (in/excluding them from a group with rules).

I have this simple example (from the bootstrap 3.3.7 site):

<div class="btn-group" data-toggle="buttons">
  <label class="btn btn-primary ">
    <input type="checkbox" autocomplete="off"> Checkbox 1 
  </label>
  <label class="btn btn-primary">
    <input type="checkbox" autocomplete="off"> Checkbox 2
  </label>
  <label class="btn btn-primary">
    <input type="checkbox" autocomplete="off"> Checkbox 3
  </label>
</div>

It shows the three buttons. I can click them, but they won’t stay pressed down. What am I doing wrong? I’ve tried over different browsers, on different systems…

Try this:

<div class="btn-group" role="group" aria-label="Basic example">
  <button type="button" class="btn btn-primary">Left</button>
  <button type="button" class="btn btn-primary">Middle</button>
  <button type="button" class="btn btn-primary">Right</button>
</div>