Template source: layer_template.html

<script type="text/html" id="layer-template"> <div class="layer" data-bind="attr: { id: $data.slug + '-layer' }, css: { inactive: !$data.visible(), currentMonth: $root.isCurrentMonth($data) }"> <img class="layer-icon" data-bind="attr: { src: $data.defaultSymbol().icon }" /> <span class="layer-name" data-bind="text: name" ></span> <!-- ko if: interactive --> <span class="on-off-switch" data-toggle="tooltip" title="Hide/Show layer" data-placement="left"> <input type="checkbox" data-bind="checked: $data.active, attr: { id: $data.slug + '-checkbox' }"> <label data-bind="attr: { for: $data.slug + '-checkbox' }"></label> </span> <!-- /ko --> </div> </script>