From 3cd81d1ae679321dc2ed2f119de80e3f6808c3c0 Mon Sep 17 00:00:00 2001 From: Pavel Loginov Date: Thu, 31 Mar 2022 20:21:00 +0300 Subject: [PATCH] v5.5.0.0 Changelog: https://roxy-wi.org/changelog.py#5_5_0 --- app/create_db.py | 4 ++-- app/templates/servers.html | 8 +++----- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/app/create_db.py b/app/create_db.py index 89c0a822..40362acc 100644 --- a/app/create_db.py +++ b/app/create_db.py @@ -61,12 +61,12 @@ def default_values(): {'param': 'nginx_stats_user', 'value': 'admin', 'section': 'nginx', 'desc': 'Username for accessing Nginx stats page', 'group': '1'}, {'param': 'nginx_stats_password', 'value': 'password', 'section': 'nginx', - 'desc': 'Password for Stats web page Ngin', 'group': '1'}, + 'desc': 'Password for Stats web page Nginx', 'group': '1'}, {'param': 'nginx_stats_port', 'value': '8086', 'section': 'nginx', 'desc': 'Stats port for web page Nginx', 'group': '1'}, {'param': 'nginx_stats_page', 'value': 'stats', 'section': 'nginx', 'desc': 'URI Stats for web page Nginx', 'group': '1'}, - {'param': 'nginx_dir', 'value': '/etc/nginx/conf.d/', 'section': 'nginx', + {'param': 'nginx_dir', 'value': '/etc/nginx/', 'section': 'nginx', 'desc': 'Path to the Nginx directory with config files', 'group': '1'}, {'param': 'nginx_config_path', 'value': '/etc/nginx/nginx.conf', 'section': 'nginx', 'desc': 'Path to the main Nginx configuration file', 'group': '1'}, diff --git a/app/templates/servers.html b/app/templates/servers.html index fbec22c5..cfd283f9 100644 --- a/app/templates/servers.html +++ b/app/templates/servers.html @@ -58,11 +58,9 @@ {% set values = dict() %} - {% set values = {'2.0.5-1':'2.0.5-1','2.0.6-1':'2.0.6-1', '2.0.7-1':'2.0.7-1', '2.0.9-1':'2.0.9-1', - '2.0.11-1':'2.0.11-1', '2.0.12-1':'2.0.12-1', '2.0.13-1':'2.0.13-1', '2.0.14-1':'2.0.14-1', - '2.0.17-1':'2.0.17-1','2.0.18-1':'2.0.18-1','2.2.4-1':'2.2.4-1','2.3.0-1':'2.3.0-1','2.3.10-1':'2.3.10-1', - '2.4.0-1':'2.4.0-1','2.4.9-1':'2.4.9-1'} %} - {{ select('hapver', values=values, selected='2.4.9-1', required='required') }} + {% set values = {'2.0.5-1':'2.0.5-1','2.2.4-1':'2.2.4-1','2.3.0-1':'2.3.0-1','2.3.10-1':'2.3.10-1', + '2.4.0-1':'2.4.0-1','2.4.9-1':'2.4.9-1','2.4.15-1':'2.4.15-1','2.5.1-1':'2.5.1-1'} %} + {{ select('hapver', values=values, selected='2.5.1-1', required='required') }}