analyze.sh: Factor out index.html template to a seperate file

To ease modification/testing.

Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
Change-Id: I1798a2262614c74c6de4ecc00afe6b7f32155fdf
diff --git a/eclair/analyze.sh b/eclair/analyze.sh
index c8f9e66..5438ab9 100755
--- a/eclair/analyze.sh
+++ b/eclair/analyze.sh
@@ -85,19 +85,4 @@
 xz ${PROJECT_ECD}
 
 
-cat <<EOF >index.html
-<html>
-<body>
-<h1>MISRA reports</h1>
-
-<p>
-TF-A Config: ${TF_CONFIG}
-CI Build: <a href="${BUILD_URL}">${BUILD_URL}</a>
-</p>
-
-<li><a href="ECLAIR/full_txt/">Full TXT report</a>
-<li><a href="ECLAIR/full_html/index.html">Full HTML report</a>
-<li><a href="ECLAIR/full_html/by_service.html#strictness/service/first_file&strictness">Report by issue strictness (Mandatory/Required/Advisory) (HTML).</a>
-</body>
-</html>
-EOF
+. ${SCRIPT_DIR}/analyze_index_html.sh