diff --git a/static/engine_admin/css/app.2bc2043.css b/pipeline/contrib/engine_admin/static/css/app.2bc2043.css similarity index 100% rename from static/engine_admin/css/app.2bc2043.css rename to pipeline/contrib/engine_admin/static/css/app.2bc2043.css diff --git a/static/engine_admin/editor.worker.js b/pipeline/contrib/engine_admin/static/editor.worker.js similarity index 100% rename from static/engine_admin/editor.worker.js rename to pipeline/contrib/engine_admin/static/editor.worker.js diff --git a/static/engine_admin/fonts/codicon.a609dc0.ttf b/pipeline/contrib/engine_admin/static/fonts/codicon.a609dc0.ttf similarity index 100% rename from static/engine_admin/fonts/codicon.a609dc0.ttf rename to pipeline/contrib/engine_admin/static/fonts/codicon.a609dc0.ttf diff --git a/static/engine_admin/fonts/iconcool.73b7ae4.woff b/pipeline/contrib/engine_admin/static/fonts/iconcool.73b7ae4.woff similarity index 100% rename from static/engine_admin/fonts/iconcool.73b7ae4.woff rename to pipeline/contrib/engine_admin/static/fonts/iconcool.73b7ae4.woff diff --git a/static/engine_admin/fonts/iconcool.92e669c.eot b/pipeline/contrib/engine_admin/static/fonts/iconcool.92e669c.eot similarity index 100% rename from static/engine_admin/fonts/iconcool.92e669c.eot rename to pipeline/contrib/engine_admin/static/fonts/iconcool.92e669c.eot diff --git a/static/engine_admin/fonts/iconcool.99a84d9.ttf b/pipeline/contrib/engine_admin/static/fonts/iconcool.99a84d9.ttf similarity index 100% rename from static/engine_admin/fonts/iconcool.99a84d9.ttf rename to pipeline/contrib/engine_admin/static/fonts/iconcool.99a84d9.ttf diff --git a/static/engine_admin/img/iconcool.3a0bc10.svg b/pipeline/contrib/engine_admin/static/img/iconcool.3a0bc10.svg similarity index 100% rename from static/engine_admin/img/iconcool.3a0bc10.svg rename to pipeline/contrib/engine_admin/static/img/iconcool.3a0bc10.svg diff --git a/static/engine_admin/js/app.0a38c7a.js b/pipeline/contrib/engine_admin/static/js/app.0a38c7a.js similarity index 100% rename from static/engine_admin/js/app.0a38c7a.js rename to pipeline/contrib/engine_admin/static/js/app.0a38c7a.js diff --git a/static/engine_admin/js/runtime.114327c.js b/pipeline/contrib/engine_admin/static/js/runtime.114327c.js similarity index 100% rename from static/engine_admin/js/runtime.114327c.js rename to pipeline/contrib/engine_admin/static/js/runtime.114327c.js diff --git a/static/engine_admin/js/vue-lib.dc44a51.js b/pipeline/contrib/engine_admin/static/js/vue-lib.dc44a51.js similarity index 100% rename from static/engine_admin/js/vue-lib.dc44a51.js rename to pipeline/contrib/engine_admin/static/js/vue-lib.dc44a51.js diff --git a/static/engine_admin/json.worker.js b/pipeline/contrib/engine_admin/static/json.worker.js similarity index 100% rename from static/engine_admin/json.worker.js rename to pipeline/contrib/engine_admin/static/json.worker.js diff --git a/templates/engine_admin/index.html b/pipeline/contrib/engine_admin/templates/eri_admin_index.html similarity index 66% rename from templates/engine_admin/index.html rename to pipeline/contrib/engine_admin/templates/eri_admin_index.html index 127544b7c..5044e175e 100644 --- a/templates/engine_admin/index.html +++ b/pipeline/contrib/engine_admin/templates/eri_admin_index.html @@ -4,7 +4,7 @@ bamboo-engine-admin-frontend - +
- + diff --git a/pipeline/contrib/engine_admin/views.py b/pipeline/contrib/engine_admin/views.py index 4e036c51c..3bc3e707f 100644 --- a/pipeline/contrib/engine_admin/views.py +++ b/pipeline/contrib/engine_admin/views.py @@ -69,7 +69,7 @@ def wrapper(request, *args, **kwargs): @_check_api_permission def render_index(request, *args, **kwargs): - return render(request, "engine_admin/index.html", + return render(request, "eri_admin_index.html", {"BKAPP_CSRF_COOKIE_NAME": settings.CSRF_COOKIE_NAME})