diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2024-02-19 03:44:40 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2024-02-19 03:44:40 +0300 |
commit | 840cbe4729ac8960c0dc0d23aca0405335f9ecb4 (patch) | |
tree | 3c6c0af54c947c9dac3aa7fafc027e79db8e25b4 /web/kbn_templates/index.j2 | |
parent | 838b01c548939158f99529a714fe105249d70675 (diff) |
user language support, other important fixes
Diffstat (limited to 'web/kbn_templates/index.j2')
-rw-r--r-- | web/kbn_templates/index.j2 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/web/kbn_templates/index.j2 b/web/kbn_templates/index.j2 index 0a7803b..7f69823 100644 --- a/web/kbn_templates/index.j2 +++ b/web/kbn_templates/index.j2 @@ -2,6 +2,13 @@ {% block content %} <div class="container py-4"> + <div style="float: right"> + <select name="lang" id="lang"> + {% for lang in lang_enum %} + <option value="{{ lang.value }}"{% if lang_selected == lang %} selected="selected"{% endif %}>{{ lang.name() }}</option> + {% endfor %} + </select> + </div> <nav aria-label="breadcrumb"> <ol class="breadcrumb"> <li class="breadcrumb-item active" aria-current="page">{{ "main"|lang }}</li> |