From 1f34ea5722b12fa556b532effeab942dc22e0fef Mon Sep 17 00:00:00 2001 From: "Auke L. Klazema" <klazema@astron.nl> Date: Fri, 21 Feb 2020 16:51:23 +0100 Subject: [PATCH] TMSS-143: Add missing templates --- SAS/TMSS/src/CMakeLists.txt | 1 + SAS/TMSS/src/templates/CMakeLists.txt | 7 +++++++ SAS/TMSS/src/templates/rest_framework/CMakeLists.txt | 5 +++++ 3 files changed, 13 insertions(+) create mode 100644 SAS/TMSS/src/templates/CMakeLists.txt create mode 100644 SAS/TMSS/src/templates/rest_framework/CMakeLists.txt diff --git a/SAS/TMSS/src/CMakeLists.txt b/SAS/TMSS/src/CMakeLists.txt index bbdc727acc2..fd5a8389a74 100644 --- a/SAS/TMSS/src/CMakeLists.txt +++ b/SAS/TMSS/src/CMakeLists.txt @@ -36,3 +36,4 @@ lofar_add_bin_scripts(migrate_momdb_to_tmss.py) lofar_add_docker_files(Dockerfile-tmss) add_subdirectory(tmss) +add_subdirectory(templates) diff --git a/SAS/TMSS/src/templates/CMakeLists.txt b/SAS/TMSS/src/templates/CMakeLists.txt new file mode 100644 index 00000000000..f9bad3202d6 --- /dev/null +++ b/SAS/TMSS/src/templates/CMakeLists.txt @@ -0,0 +1,7 @@ +set(_template_files + josdejong_jsoneditor_widget.html) + +python_install(${_template_files} + DESTINATION lofar/sas/tmss/templates) + +add_subdirectory(rest_framework) diff --git a/SAS/TMSS/src/templates/rest_framework/CMakeLists.txt b/SAS/TMSS/src/templates/rest_framework/CMakeLists.txt new file mode 100644 index 00000000000..9b8a613d8ce --- /dev/null +++ b/SAS/TMSS/src/templates/rest_framework/CMakeLists.txt @@ -0,0 +1,5 @@ +set(_template_files + api.html) + +python_install(${_template_files} + DESTINATION lofar/sas/tmss/templates/rest_framework) -- GitLab