Pavel Loginov 4 years ago
parent 763626332b
commit 3096b28dec

@ -2801,7 +2801,7 @@ if form.getvalue('loadchecker'):
page=page)
print(template)
if form.getvalue('loadupdatehapwi'):
if form.getvalue('load_update_hapwi'):
from jinja2 import Environment, FileSystemLoader
env = Environment(loader=FileSystemLoader('templates'))
template = env.get_template('ajax/load_updatehapwi.html')

@ -82,7 +82,13 @@
<table class="overview-wi">
<tr class="overviewHead">
<td class="padding10 first-collumn-wi" colspan=4>
Tools status
{% if role <= 1 %}
<a href="/app/users.py#services" title="View tools status" class="logs_link">
Tools status
</a>
{% else %}
Tools status
{% endif %}
</td>
</tr>
<tr>

@ -2274,7 +2274,7 @@ function loadupdatehapwi() {
$.ajax({
url: "options.py",
data: {
loadupdatehapwi: 1,
load_update_hapwi: 1,
token: $('#token').val()
},
type: "POST",

Loading…
Cancel
Save