diff --git a/apps/management/templates/general/general_main.html b/app/apps/management/templates/general/general_main.html similarity index 100% rename from apps/management/templates/general/general_main.html rename to app/apps/management/templates/general/general_main.html diff --git a/apps/management/templates/geoproc/geoproc.html b/app/apps/management/templates/geoproc/geoproc.html similarity index 100% rename from apps/management/templates/geoproc/geoproc.html rename to app/apps/management/templates/geoproc/geoproc.html diff --git a/apps/management/templates/gto/gto_icons.html b/app/apps/management/templates/gto/gto_icons.html similarity index 100% rename from apps/management/templates/gto/gto_icons.html rename to app/apps/management/templates/gto/gto_icons.html diff --git a/apps/management/templates/gto/gto_main.html b/app/apps/management/templates/gto/gto_main.html similarity index 100% rename from apps/management/templates/gto/gto_main.html rename to app/apps/management/templates/gto/gto_main.html diff --git a/apps/management/templates/gto/icon_add.html b/app/apps/management/templates/gto/icon_add.html similarity index 100% rename from apps/management/templates/gto/icon_add.html rename to app/apps/management/templates/gto/icon_add.html diff --git a/apps/management/templates/pla/pla_main.html b/app/apps/management/templates/pla/pla_main.html similarity index 100% rename from apps/management/templates/pla/pla_main.html rename to app/apps/management/templates/pla/pla_main.html diff --git a/apps/management/templates/seismicproc/seismicproc_main.html b/app/apps/management/templates/seismicproc/seismicproc_main.html similarity index 100% rename from apps/management/templates/seismicproc/seismicproc_main.html rename to app/apps/management/templates/seismicproc/seismicproc_main.html diff --git a/apps/management/templates/users/users_main.html b/app/apps/management/templates/users/users_main.html similarity index 100% rename from apps/management/templates/users/users_main.html rename to app/apps/management/templates/users/users_main.html diff --git a/apps/management/templates/wklocation/wklocation_main.html b/app/apps/management/templates/wklocation/wklocation_main.html similarity index 100% rename from apps/management/templates/wklocation/wklocation_main.html rename to app/apps/management/templates/wklocation/wklocation_main.html diff --git a/app/apps/management/views/views_pla.py b/app/apps/management/views/views_pla.py index b7ddd6e..1b0f84e 100644 --- a/app/apps/management/views/views_pla.py +++ b/app/apps/management/views/views_pla.py @@ -40,7 +40,7 @@ def main(request): context = generalmodule.get_context_template() channels = PlaChannel.objects.all() context["catalog"] = channels - return render(request, "pla/pla_main.html", context) + return render(request, "pla/../templates/pla/pla_main.html", context) except Exception: logging.error(traceback.format_exc()) return redirect("/management/") diff --git a/app/apps/management/views/views_seismicproc.py b/app/apps/management/views/views_seismicproc.py index 028683c..5b58dfd 100644 --- a/app/apps/management/views/views_seismicproc.py +++ b/app/apps/management/views/views_seismicproc.py @@ -37,7 +37,7 @@ def main(request): get_param = request.GET.dict() if request.method == "GET": context = generalmodule.get_context_template() - return render(request, "seismicproc/seismicproc_main.html", context) + return render(request,"seismicproc/seismicproc_main.html", context) except Exception: logging.error(traceback.format_exc()) return redirect("/management/") diff --git a/app/apps/management/views/views_user.py b/app/apps/management/views/views_user.py index e357f85..a3eb281 100644 --- a/app/apps/management/views/views_user.py +++ b/app/apps/management/views/views_user.py @@ -301,7 +301,7 @@ def main(request): if get_param["cmd"] == "oset_save": return oset_save(request) # context = generalmodule.get_context_template() - return render(request, "users/users_main.html", context) + return render(request, "users/../templates/users/users_main.html", context) except Exception as err: logging.error(traceback.format_exc()) return redirect("/management/") diff --git a/app/apps/management/views/views_wklocation.py b/app/apps/management/views/views_wklocation.py index 26b7b26..5ed998f 100644 --- a/app/apps/management/views/views_wklocation.py +++ b/app/apps/management/views/views_wklocation.py @@ -40,7 +40,7 @@ def main(request): context = generalmodule.get_context_template() icons = Icons.objects.all() context["catalog"] = icons - return render(request, "wklocation/wklocation_main.html", context) + return render(request, "wklocation/../templates/wklocation/wklocation_main.html", context) except Exception: logging.error(traceback.format_exc()) return redirect("/management/") diff --git a/apps/pla/templates/hetonis/hetonis_main.html b/app/apps/pla/templates/hetonis/hetonis_main.html similarity index 100% rename from apps/pla/templates/hetonis/hetonis_main.html rename to app/apps/pla/templates/hetonis/hetonis_main.html diff --git a/static/js/management/general.js b/app/static/js/management/general.js similarity index 100% rename from static/js/management/general.js rename to app/static/js/management/general.js diff --git a/static/js/management/geoproc.js b/app/static/js/management/geoproc.js similarity index 100% rename from static/js/management/geoproc.js rename to app/static/js/management/geoproc.js diff --git a/static/js/management/gto.js b/app/static/js/management/gto.js similarity index 100% rename from static/js/management/gto.js rename to app/static/js/management/gto.js diff --git a/static/js/management/management.js b/app/static/js/management/management.js similarity index 100% rename from static/js/management/management.js rename to app/static/js/management/management.js diff --git a/static/js/management/pla.js b/app/static/js/management/pla.js similarity index 100% rename from static/js/management/pla.js rename to app/static/js/management/pla.js diff --git a/static/js/management/seismicproc.js b/app/static/js/management/seismicproc.js similarity index 100% rename from static/js/management/seismicproc.js rename to app/static/js/management/seismicproc.js diff --git a/static/js/management/users.js b/app/static/js/management/users.js similarity index 100% rename from static/js/management/users.js rename to app/static/js/management/users.js diff --git a/static/js/management/wklocation.js b/app/static/js/management/wklocation.js similarity index 100% rename from static/js/management/wklocation.js rename to app/static/js/management/wklocation.js