1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-03-22 02:24:56 +00:00

fix secrets & console files & move coverage to dev/req

This commit is contained in:
catborise 2020-06-03 11:26:25 +03:00
parent 22157bb050
commit d95e60e2ad
6 changed files with 4 additions and 5 deletions

View file

@ -1,7 +1,7 @@
{% load i18n %}
{% load font_awesome %}
{% load bootstrap4 %}
<div class="btn-group float-right" role="group" aria-label="Add host button group">
<div class=" btn-group btn-header float-right" role="group" aria-label="Add host button group">
<a href="{% url 'add_tcp_host' %}" class="btn btn-success">{% trans "TCP" %}</a>
<a href="{% url 'add_ssh_host' %}" class="btn btn-success">{% trans "SSH" %}</a>
<a href="{% url 'add_tls_host' %}" class="btn btn-success">{% trans "TLS" %}</a>

View file

@ -1,4 +1,3 @@
coverage==5.1
Django==2.2.12
django-bootstrap4
django-fa==1.0.0

View file

@ -7,7 +7,7 @@ import django
DIR_PATH = os.path.dirname(os.path.abspath(__file__))
ROOT_PATH = os.path.abspath(os.path.join(DIR_PATH, '..', ''))
os.environ["DJANGO_SETTINGS_MODULE"] = "webvirtcloud.settings"
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'webvirtcloud.settings')
CERT = DIR_PATH + '/cert.pem'
if ROOT_PATH not in sys.path:

View file

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
#
# This class provide from VirtManager project, from console.py
# file.

View file

@ -1,4 +1,5 @@
-r ../conf/requirements.txt
coverage==5.1
pycodestyle
pyflakes==2.2.0
pylint==2.5.2

View file

@ -45,7 +45,7 @@ def secrets(request, compute_id):
try:
secrt_value = conn.get_secret_value(uuid)
except libvirtError as lib_err:
secret_value = None
secrt_value = None
secrets_all.append({
'usage': secrt.usageID(),
'uuid': secrt.UUIDString(),