From d0581b978b4b3fa8bbe60c9e92ef86a66cbf0218 Mon Sep 17 00:00:00 2001 From: Mumshad Mannambeth Date: Thu, 20 Jul 2017 11:44:57 -0400 Subject: [PATCH] Add dependency on project creation --- client/app/custom_modules/custom_modules.html | 9 ++++++--- client/app/designer/designer.html | 13 ++++++++++--- client/app/project/project.html | 2 +- 3 files changed, 17 insertions(+), 7 deletions(-) diff --git a/client/app/custom_modules/custom_modules.html b/client/app/custom_modules/custom_modules.html index 11ac38d..e46de8a 100644 --- a/client/app/custom_modules/custom_modules.html +++ b/client/app/custom_modules/custom_modules.html @@ -1,9 +1,12 @@
+
You must create a project first !
-
- +
+ +
+
diff --git a/client/app/designer/designer.html b/client/app/designer/designer.html index 7d0b36f..a6fc702 100644 --- a/client/app/designer/designer.html +++ b/client/app/designer/designer.html @@ -1,6 +1,7 @@
+ Project: {{ selectedProject.ansibleVersion }}
@@ -8,7 +9,7 @@

-
An inventory file to work with @@ -16,7 +17,7 @@
-
+
@@ -54,11 +55,17 @@
{{err_msg}}
-
+
+
+ +

You must select a project first

+ +
+
diff --git a/client/app/project/project.html b/client/app/project/project.html index bc4a5d1..943304a 100644 --- a/client/app/project/project.html +++ b/client/app/project/project.html @@ -21,7 +21,7 @@

- +

Ansible Controller system - A linux system with Ansible Installed on it. Required if you want to execute Ansible playbooks. You could skip this and still generate playbooks but not test them.