|
@ -27,6 +27,7 @@ minut = form.getvalue('minut')
|
||||||
minut1 = form.getvalue('minut1')
|
minut1 = form.getvalue('minut1')
|
||||||
waf = form.getvalue('waf')
|
waf = form.getvalue('waf')
|
||||||
service = form.getvalue('service')
|
service = form.getvalue('service')
|
||||||
|
remote_file = form.getvalue('file')
|
||||||
|
|
||||||
print('Content-type: text/html\n')
|
print('Content-type: text/html\n')
|
||||||
funct.check_login()
|
funct.check_login()
|
||||||
|
@ -56,6 +57,6 @@ else:
|
||||||
template = template.render(
|
template = template.render(
|
||||||
h2=1, autorefresh=1, title=title, role=role, user=user, select_id="serv", selects=servers,
|
h2=1, autorefresh=1, title=title, role=role, user=user, select_id="serv", selects=servers,
|
||||||
serv=form.getvalue('serv'), rows=rows, grep=grep, exgrep=exgrep, hour=hour, hour1=hour1, minut=minut,
|
serv=form.getvalue('serv'), rows=rows, grep=grep, exgrep=exgrep, hour=hour, hour1=hour1, minut=minut,
|
||||||
minut1=minut1, waf=waf, service=service, user_services=user_services, token=token
|
minut1=minut1, waf=waf, service=service, user_services=user_services, token=token, remote_file=remote_file
|
||||||
)
|
)
|
||||||
print(template)
|
print(template)
|
||||||
|
|
|
@ -46,7 +46,7 @@
|
||||||
<div class="LogoText">
|
<div class="LogoText">
|
||||||
<span id="logo_text">
|
<span id="logo_text">
|
||||||
<a href="https://roxy-wi.org" title="Roxy-WI site" target="_blank">
|
<a href="https://roxy-wi.org" title="Roxy-WI site" target="_blank">
|
||||||
<img src="/inc/images/logo_menu.png" alt="logo" width="170" />
|
<img src="/inc/images/logo_menu.png" alt="logo" width="110" />
|
||||||
</a>
|
</a>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
@ -63,11 +63,20 @@
|
||||||
<h2>
|
<h2>
|
||||||
404 - Page not found
|
404 - Page not found
|
||||||
</h2>
|
</h2>
|
||||||
|
<style>
|
||||||
|
#oops_div {
|
||||||
|
position: absolute;
|
||||||
|
right: 0;
|
||||||
|
margin-top: 50px;
|
||||||
|
bottom: 50px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
<center>
|
<center>
|
||||||
<img src="/inc/images/404.png" alt="404 error" style="width: 65%">
|
|
||||||
|
|
||||||
<h4>Sorry, but page not found. Try another page</h4>
|
<h4>Sorry, but page not found. Try another page</h4>
|
||||||
</center>
|
</center>
|
||||||
|
<div id="oops_div">
|
||||||
|
<img src="/inc/images/oops.png" alt="Oops">
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<a href="#" id="hide_menu" title="Hide menu" style="float: left;">
|
<a href="#" id="hide_menu" title="Hide menu" style="float: left;">
|
||||||
|
|
|
@ -46,7 +46,7 @@
|
||||||
<div class="LogoText">
|
<div class="LogoText">
|
||||||
<span id="logo_text">
|
<span id="logo_text">
|
||||||
<a href="https://roxy-wi.org" title="Roxy-WI site" target="_blank">
|
<a href="https://roxy-wi.org" title="Roxy-WI site" target="_blank">
|
||||||
<img src="/inc/images/logo_menu.png" alt="logo" width="170" />
|
<img src="/inc/images/logo_menu.png" alt="logo" width="110" />
|
||||||
</a>
|
</a>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
@ -63,13 +63,22 @@
|
||||||
<h2>
|
<h2>
|
||||||
500 - Internal error
|
500 - Internal error
|
||||||
</h2>
|
</h2>
|
||||||
|
<style>
|
||||||
|
#oops_div {
|
||||||
|
position: absolute;
|
||||||
|
right: 0;
|
||||||
|
margin-top: 50px;
|
||||||
|
bottom: 50px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
<center>
|
<center>
|
||||||
<img src="/inc/images/500.png" alt="500 error" style="width: 65%">
|
|
||||||
|
|
||||||
<h4>Sorry, but something went wrong..... Check httpd error log and
|
<h4>Sorry, but something went wrong..... Check httpd error log and
|
||||||
<a href="https://github.com/Aidaho12/haproxy-wi/issues" title="GitHub issues">create issue on GitHub</a>
|
<a href="https://github.com/Aidaho12/haproxy-wi/issues" title="GitHub issues">create issue on GitHub</a>
|
||||||
or write <a href="https://t.me/haproxy_wi" title="Roxy-WI chat">to the chat</a>
|
or write <a href="https://t.me/haproxy_wi" title="Roxy-WI chat">to the chat</a>
|
||||||
</h4>
|
</h4>
|
||||||
|
<div id="oops_div">
|
||||||
|
<img src="/inc/images/oops.png" alt="Oops">
|
||||||
|
</div>
|
||||||
</center>
|
</center>
|
||||||
</div>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
|
|
|
@ -52,7 +52,7 @@
|
||||||
<div class="LogoText">
|
<div class="LogoText">
|
||||||
<span id="logo_text">
|
<span id="logo_text">
|
||||||
<a href="https://roxy-wi.org" title="Roxy-WI site" target="_blank">
|
<a href="https://roxy-wi.org" title="Roxy-WI site" target="_blank">
|
||||||
<img src="/inc/images/logo_menu.png" alt="logo" width="170" />
|
<img src="/inc/images/logo_menu.png" alt="logo" width="110" />
|
||||||
</a>
|
</a>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -43,7 +43,7 @@ body, .container {
|
||||||
{{ input('ref', type='hidden', value=ref) }}
|
{{ input('ref', type='hidden', value=ref) }}
|
||||||
<button type="submit" name="Login" value="Enter" id="enter">Login</button>
|
<button type="submit" name="Login" value="Enter" id="enter">Login</button>
|
||||||
</form>
|
</form>
|
||||||
<div class="alert alert-danger wrong-login">
|
<div class="alert alert-danger wrong-login alert-one-row" id="wrong-login">
|
||||||
Your login or password is incorrect
|
Your login or password is incorrect
|
||||||
<br />
|
<br />
|
||||||
<span id="ban_10">
|
<span id="ban_10">
|
||||||
|
|
Before Width: | Height: | Size: 469 KiB |
Before Width: | Height: | Size: 810 KiB |
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 50 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 52 KiB |
Before Width: | Height: | Size: 5.6 KiB After Width: | Height: | Size: 17 KiB |
|
@ -121,7 +121,7 @@ pre {
|
||||||
}
|
}
|
||||||
.top-menu img {
|
.top-menu img {
|
||||||
max-width: 200px;
|
max-width: 200px;
|
||||||
margin-left: -7px;
|
margin-left: 23px;
|
||||||
margin-top: 3px;
|
margin-top: 3px;
|
||||||
}
|
}
|
||||||
.container {
|
.container {
|
||||||
|
@ -890,9 +890,7 @@ label {
|
||||||
height: 270px;
|
height: 270px;
|
||||||
}
|
}
|
||||||
#logo_span img {
|
#logo_span img {
|
||||||
margin-top: -40px;
|
margin: auto 40px auto auto;
|
||||||
margin-bottom: -40px;
|
|
||||||
padding-left: 70px;
|
|
||||||
}
|
}
|
||||||
.chart-container, .chart-container_overview {
|
.chart-container, .chart-container_overview {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|