summaryrefslogtreecommitdiff
path: root/localwebsite/templates-web/cams.twig
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2022-08-21 23:55:58 +0300
committerEvgeny Zinoviev <me@ch1p.io>2022-08-21 23:55:58 +0300
commit4f6adc157492f631a587d93773e1c9f40a852937 (patch)
treef99ca826ac28ffe1ef764414a6b89a36b05ad8bd /localwebsite/templates-web/cams.twig
parente636419bd2598d9a3cfccfba21b07db68c0f53fd (diff)
lws: cams: switch between highres/lowres
Diffstat (limited to 'localwebsite/templates-web/cams.twig')
-rw-r--r--localwebsite/templates-web/cams.twig7
1 files changed, 7 insertions, 0 deletions
diff --git a/localwebsite/templates-web/cams.twig b/localwebsite/templates-web/cams.twig
index 0c61bc5..9079a52 100644
--- a/localwebsite/templates-web/cams.twig
+++ b/localwebsite/templates-web/cams.twig
@@ -4,6 +4,13 @@
]
} %}
+<nav>
+ <div class="nav nav-tabs" id="nav-tab">
+ <a href="/cams/" class="text-decoration-none"><button class="nav-link{% if tab == 'low' %} active{% endif %}" type="button">Low-res</button></a>
+ <a href="/cams/?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 %}