Merge pull request #631 from catborise/master

update requirements
This commit is contained in:
catborise 2024-01-17 10:24:13 +03:00 committed by GitHub
commit 1f90a6c8c9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 33 additions and 24 deletions

View File

@ -1,24 +1,25 @@
Django==4.2.7
django_bootstrap5==23.3
django-bootstrap-icons==0.8.6
Django==4.2.9
django_bootstrap5==23.4
django-bootstrap-icons==0.8.7
django-login-required-middleware==0.9.0
django-otp==1.3.0
django-qr-code==3.1.1
django-qr-code==4.0.1
django-auth-ldap==4.5.0
djangorestframework==3.14.0
drf-nested-routers==0.93.5
drf-yasg==1.21.7
eventlet==0.34.3
gunicorn==21.2.0
libsass==0.22.0
libvirt-python==9.8.0
lxml==4.9.3
libsass==0.23.0
libvirt-python==10.0.0
lxml==5.1.0
ldap3==2.9.1
markdown>=3.4.1
python-engineio==4.8.2
python-socketio==5.11.0
qrcode==7.4.2
rwlock==0.0.7
tzdata
websockify==0.11.0
zipp==3.17.0
ldap3==2.9.1
python-engineio==4.8.0
python-socketio==5.10.0
eventlet==0.33.3
djangorestframework==3.14.0
drf-nested-routers==0.93.4
drf-yasg==1.21.7
markdown>=3.4.1
whitenoise==6.6.0
zipp==3.17.0

View File

@ -1,9 +1,9 @@
-r ../conf/requirements.txt
coverage==7.3.0
coverage==7.4.0
django-debug-toolbar==4.2.0
django-debug-toolbar-template-profiler
pycodestyle==2.11.1
pyflakes==3.1.0
pylint==3.0.2
pyflakes==3.2.0
pylint==3.0.3
yapf==0.40.2
black==23.10.1
black==23.12.1

View File

@ -20,7 +20,7 @@
{% if compute.status is True and compute.instance_set.count > 0 %}
<tr class="table-secondary fw-bold border-bottom border-dark">
<td>
<span id="collapse_host_instances_{{ compute.id }}" onclick="hide_host_instances('{{ compute.id }}');">{% bs_icon 'chevron-up'%} </span>
<span id="collapse_host_instances_{{ compute.id }}" onclick="hide_host_instances('{{ compute.id }}');" class="bi bi-chevron-up" ></span>
</td>
<td>
<a class="link-dark" href="{% url 'overview' compute.id %}">{{ compute.name }}</a>
@ -91,14 +91,14 @@ function hide_all_host_instances() {
var rows = $('table tr');
all_host_rows = rows.filter('[host]');
all_host_rows.toggle();
$('span[id^=collapse_host_instances_]').toggleClass("fa-chevron-down").toggleClass("fa-chevron-up");
$('span[id^=collapse_host_instances_]').toggleClass("bi bi-chevron-down ").toggleClass("bi bi-chevron-up");
$('span[id^=inst_count_badge_]').toggleClass("d-none");
}
function hide_host_instances(host) {
var rows = $('table tr');
host_rows = rows.filter("[host='"+host+"']");
host_rows.toggle();
$("span[id='collapse_host_instances_"+host+"']").toggleClass("fa-chevron-down").toggleClass("fa-chevron-up");
$("span[id='collapse_host_instances_"+host+"']").toggleClass("bi-chevron-down ").toggleClass("bi-chevron-up");
$("span[id='inst_count_badge_"+host+"']").toggleClass("d-none");
}
</script>

View File

@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-down" viewBox="0 0 16 16">
<path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"/>
</svg>

After

Width:  |  Height:  |  Size: 321 B

View File

@ -4,7 +4,7 @@ WSGI config for webvirtcloud project.
It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/3.2/howto/deployment/wsgi/
https://docs.djangoproject.com/en/4.2/howto/deployment/wsgi/
"""
import signal