aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/account/urls.py2
-rw-r--r--src/api/urls.py2
-rw-r--r--src/booking/urls.py2
-rw-r--r--src/dashboard/admin.py4
-rw-r--r--src/dashboard/populate_db_iol.py2
-rw-r--r--src/dashboard/urls.py2
-rw-r--r--src/laas_dashboard/__init__.py (renamed from src/pharos_dashboard/__init__.py)0
-rw-r--r--src/laas_dashboard/celery.py (renamed from src/pharos_dashboard/celery.py)4
-rw-r--r--src/laas_dashboard/settings.py (renamed from src/pharos_dashboard/settings.py)4
-rw-r--r--src/laas_dashboard/urls.py (renamed from src/pharos_dashboard/urls.py)2
-rw-r--r--src/laas_dashboard/wsgi.py (renamed from src/pharos_dashboard/wsgi.py)4
-rwxr-xr-xsrc/manage.py2
-rw-r--r--src/notifier/manager.py4
-rw-r--r--src/resource_inventory/pdf_templater.py2
-rw-r--r--src/resource_inventory/urls.py2
-rw-r--r--src/static/bower.json4
-rw-r--r--src/templates/base.html2
-rw-r--r--src/templates/layout.html2
-rw-r--r--src/templates/rest_framework/api.html4
19 files changed, 25 insertions, 25 deletions
diff --git a/src/account/urls.py b/src/account/urls.py
index 8aad80c..47400e5 100644
--- a/src/account/urls.py
+++ b/src/account/urls.py
@@ -9,7 +9,7 @@
##############################################################################
-"""pharos_dashboard URL Configuration
+"""laas_dashboard URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/1.10/topics/http/urls/
diff --git a/src/api/urls.py b/src/api/urls.py
index b8b9cff..0e84a6a 100644
--- a/src/api/urls.py
+++ b/src/api/urls.py
@@ -9,7 +9,7 @@
##############################################################################
-"""pharos_dashboard URL Configuration
+"""laas_dashboard URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/1.10/topics/http/urls/
diff --git a/src/booking/urls.py b/src/booking/urls.py
index 310aaa7..54e29c9 100644
--- a/src/booking/urls.py
+++ b/src/booking/urls.py
@@ -9,7 +9,7 @@
##############################################################################
-"""pharos_dashboard URL Configuration
+"""laas_dashboard URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/1.10/topics/http/urls/
diff --git a/src/dashboard/admin.py b/src/dashboard/admin.py
index 43b5386..bd4d96c 100644
--- a/src/dashboard/admin.py
+++ b/src/dashboard/admin.py
@@ -12,5 +12,5 @@
from django.contrib import admin
-admin.site.site_header = "Pharos Dashboard Administration"
-admin.site.site_title = "Pharos Dashboard"
+admin.site.site_header = "Laas Dashboard Administration"
+admin.site.site_title = "Laas Dashboard"
diff --git a/src/dashboard/populate_db_iol.py b/src/dashboard/populate_db_iol.py
index 916dd97..57ebd40 100644
--- a/src/dashboard/populate_db_iol.py
+++ b/src/dashboard/populate_db_iol.py
@@ -262,7 +262,7 @@ class Populator:
def get_lab_data(self, lab):
data = {}
- path = "/pharos_dashboard/data/" + lab.name + "/"
+ path = "/laas_dashboard/data/" + lab.name + "/"
host_file = open(path + "hostlist.json")
host_structure = json.loads(host_file.read())
host_file.close()
diff --git a/src/dashboard/urls.py b/src/dashboard/urls.py
index 571a987..60334f6 100644
--- a/src/dashboard/urls.py
+++ b/src/dashboard/urls.py
@@ -9,7 +9,7 @@
##############################################################################
-"""pharos_dashboard URL Configuration
+"""laas_dashboard URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/1.10/topics/http/urls/
diff --git a/src/pharos_dashboard/__init__.py b/src/laas_dashboard/__init__.py
index f104c4d..f104c4d 100644
--- a/src/pharos_dashboard/__init__.py
+++ b/src/laas_dashboard/__init__.py
diff --git a/src/pharos_dashboard/celery.py b/src/laas_dashboard/celery.py
index 2a44a3d..65b9211 100644
--- a/src/pharos_dashboard/celery.py
+++ b/src/laas_dashboard/celery.py
@@ -13,11 +13,11 @@ import os
from celery import Celery
# set the default Django settings module for the 'celery' program.
-os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'pharos_dashboard.settings')
+os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'laas_dashboard.settings')
from django.conf import settings # noqa
-app = Celery('pharos_dashboard')
+app = Celery('laas_dashboard')
# Using a string here means the worker will not have to
# pickle the object when using Windows.
diff --git a/src/pharos_dashboard/settings.py b/src/laas_dashboard/settings.py
index b44fed8..b73e2c8 100644
--- a/src/pharos_dashboard/settings.py
+++ b/src/laas_dashboard/settings.py
@@ -51,7 +51,7 @@ MIDDLEWARE = [
'account.middleware.TimezoneMiddleware',
]
-ROOT_URLCONF = 'pharos_dashboard.urls'
+ROOT_URLCONF = 'laas_dashboard.urls'
TEMPLATES = [
{
@@ -74,7 +74,7 @@ TEMPLATE_CONTEXT_PROCESSORS = [
'dashboard.context_processors.debug',
]
-WSGI_APPLICATION = 'pharos_dashboard.wsgi.application'
+WSGI_APPLICATION = 'laas_dashboard.wsgi.application'
# Password validation
# https://docs.djangoproject.com/en/1.10/ref/settings/#auth-password-validators
diff --git a/src/pharos_dashboard/urls.py b/src/laas_dashboard/urls.py
index fd791c3..f90f18b 100644
--- a/src/pharos_dashboard/urls.py
+++ b/src/laas_dashboard/urls.py
@@ -9,7 +9,7 @@
##############################################################################
-"""pharos_dashboard URL Configuration
+"""laas_dashboard URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/1.10/topics/http/urls/
diff --git a/src/pharos_dashboard/wsgi.py b/src/laas_dashboard/wsgi.py
index 3d43361..6858d3c 100644
--- a/src/pharos_dashboard/wsgi.py
+++ b/src/laas_dashboard/wsgi.py
@@ -9,7 +9,7 @@
"""
-WSGI config for pharos_dashboard project.
+WSGI config for laas_dashboard project.
It exposes the WSGI callable as a module-level variable named ``application``.
@@ -21,6 +21,6 @@ import os
from django.core.wsgi import get_wsgi_application
-os.environ.setdefault("DJANGO_SETTINGS_MODULE", "pharos_dashboard.settings")
+os.environ.setdefault("DJANGO_SETTINGS_MODULE", "laas_dashboard.settings")
application = get_wsgi_application()
diff --git a/src/manage.py b/src/manage.py
index 3c7aba5..c412c6b 100755
--- a/src/manage.py
+++ b/src/manage.py
@@ -14,7 +14,7 @@ import os
import sys
if __name__ == "__main__":
- os.environ.setdefault("DJANGO_SETTINGS_MODULE", "pharos_dashboard.settings")
+ os.environ.setdefault("DJANGO_SETTINGS_MODULE", "laas_dashboard.settings")
try:
from django.core.management import execute_from_command_line
except ImportError:
diff --git a/src/notifier/manager.py b/src/notifier/manager.py
index 240cf85..9b89ef5 100644
--- a/src/notifier/manager.py
+++ b/src/notifier/manager.py
@@ -93,7 +93,7 @@ class NotificationHandler(object):
send_mail(
"Your Booking is Ready",
message,
- os.environ.get("DEFAULT_FROM_EMAIL", "opnfv@pharos-dashboard"),
+ os.environ.get("DEFAULT_FROM_EMAIL", "opnfv@laas-dashboard"),
[user.userprofile.email_addr],
fail_silently=False
)
@@ -117,7 +117,7 @@ class NotificationHandler(object):
send_mail(
"Your Booking has Expired",
message,
- os.environ.get("DEFAULT_FROM_EMAIL", "opnfv@pharos-dashboard"),
+ os.environ.get("DEFAULT_FROM_EMAIL", "opnfv@laas-dashboard"),
user.userprofile.email_addr,
fail_silently=False
)
diff --git a/src/resource_inventory/pdf_templater.py b/src/resource_inventory/pdf_templater.py
index 2302530..7e91b87 100644
--- a/src/resource_inventory/pdf_templater.py
+++ b/src/resource_inventory/pdf_templater.py
@@ -43,7 +43,7 @@ class PDFTemplater:
lab = resource_lab.name
location = resource_lab.location
pod_type = "development"
- link = "https://wiki.opnfv.org/display/INF/Pharos+Laas"
+ link = "https://wiki.opnfv.org/display/INF/Laas"
try:
# try to get more specific info that may fail, we dont care if it does
diff --git a/src/resource_inventory/urls.py b/src/resource_inventory/urls.py
index a72871b..a1eace7 100644
--- a/src/resource_inventory/urls.py
+++ b/src/resource_inventory/urls.py
@@ -9,7 +9,7 @@
##############################################################################
-"""pharos_dashboard URL Configuration
+"""laas_dashboard URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/1.10/topics/http/urls/
diff --git a/src/static/bower.json b/src/static/bower.json
index dda786d..c9c53e7 100644
--- a/src/static/bower.json
+++ b/src/static/bower.json
@@ -1,9 +1,9 @@
{
- "name": "pharos-dashboard-dependencies",
+ "name": "laas-dashboard-dependencies",
"authors": [
"maxbr <maxbr@mi.fu-berlin.de>"
],
- "description": "This package contains all the Js/CSS dependencies needed to run the Pharos Dashboard.",
+ "description": "This package contains all the Js/CSS dependencies needed to run the Laas Dashboard.",
"main": "",
"license": "Apache2",
"homepage": "",
diff --git a/src/templates/base.html b/src/templates/base.html
index f59740d..0b3f8c2 100644
--- a/src/templates/base.html
+++ b/src/templates/base.html
@@ -20,7 +20,7 @@
<img src="{% static "img/opnfv-logo.png" %}">
</a>
<a class="navbar-brand d-none d-lg-inline" href={% url 'dashboard:index' %}>
- Pharos Dashboard
+ Laas Dashboard
</a>
</div>
<!-- Sidebar button -->
diff --git a/src/templates/layout.html b/src/templates/layout.html
index 205671b..eac0ac3 100644
--- a/src/templates/layout.html
+++ b/src/templates/layout.html
@@ -10,7 +10,7 @@
<meta name="description" content="">
<meta name="author" content="">
- <title>OPNFV Pharos {{ title }}</title>
+ <title>OPNFV Laas {{ title }}</title>
<!-- Bootstrap Core CSS -->
<link href="{% static "bower_components/bootstrap/dist/css/bootstrap.min.css" %}"
diff --git a/src/templates/rest_framework/api.html b/src/templates/rest_framework/api.html
index 9c6c4f7..a62c8f5 100644
--- a/src/templates/rest_framework/api.html
+++ b/src/templates/rest_framework/api.html
@@ -1,9 +1,9 @@
{% extends "rest_framework/base.html" %}
-{% block title %}Pharos Dashboard API{% endblock %}
+{% block title %}Laas Dashboard API{% endblock %}
{% block branding %}
<a class='navbar-brand' rel="nofollow" href=#>
- Pharos Dashboard API
+ Laas Dashboard API
</a>
{% endblock %} \ No newline at end of file