mirror of
https://github.com/retspen/webvirtcloud
synced 2025-07-31 12:41:08 +00:00
Rename webvirtcloud to webvirt
This commit is contained in:
parent
3488661dc9
commit
5130871248
21 changed files with 45 additions and 99 deletions
|
|
@ -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.setdefault("DJANGO_SETTINGS_MODULE", "webvirtcloud.settings")
|
||||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "webvirt.settings")
|
||||
CERT = DIR_PATH + '/cert.pem'
|
||||
|
||||
if ROOT_PATH not in sys.path:
|
||||
|
|
@ -22,7 +22,7 @@ django.setup()
|
|||
import re
|
||||
import http.cookies
|
||||
import socket
|
||||
from webvirtcloud.settings import WS_PORT, WS_HOST, WS_CERT
|
||||
from webvirt.settings import WS_PORT, WS_HOST, WS_CERT
|
||||
from vrtManager.connection import CONN_SSH, CONN_SOCKET
|
||||
from console.tunnel import Tunnel
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<link rel="shortcut icon" href="{% static "favicon.ico" %}">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="{% static "css/bootstrap.min.css" %}">
|
||||
<link href="{% static "css/webvirtcloud.css" %}" rel="stylesheet">
|
||||
<link href="{% static "css/webvirt.css" %}" rel="stylesheet">
|
||||
|
||||
<style>
|
||||
body {
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@ from django.shortcuts import render
|
|||
from django.contrib.auth.decorators import login_required
|
||||
from instances.models import Instance
|
||||
from vrtManager.instance import wvmInstance
|
||||
from webvirtcloud.settings import WS_PORT
|
||||
from webvirtcloud.settings import WS_PUBLIC_HOST
|
||||
from webvirt.settings import WS_PORT
|
||||
from webvirt.settings import WS_PUBLIC_HOST
|
||||
from libvirt import libvirtError
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue