mirror of https://github.com/Aidaho12/haproxy-wi
parent
763626332b
commit
3096b28dec
|
@ -2801,7 +2801,7 @@ if form.getvalue('loadchecker'):
|
||||||
page=page)
|
page=page)
|
||||||
print(template)
|
print(template)
|
||||||
|
|
||||||
if form.getvalue('loadupdatehapwi'):
|
if form.getvalue('load_update_hapwi'):
|
||||||
from jinja2 import Environment, FileSystemLoader
|
from jinja2 import Environment, FileSystemLoader
|
||||||
env = Environment(loader=FileSystemLoader('templates'))
|
env = Environment(loader=FileSystemLoader('templates'))
|
||||||
template = env.get_template('ajax/load_updatehapwi.html')
|
template = env.get_template('ajax/load_updatehapwi.html')
|
||||||
|
|
|
@ -82,7 +82,13 @@
|
||||||
<table class="overview-wi">
|
<table class="overview-wi">
|
||||||
<tr class="overviewHead">
|
<tr class="overviewHead">
|
||||||
<td class="padding10 first-collumn-wi" colspan=4>
|
<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>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
|
@ -2274,7 +2274,7 @@ function loadupdatehapwi() {
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: "options.py",
|
url: "options.py",
|
||||||
data: {
|
data: {
|
||||||
loadupdatehapwi: 1,
|
load_update_hapwi: 1,
|
||||||
token: $('#token').val()
|
token: $('#token').val()
|
||||||
},
|
},
|
||||||
type: "POST",
|
type: "POST",
|
||||||
|
|
Loading…
Reference in New Issue