From 6777da5307c7bbe30b93fd3edcce70ab7ff0bb94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=92=9F=E8=BF=9B?= Date: Fri, 10 Jul 2020 06:33:59 +0000 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=96=B0=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../widgets/formula_mini/template.tpl | 54 +++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 lib/assets/javascripts/deep-insights/widgets/formula_mini/template.tpl diff --git a/lib/assets/javascripts/deep-insights/widgets/formula_mini/template.tpl b/lib/assets/javascripts/deep-insights/widgets/formula_mini/template.tpl new file mode 100644 index 0000000..7a39d0c --- /dev/null +++ b/lib/assets/javascripts/deep-insights/widgets/formula_mini/template.tpl @@ -0,0 +1,54 @@ +
+
+

<%- title %>

+
+ +
+
+ <% if (showSource) { %> +
+
+ + <%- sourceId %> + + + <% if (!isSourceType) { %> + + + + <% } %> + + + <%= sourceType %> + + + + <%= layerName %> + +
+
+ <% } %> + <% if (showStats) { %> +
+
<%- nulls %>
null rows
+
+ <% } %> +
+
+ <% if (_.isNumber(value)) { %> +

+ <%= prefix %><%- value %><%= suffix %> +

+ <% if (description) { %> +

<%- description %>

+ <% } %> + <% } else { %> +
+ <% } %> +