parent
d62df0b34e
commit
5d668b7882
|
@ -57,7 +57,7 @@
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">{{ html_sidebar|raw }}</div>
|
<div class="row">{{ html_sidebar|raw }}</div>
|
||||||
<div class="row">{{ html_content|raw }}</div>
|
<div class="row" id="content">{{ html_content|raw }}</div>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
{% if add_footer %}
|
{% if add_footer %}
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
<!-- Language -->
|
<!-- Language -->
|
||||||
{{ macro.input_select("language", "language", label_language, languages, language_current) }}
|
{{ macro.input_select("language", "language", label_language, languages, language_current) }}
|
||||||
<!-- Auto refresh -->
|
<!-- Auto refresh -->
|
||||||
{{ macro.input_field("text", "auto_refresh", null, "auto_refresh", label_auto_refresh, auto_refresh, "0", "10", "auto_refresh_help", null, label_seconds) }}
|
{{ macro.input_field("number", "auto_refresh_servers", null, "auto_refresh_servers", label_auto_refresh, auto_refresh_servers, "0", "10", "auto_refresh_help", null, label_seconds) }}
|
||||||
<!-- Password encryption key -->
|
<!-- Password encryption key -->
|
||||||
<!-- TODO how does the encryption function works currently? -->
|
<!-- TODO how does the encryption function works currently? -->
|
||||||
{{ macro.input_field("text", "password_encrypt_key", null, "password_encrypt_key", label_password_encrypt_key, password_encrypt_key, "cab03a766...", "40", "password_encrypt_key_help", label_password_encrypt_key_note) }}
|
{{ macro.input_field("text", "password_encrypt_key", null, "password_encrypt_key", label_password_encrypt_key, password_encrypt_key, "cab03a766...", "40", "password_encrypt_key_help", label_password_encrypt_key_note) }}
|
||||||
|
|
|
@ -101,7 +101,7 @@ setInterval(function() {
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url:"?",
|
url:"?",
|
||||||
success: function(html, status) {
|
success: function(html, status) {
|
||||||
$("#page-container").html(html);
|
$("#content").html(html);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}, {{ auto_refresh_seconds }} * 1000);
|
}, {{ auto_refresh_seconds }} * 1000);
|
||||||
|
|
Loading…
Reference in New Issue