|
@ -27,6 +27,7 @@ minut = form.getvalue('minut')
|
|||
minut1 = form.getvalue('minut1')
|
||||
waf = form.getvalue('waf')
|
||||
service = form.getvalue('service')
|
||||
remote_file = form.getvalue('file')
|
||||
|
||||
print('Content-type: text/html\n')
|
||||
funct.check_login()
|
||||
|
@ -56,6 +57,6 @@ else:
|
|||
template = template.render(
|
||||
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,
|
||||
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)
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
<div class="LogoText">
|
||||
<span id="logo_text">
|
||||
<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>
|
||||
</span>
|
||||
</div>
|
||||
|
@ -63,11 +63,20 @@
|
|||
<h2>
|
||||
404 - Page not found
|
||||
</h2>
|
||||
<style>
|
||||
#oops_div {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
margin-top: 50px;
|
||||
bottom: 50px;
|
||||
}
|
||||
</style>
|
||||
<center>
|
||||
<img src="/inc/images/404.png" alt="404 error" style="width: 65%">
|
||||
|
||||
<h4>Sorry, but page not found. Try another page</h4>
|
||||
</center>
|
||||
<div id="oops_div">
|
||||
<img src="/inc/images/oops.png" alt="Oops">
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<a href="#" id="hide_menu" title="Hide menu" style="float: left;">
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
<div class="LogoText">
|
||||
<span id="logo_text">
|
||||
<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>
|
||||
</span>
|
||||
</div>
|
||||
|
@ -63,13 +63,22 @@
|
|||
<h2>
|
||||
500 - Internal error
|
||||
</h2>
|
||||
<style>
|
||||
#oops_div {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
margin-top: 50px;
|
||||
bottom: 50px;
|
||||
}
|
||||
</style>
|
||||
<center>
|
||||
<img src="/inc/images/500.png" alt="500 error" style="width: 65%">
|
||||
|
||||
<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>
|
||||
or write <a href="https://t.me/haproxy_wi" title="Roxy-WI chat">to the chat</a>
|
||||
</h4>
|
||||
<div id="oops_div">
|
||||
<img src="/inc/images/oops.png" alt="Oops">
|
||||
</div>
|
||||
</center>
|
||||
</div>
|
||||
<div class="footer">
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
<div class="LogoText">
|
||||
<span id="logo_text">
|
||||
<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>
|
||||
</span>
|
||||
</div>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
{% block content %}
|
||||
{% from 'include/input_macros.html' import input %}
|
||||
<style>
|
||||
body, .container {
|
||||
|
@ -14,9 +14,9 @@ body, .container {
|
|||
max-width: 100% !important;
|
||||
}
|
||||
#enter {
|
||||
width: 220px !important;
|
||||
padding: 10px !important;
|
||||
background-color: #ededee !important;
|
||||
width: 220px !important;
|
||||
padding: 10px !important;
|
||||
background-color: #ededee !important;
|
||||
font-weight: bold !important;
|
||||
}
|
||||
#main_div {
|
||||
|
@ -43,7 +43,7 @@ body, .container {
|
|||
{{ input('ref', type='hidden', value=ref) }}
|
||||
<button type="submit" name="Login" value="Enter" id="enter">Login</button>
|
||||
</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
|
||||
<br />
|
||||
<span id="ban_10">
|
||||
|
@ -54,4 +54,4 @@ body, .container {
|
|||
<br /><br />
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
|
|
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 {
|
||||
max-width: 200px;
|
||||
margin-left: -7px;
|
||||
margin-left: 23px;
|
||||
margin-top: 3px;
|
||||
}
|
||||
.container {
|
||||
|
@ -890,9 +890,7 @@ label {
|
|||
height: 270px;
|
||||
}
|
||||
#logo_span img {
|
||||
margin-top: -40px;
|
||||
margin-bottom: -40px;
|
||||
padding-left: 70px;
|
||||
margin: auto 40px auto auto;
|
||||
}
|
||||
.chart-container, .chart-container_overview {
|
||||
position: relative;
|
||||
|
|