<template name="tabs">
  <div></div>
  <ul class="nav nav-tabs">
    {{#if accessible 'start'}}
    <li role="presentation" class="{{ class_for 'start' }}"><a class="clickable">Stanje</a></li>
    {{/if}}

    {{#if accessible 'weather'}}
    <li role="presentation" class="{{ class_for 'weather' }}"><a class="clickable">Vrijeme</a></li>
    {{/if}}

    {{#if accessible 'log'}}
    <li role="presentation" class="{{ class_for 'log' }}"><a class="clickable">Danas</a></li>
    {{/if}}

    {{#if accessible 'surveillance'}}
    <li role="presentation" class="{{ class_for 'surveillance' }}"><a class="clickable">Videonadzor</a></li>
    {{/if}}

    {{#if accessible 'alarm'}}
    <li role="presentation" class="{{ class_for 'alarm' }}"><a class="clickable">Alarm</a></li>
    {{/if}}

    <li role="presentation" class="{{ class_for_changer }}">  <input type="number" id="controller" name="controller"  value="{{ selected_controller }}" min="1" max="99999"> <button id="switch" name="switch">Prebaci</button>
    </li>
  </ul>
</template>
