blob: 38b295438d2a7ca8f1a801b9df8aa12dd38ef3af (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
{% include 'bc.twig' with {
history: [
{text: "Камеры" }
]
} %}
<nav>
<div class="nav nav-tabs" id="nav-tab">
<a href="/cams/{{ camera_param ? camera_param~"/" : "" }}" class="text-decoration-none"><button class="nav-link{% if tab == 'low' %} active{% endif %}" type="button">Low-res</button></a>
<a href="/cams/{{ camera_param ? camera_param~"/" : "" }}?high=1" class="text-decoration-none"><button class="nav-link{% if tab == 'high' %} active{% endif %}" type="button">High-res</button></a>
</div>
</nav>
<div id="videos" class="camfeeds"></div>
{% js %}
if (isTouchDevice()) {
addClass(ge('videos'), 'is_mobile');
}
Cameras.init({{ js_config|json_encode|raw }});
{% endjs %}
|