Change log: https://roxy-wi.org/changelog.py#6_1_3
pull/334/head v6.1.3.0
Pavel Loginov 2022-08-04 12:32:01 +03:00
parent 6524f2b566
commit 74862811b2
11 changed files with 35 additions and 18 deletions

View File

@ -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)

View File

@ -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;">

View File

@ -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">

View File

@ -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>

View File

@ -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 %}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 469 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 810 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.6 KiB

After

Width:  |  Height:  |  Size: 17 KiB

View File

@ -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;