2 # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
4 # Licensed under the Apache License, Version 2.0 (the "License").
5 # You may not use this file except in compliance with the License.
6 # A copy of the License is located at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # or in the "license" file accompanying this file. This file is
11 # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
12 # ANY KIND, either express or implied. See the License for the specific
13 # language governing permissions and limitations under the License.
18 <meta charset="utf-8">
19 <meta name="viewport" content="width=device-width, initial-scale=1.0">
25 background-color: #ec407a;
33 font-variant: small-caps;
34 text-transform: lowercase;
35 letter-spacing: 0.2em;
44 font-family: Helvetica, sans-serif;
52 grid-template-columns: 6em 4em auto;
64 border: 1px solid #4b636e;
69 background-color: #ff9800;
73 background-color: #f44336;
77 background-color: #3f51b5;
83 .small-large, .half-split{
86 flex-direction: column;
90 text-transform: lowercase;
91 font-variant: small-caps;
96 .small-large .bottom {
100 text-transform: lowercase;
101 font-variant: small-caps;
102 margin-bottom: 0.2em;
105 .half-split .bottom {
106 text-transform: lowercase;
107 font-variant: small-caps;
110 @media (max-width: 640px){
114 #build-title:after { content: 'B'; visibility: visible; margin-left: -1.5em}
115 #test-title:after { content: 'T'; visibility: visible; margin-left: -2.5em}
116 #report-title:after { content: 'R'; visibility: visible; margin-left: -3.5em}
117 #build-title { visibility: hidden; }
118 #test-title { visibility: hidden; }
119 #report-title { visibility: hidden; }
121 @media (prefers-color-scheme: dark){
122 .status-icon-in-progress { fill: #ddd; }
123 .status-icon-in-progress circle { stroke: #ddd; }
130 background-color: #37474f;
134 background-color: #263238;
143 border: 1px solid #cfd8dc;
162 </div><!-- id="title" -->
164 {% if "comment" in table %}
165 <p id="table-comment">
166 {{ table["comment"] }}
167 </p><!-- id="table-comment"-->
168 {% endif %}{# "comment" in table #}
170 <div id="outcome-table">
172 {% for outcome in table["outcomes"] %}
173 <div class="outcome">
175 {% if outcome["type"] == "return-code" %}
176 <div class="small-large">
181 <p>{{ outcome["value"] }}</p>
185 {% elif outcome["type"] == "timeout" %}
186 <div class="half-split">
195 {% elif outcome["type"] == "wildcard" %}
196 <div class="half-split">
204 {% endif %}{# outcome["type"] == "return-code" #}
205 </div><!-- class="outcome" -->
207 <div class="action {{ outcome["action"] }}">
210 <div class="comment">
211 {% if "comment" in outcome %}
212 <p>{{ outcome["comment"] }}</p>
213 {% endif %}{# "comment" in outcome #}
216 {% endfor %}{# outcome in table["outcomes"] #}
218 </div><!-- id="outcome-table" -->
221 </div><!-- id="content" -->