Interface fixes
pull/372/head
Aidaho 2023-11-14 17:15:44 +03:00
parent f91f329308
commit a70a061832
6 changed files with 35 additions and 30 deletions

View File

@ -15,7 +15,7 @@ Web interface(user-friendly web GUI, alerting, monitoring and secure) for managi
3. Installing and updating Grafana, Prometheus servers with Roxy-WI
4. Installing and updating HAProxy, Nginx, Apache, Keepalived and Node exporters with Roxy-WI
6. Downloading, updating and formatting GeoIP to the acceptable format for HAProxy with Roxy-WI
7. Dynamic change of Maxconn, Black/white lists and backend's IP address and port with saving changes to the config file
7. Dynamic change of Maxconn, Black/white lists, add, edit or delete backend's IP address and port with saving changes to the config file
8. Configuring HAProxy, Nginx, Apache and Keepalived in a jiffy with Roxy-WI
9. Viewing and analysing the status of all Frontend/backend servers via Roxy-WI from a single control panel
10. Enabling/disabling servers through stats page without rebooting HAProxy
@ -35,7 +35,7 @@ Web interface(user-friendly web GUI, alerting, monitoring and secure) for managi
24. Support of SSL (including Let's Encrypt)
25. Support of SSH Key for managing multiple HAProxy, Nginx, Apache and Keepalived Servers straight from Roxy-WI
26. SYN flood protect
27. Alerting about changes of the state of HAProxy backends
27. Alerting about changes of the state of HAProxy backends, about approaching the limit of Maxconn
28. Alerting about the state of HAProxy, Nginx, Apache and Keepalived service
29. Gathering metrics for incoming connections
30. Web acceleration settings
@ -44,7 +44,7 @@ Web interface(user-friendly web GUI, alerting, monitoring and secure) for managi
33. Keep active HAProxy, Nginx, Apache and Keepalived services
34. Possibility to hide parts of the config with tags for users with "guest" role: "HideBlockStart" and "HideBlockEnd"
35. Mobile-ready design
36. [SMON](https://roxy-wi.org/services/smon) (Check: Ping, TCP/UDP, HTTP(s), SSL expiry, HTTP body answer, DNS records)
36. [SMON](https://roxy-wi.org/services/smon) (Check: Ping, TCP/UDP, HTTP(s), SSL expiry, HTTP body answer, DNS records, Status pages)
37. Backup HAProxy, Nginx, Apache and Keepalived config files through Roxy-WI
38. Managing OpenVPN3 as a client via Roxy-WI

View File

@ -932,7 +932,7 @@
{{ input('userlist-group', title=lang.add_page.desc.userlist_user_grp, placeholder="group_name") }}
</span>
<span>
<span class="add-server" id="add-userlist-group" title="Add extra group" style="cursor: pointer;"></span>
<span class="link add-server" id="add-userlist-group" title="Add extra group" style="cursor: pointer;"></span>
</span>
<div class="tooltip tooltipTop">{{lang.add_page.desc.userlist_group}}</div>
</td>
@ -946,7 +946,7 @@
{{ input('userlist-user-group', title=lang.add_page.desc.userlist_user_grp, placeholder="group") }}
</span>
<span>
<span class="add-server" id="add-userlist-user" title="Add extra user" style="cursor: pointer;"></span>
<span class="link add-server" id="add-userlist-user" title="Add extra user" style="cursor: pointer;"></span>
</span>
<div class="tooltip tooltipTop">{{lang.add_page.desc.userlist_user}}</div>
</td>

View File

@ -140,7 +140,7 @@
</table>
<div id="ajax"></div>
<div class="add-note alert addName alert-info" style="width: inherit; margin-right: 15px;">
{{lang.words.read|title()}} <a href="https://roxy-wi.org/howto.py/ha_cluster" title="How to create high available cluster" target="_blank">{{lang.phrases.howto_ha}}</a>
{{lang.words.read|title()}} <a href="https://roxy-wi.org/howto/ha-cluster" title="How to create high available cluster" target="_blank">{{lang.phrases.howto_ha}}</a>
</div>
<div id="server_creating" style="display: none;" title="{{lang.phrases.creating_ha}}">
<ul style="padding: 20px 20px 0px 20px;font-size: 15px;">

View File

@ -81,6 +81,7 @@
<a href="{{ url_for('smon.smon') }}" title="{{lang.menu_links.monitoring.title}}" class="stats">{{lang.menu_links.monitoring.link}}</a>
<ul class="v_menu">
<li><a href="{{ url_for('smon.smon') }}" title="{{lang.menu_links.monitoring.smon.dashboard}}" class="overview-link head-submenu">{{lang.menu_links.monitoring.smon.dashboard}}</a></li>
<li><a href="{{ url_for('smon.status_page') }}" title="{{lang.menu_links.monitoring.smon.status_page}}" class="overview-link head-submenu">{{lang.menu_links.monitoring.smon.status_page}}</a></li>
<li><a href="{{ url_for('smon.smon_history') }}" title="{{lang.menu_links.monitoring.smon.history}}" class="lists head-submenu">{{lang.menu_links.monitoring.smon.history}}</a></li>
{% if role <= 3 %}
<li><a href="{{ url_for('smon.smon_admin') }}" title="{{lang.menu_links.monitoring.smon.admin}}" class="edit head-submenu">{{lang.menu_links.monitoring.smon.admin}}</a></li>

View File

@ -38,15 +38,19 @@
<h2>Status page - {{p.name}}</h2>
<h3>{{p.desc|replace("'", "")}}</h3>
{% for check, value in checks_status.items() %}
{% if value.uptime|int() < 90 %}
{% if value.uptime|int() > 50 and value.uptime|int() < 90 %}
{% set add_class = 'serverWarn' %}
{% elif value.en|int() == 0 %}
{% set add_class = 'serverNone' %}
{% elif value.uptime|int() < 50 %}
{% set add_class = 'serverDown' %}
{% else %}
{% set add_class = 'serverUP' %}
{% endif %}
<div class="check_div">
<div class="check_div" title="{{value.desc}}">
<div>
<span class="{{add_class}} check_uptime">{{value.uptime}}%</span>
<span class="check_name">{{value.name}}</span>
<span class="check_name">{{value.name|replace("'", "")}}</span>
</div>
<div class="history_statuses" id="history-{{check}}"></div>
</div>

View File

@ -27,12 +27,12 @@
}
.stats::before {
display: none;
font-family: "Font Awesome 5 Solid";
font-family: "Font Awesome 5 Regular";
content: "\f06e";
}
.mon::before {
display: none;
font-family: "Font Awesome 5 Solid";
font-family: "Font Awesome 5 Regular";
content: "\f080";
}
.logs::before {
@ -62,7 +62,7 @@
}
.compare::before {
display: none;
font-family: "Font Awesome 5 Solid";
font-family: "Font Awesome 5 Regular";
content: "\f0c5";
}
.add::before {
@ -88,12 +88,12 @@
}
.option::before {
display: none;
font-family: "Font Awesome 5 Solid";
font-family: "Font Awesome 5 Regular";
content: "\f0b0";
}
.edit::before {
display: none;
font-family: "Font Awesome 5 Solid";
font-family: "Font Awesome 5 Regular";
content: "\f044";
}
.lists::before {
@ -113,12 +113,12 @@
}
.hap1::before {
display: none;
font-family: "Font Awesome 5 Solid";
font-family: "Font Awesome 5 Regular";
content: "\f074";
}
.backup::before {
display: none;
font-family: "Font Awesome 5 Solid";
font-family: "Font Awesome 5 Regular";
content: "\f24d";
}
.ha::before {
@ -149,17 +149,17 @@
.tools::before,
.services::before {
display: none;
font-family: "Font Awesome 5 Solid";
font-family: "Font Awesome 5 Regular";
content: "\f144";
}
.upload::before {
display: none;
font-family: "Font Awesome 5 Solid";
font-family: "Font Awesome 5 Regular";
content: "\f093";
}
.delete::before, .deleteVer::before {
display: none;
font-family: "Font Awesome 5 Solid";
font-family: "Font Awesome 5 Regular";
content: "\f2ed";
}
.delete .fa-trash-alt {
@ -172,12 +172,12 @@
}
.login::before {
display: none;
font-family: "Font Awesome 5 Solid";
font-family: "Font Awesome 5 Regular";
content: "\f007";
}
.update-row::before {
display: none;
font-family: "Font Awesome 5 Solid";
font-family: "Font Awesome 5 Regular";
content: "\f01e";
}
.admin::before {
@ -197,7 +197,7 @@
}
.role::before {
display: none;
font-family: "Font Awesome 5 Solid";
font-family: "Font Awesome 5 Regular";
content: "\f2b9";
}
.settings::before {
@ -232,7 +232,7 @@
}
.backends::before {
display: none;
font-family: "Font Awesome 5 Solid";
font-family: "Font Awesome 5 Regular";
content: "\f233";
padding-left: 5px;
}
@ -280,7 +280,7 @@
}
.menu-bar::before {
display: none;
font-family: "Font Awesome 5 Solid";
font-family: "Font Awesome 5 Regular";
content: "\f0c9";
}
.menu-bar > .fa-bars {
@ -326,12 +326,12 @@
}
.alert-info::before {
display: none;
font-family: "Font Awesome 5 Solid";
font-family: "Font Awesome 5 Regular";
content: "\f05a";
}
.alert-warning::before, .alert-danger::before {
display: none;
font-family: "Font Awesome 5 Solid";
font-family: "Font Awesome 5 Regular";
content: "\f06a";
}
.alert-info .fa-info-circle, .alert-warning .fa-exclamation-circle, .alert-danger .fa-exclamation-circle {
@ -356,7 +356,7 @@
}
.note-symbol::after {
display: none;
font-family: "Font Awesome 5 Solid";
font-family: "Font Awesome 5 Regular";
content: "\f059";
}
.note-symbol .question-circle {
@ -406,7 +406,7 @@
}
.copyToClipboard:hover::after {
display: none;
font-family: "Font Awesome 5 Solid";
font-family: "Font Awesome 5 Regular";
content: "\f0c5";
}
.copyToClipboard .fa-copy {
@ -424,7 +424,7 @@
}
.checker::before {
display: none;
font-family: "Font Awesome 5 Solid";
font-family: "Font Awesome 5 Regular";
content: "\f0f3";
}
.cpu::before {
@ -449,7 +449,7 @@
}
.user-circle::before {
display: none;
font-family: "Font Awesome 5 Solid";
font-family: "Font Awesome 5 Regular";
content: "\f2bd";
}
.user-circle > .fa-user-circle {