Loading src/jama/__init__.py +1 −1 Original line number Diff line number Diff line __version__ = "0.1.76" __version__ = "0.1.77" src/jama/settings.py +2 −0 Original line number Diff line number Diff line Loading @@ -105,6 +105,8 @@ CSRF_TRUSTED_ORIGINS = [JAMA_SITE[:-1]] JAMA_HLS_ENDPOINT = os.getenv("JAMA_HLS_ENDPOINT") or "http://localhost/hls/" JAMA_UI_ANNOTATIONS = True if os.getenv("JAMA_UI_ANNOTATIONS") == "1" else False # Application definition INSTALLED_APPS = [ Loading src/ui/front/package.json +1 −1 Original line number Diff line number Diff line Loading @@ -9,7 +9,7 @@ "preview": "vite preview" }, "dependencies": { "@pdn-certic/vue3-jama": "0.7.4", "@pdn-certic/vue3-jama": "0.7.5", "vue": "^3.5.25" }, "devDependencies": { Loading src/ui/templates/ui/index.html +1 −1 Original line number Diff line number Diff line Loading @@ -9,6 +9,6 @@ <title>Jama UI - Vue 3</title> </head> <body> <div id="app"></div> <div id="app" data-annotations="{{ annotations }}"></div> </body> </html> No newline at end of file src/ui/views.py +6 −1 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ from django.shortcuts import render from django.contrib.auth.decorators import login_required from django.http import HttpRequest, HttpResponse from rpc import methods as jama from jama.settings import JAMA_UI_ANNOTATIONS @login_required Loading @@ -14,5 +15,9 @@ def index(request: HttpRequest) -> HttpResponse: return render( request, "ui/index.html", {"accesses": accesses, "choose_project_page": True}, { "accesses": accesses, "choose_project_page": True, "annotations": JAMA_UI_ANNOTATIONS, }, ) Loading
src/jama/__init__.py +1 −1 Original line number Diff line number Diff line __version__ = "0.1.76" __version__ = "0.1.77"
src/jama/settings.py +2 −0 Original line number Diff line number Diff line Loading @@ -105,6 +105,8 @@ CSRF_TRUSTED_ORIGINS = [JAMA_SITE[:-1]] JAMA_HLS_ENDPOINT = os.getenv("JAMA_HLS_ENDPOINT") or "http://localhost/hls/" JAMA_UI_ANNOTATIONS = True if os.getenv("JAMA_UI_ANNOTATIONS") == "1" else False # Application definition INSTALLED_APPS = [ Loading
src/ui/front/package.json +1 −1 Original line number Diff line number Diff line Loading @@ -9,7 +9,7 @@ "preview": "vite preview" }, "dependencies": { "@pdn-certic/vue3-jama": "0.7.4", "@pdn-certic/vue3-jama": "0.7.5", "vue": "^3.5.25" }, "devDependencies": { Loading
src/ui/templates/ui/index.html +1 −1 Original line number Diff line number Diff line Loading @@ -9,6 +9,6 @@ <title>Jama UI - Vue 3</title> </head> <body> <div id="app"></div> <div id="app" data-annotations="{{ annotations }}"></div> </body> </html> No newline at end of file
src/ui/views.py +6 −1 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ from django.shortcuts import render from django.contrib.auth.decorators import login_required from django.http import HttpRequest, HttpResponse from rpc import methods as jama from jama.settings import JAMA_UI_ANNOTATIONS @login_required Loading @@ -14,5 +15,9 @@ def index(request: HttpRequest) -> HttpResponse: return render( request, "ui/index.html", {"accesses": accesses, "choose_project_page": True}, { "accesses": accesses, "choose_project_page": True, "annotations": JAMA_UI_ANNOTATIONS, }, )