+ | Stack | Stack id | Stack Name | {% if "yoda" in current_user.role or "darth_vader" in current_user.role %} -Stack Repo | -Branch | +Stack Repo | Branch | {% endif %}IaC Type | IaC version | @@ -63,19 +62,60 @@||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
+ | + {% if stack.icon_path %} + + {% else %} + + {% endif %} + | {% elif "gcp" in stack.stack_name %} -+ | + {% if stack.icon_path %} + + {% else %} + + {% endif %} + | {% elif "azure" in stack.stack_name %} -+ | + {% if stack.icon_path %} + + {% else %} + + {% endif %} + | {% else %} -+ | + {% if stack.icon_path %} + + {% else %} + + {% endif %} + | {% endif %}{{ stack.id }} | -{{ stack.stack_name }} | +
+
+ {{ stack.stack_name }}
+
+ |
{% if "yoda" in current_user.role or "darth_vader" in current_user.role %}
- {{ stack.git_repo }} | -{{ stack.branch }} | +
+
+ repo:
+ {{ stack.git_repo.split('/')[-1] | replace('.git', '') }}
+
+
+ branch:
+ {{ stack.branch }}
+
+
+
+ |
{% endif %}
{% if stack.iac_type == 'terraform' %}
@@ -85,8 +125,21 @@ All Stacks{% endif %} |
{{ stack.tf_version }} | -{{ stack.squad_access }} | -{{ stack.description}} | +
+
+ {% if "*" in stack.squad_access %}
+ All Squad
+ {% else %}
+ {{ stack.squad_access | join(',') }}
+ {% endif %}
+
+ |
+
+
+
+ {{ stack.description}}
+
+ |
{% if "yoda" in current_user.role or "darth_vader" in current_user.role %}
@@ -199,4 +252,6 @@ Remove Repo
+
+
{% endblock javascripts %}
diff --git a/sld-dashboard/app/home/templates/stacks-new.html b/sld-dashboard/app/home/templates/stacks-new.html
index ffee4f27..ccfb6b00 100644
--- a/sld-dashboard/app/home/templates/stacks-new.html
+++ b/sld-dashboard/app/home/templates/stacks-new.html
@@ -73,6 +73,16 @@
+
+
+ |