From 5d6f1d3282c8130c60575a74a7b635f534fed284 Mon Sep 17 00:00:00 2001
From: KodeStar
Date: Thu, 6 Feb 2020 14:38:15 +0000
Subject: [PATCH 1/5] Add containers
---
ci/results.template | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/ci/results.template b/ci/results.template
index bc41274..e11a8ce 100755
--- a/ci/results.template
+++ b/ci/results.template
@@ -6,7 +6,9 @@
| Test | Result |
| ----------------------- | --- |{% for test in report_tests %}
| {{ test[0] }} | {{ test[1] }} |{% endfor %}
+
{% for container in report_containers %}
+
## {{ image }}:{{ container["tag"] }}
### Build Version: {{ container["build_version"] }}
@@ -36,5 +38,6 @@
-
+
{% endfor %}
+
From f64c82ef42daa43cc8773e5a0eaeaf778ab82ecc Mon Sep 17 00:00:00 2001
From: Kode
Date: Thu, 6 Feb 2020 15:28:13 +0000
Subject: [PATCH 2/5] changes to template
---
ci/index.html | 153 ++++++++++++++++++++++++++++++++++++++++----
ci/results.template | 8 +--
2 files changed, 145 insertions(+), 16 deletions(-)
diff --git a/ci/index.html b/ci/index.html
index 5933b7f..2fb539b 100755
--- a/ci/index.html
+++ b/ci/index.html
@@ -1,12 +1,143 @@
-
-
-
-
-
-
- CI Results
-
-
+
+
+
+
+
+
+ CI Results
+
+
+
+
+
+
+
+
+
-
-
+
+
\ No newline at end of file
diff --git a/ci/results.template b/ci/results.template
index e11a8ce..313bc21 100755
--- a/ci/results.template
+++ b/ci/results.template
@@ -1,4 +1,3 @@
-# 
# Test Results {{ image }}:{{ meta_tag }}
## Cumulative: {{ report_status }}
@@ -10,12 +9,11 @@
{% for container in report_containers %}
## {{ image }}:{{ container["tag"] }}
-### Build Version: {{ container["build_version"] }}
-
-{% if screenshot == 'true' %}### Screenshot
-
+{% if screenshot == 'true' %}
[![{{ container["tag"] }}]({{ container["tag"] }}.png =600x*)]({{ container["tag"] }}.png)
{% endif %}
+### Build Version: {{ container["build_version"] }}
+
### Logs
Expand
From 7e15fe6af94d80aa52bb20686391abd50e3884b3 Mon Sep 17 00:00:00 2001
From: Kode
Date: Fri, 7 Feb 2020 08:12:10 +0000
Subject: [PATCH 3/5] Fixes to template and title wrapping
---
ci/index.html | 15 +++------------
ci/results.template | 1 +
2 files changed, 4 insertions(+), 12 deletions(-)
diff --git a/ci/index.html b/ci/index.html
index 2fb539b..f9c1bcb 100755
--- a/ci/index.html
+++ b/ci/index.html
@@ -50,17 +50,6 @@
h1 span {
color: #9bb0bf;
}
- .section, .content {
- width: 100%;
- max-width: 600px;
- display: flex;
- align-items: center;
- background: #efefef;
- justify-content: space-between;
- text-decoration: none;
- margin: 10px;
- box-shadow: 0 0 10px rgba(0,0,0,0.05);
- }
#results h1 {
font-size: 25px;
@@ -68,13 +57,15 @@
}
section {
display: flex;
- width: 30%;
+ width: 100%;
flex-direction: column;
margin: 10px;
background: #efefef;
box-shadow: 0 0 10px rgba(0,0,0,0.05);
min-width: 320px;
+ max-width: 600px;
padding: 0 0 30px 0;
+ flex: 1 1 0;
}
section > * {
padding: 0 20px;
diff --git a/ci/results.template b/ci/results.template
index 313bc21..e9d4a8f 100755
--- a/ci/results.template
+++ b/ci/results.template
@@ -5,6 +5,7 @@
| Test | Result |
| ----------------------- | --- |{% for test in report_tests %}
| {{ test[0] }} | {{ test[1] }} |{% endfor %}
+
{% for container in report_containers %}
From 8c1c32f1c8efb6376c3d24e452a0f38241286c28 Mon Sep 17 00:00:00 2001
From: Kode
Date: Fri, 7 Feb 2020 08:31:21 +0000
Subject: [PATCH 4/5] fix some small issues
---
ci/index.html | 35 ++++++++++++++++++++++++-----------
1 file changed, 24 insertions(+), 11 deletions(-)
diff --git a/ci/index.html b/ci/index.html
index f9c1bcb..d4d341a 100755
--- a/ci/index.html
+++ b/ci/index.html
@@ -8,7 +8,7 @@
-
+