{% extends "base.j2" %} {% block content %} {% if mode.type == 'all' %} {{ breadcrumbs([{'text': "cams"|lang}]) }} {% elif mode.type == 'zone' %} {{ breadcrumbs([ {'link': 'cams.cgi', 'text': "cams"|lang}, {'text': mode.zone|lang('ipcam_zones')} ]) }} {% elif mode.type == 'single' %} {{ breadcrumbs([ {'link': 'cams.cgi', 'text': "cams"|lang}, {'text': mode.cam|lang('ipcam')} ]) }} {% endif %}
{% endblock %} {% block js %} if (isTouchDevice()) { addClass(ge('videos'), 'is_mobile'); } Cameras.init({{ js_config|tojson }}); {% endblock %}