diff options
Diffstat (limited to 'web/kbn_templates')
-rw-r--r-- | web/kbn_templates/base.j2 | 2 | ||||
-rw-r--r-- | web/kbn_templates/index.j2 | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/web/kbn_templates/base.j2 b/web/kbn_templates/base.j2 index 53a2984..709d838 100644 --- a/web/kbn_templates/base.j2 +++ b/web/kbn_templates/base.j2 @@ -18,7 +18,7 @@ {% endmacro %} <!doctype html> -<html> +<html data-bs-theme="auto"> <head> <title>{{ title }}</title> <meta http-equiv="content-type" content="text/html; charset=utf-8"> diff --git a/web/kbn_templates/index.j2 b/web/kbn_templates/index.j2 index cd40819..0a7803b 100644 --- a/web/kbn_templates/index.j2 +++ b/web/kbn_templates/index.j2 @@ -31,7 +31,7 @@ <nav class="mt-4"> <div class="nav nav-tabs" id="nav-tab"> <button class="nav-link active" type="button" id="cam_zones_btn" data-id="zones">{{ "cams_by_zone"|lang }}</button> - <button class="nav-link" type="button" id="cam_all_btn" data-id="all">{{ "cams_all"|lang }}</button> + <button class="nav-link" type="button" id="cam_list_btn" data-id="list">{{ "cams_list"|lang }}</button> </div> </nav> @@ -42,7 +42,7 @@ </a> {% endfor %} </div> - <ul class="list-group list-group-flush" id="cam_all" style="display: none"> + <ul class="list-group list-group-flush" id="cam_list" style="display: none"> {% for id in allcams %} <li class="list-group-item"><a href="/cams.cgi?id={{ id }}">{{ id|lang('ipcam') }}</a></li> {% endfor %} |