2 Copyright (c) 2019 AT&T Intellectual Property. 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 You may obtain a copy of the License at
8 http://www.apache.org/licenses/LICENSE-2.0
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
16 <div id="page-content" class="content" style="padding: 25px;">
24 .grid .ui-grid-header-cell {
28 .icon-add-widget:before {
32 .ui-grid-icon-angle-down {
49 .table-bordered, .table-bordered>tbody>tr>td, .table-bordered>tbody>tr>th,
50 .table-bordered>tfoot>tr>td, .table-bordered>tfoot>tr>th,
51 .table-bordered>thead>tr>td, .table-bordered>thead>tr>th {
52 border: 1px solid #d1d1d1;
62 background-color: transparent;
63 border-collapse: collapse;
68 .table>tbody>tr>th, .table>tfoot>tr>th, .table>thead>tr>th {
69 font-family: Open Sans;
74 .table>caption+thead>tr:first-child>td, .table>caption+thead>tr:first-child>th,
75 .table>colgroup+thead>tr:first-child>td, .table>colgroup+thead>tr:first-child>th,
76 .table>thead:first-child>tr:first-child>td, .table>thead:first-child>tr:first-child>th
81 .table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th,
82 .table>thead>tr>td, .table>thead>tr>th {
83 padding: 2px 10px 3px;
86 .table>tbody>tr.success>td, .table>tbody>tr.success>th, .table>tbody>tr>td.success,
87 .table>tbody>tr>th.success, .table>tfoot>tr.success>td, .table>tfoot>tr.success>th,
88 .table>tfoot>tr>td.success, .table>tfoot>tr>th.success, .table>thead>tr.success>td,
89 .table>thead>tr.success>th, .table>thead>tr>td.success, .table>thead>tr>th.success
91 background-color: #dff0d8;
94 .table>tbody>tr.warning>td, .table>tbody>tr.warning>th, .table>tbody>tr>td.warning,
95 .table>tbody>tr>th.warning, .table>tfoot>tr.warning>td, .table>tfoot>tr.warning>th,
96 .table>tfoot>tr>td.warning, .table>tfoot>tr>th.warning, .table>thead>tr.warning>td,
97 .table>thead>tr.warning>th, .table>thead>tr>td.warning, .table>thead>tr>th.warning
99 background-color: #fcf8e3;
104 border-width: 0 3px 3px 0;
105 display: inline-block;
110 transform: rotate(-135deg);
111 -webkit-transform: rotate(-135deg);
115 transform: rotate(45deg);
116 -webkit-transform: rotate(45deg);
120 <h1 class="heading-page">Blueprint Validation Results</h1>
122 <div ng-show="loadingResults">
123 <img src=" static/fusion/images/giphy.gif" />
126 <h2 class="heading-small"></h2>
127 <div ng-show="!loadingResults">
129 style="float: left; margin-top: 10px; margin-right: 10px;">Blueprint
132 class="form-field form-field__glued pull-left size-onefifth"
133 style="float: left; width: 220px; margin-right: 20px;">
134 <input ng-model="filterLayer" type="text"
135 placeholder="Search for layer?"
136 style="margin-top: 5px; width: 220px;">
140 style="float: left; margin-top: 10px; margin-right: 10px;">Result:</label>
142 class="form-field form-field__glued pull-left size-onefifth"
143 style="float: left; width: 260px; margin-right: 40px;">
144 <input ng-model="filterResult" type="text"
145 placeholder="Search for result?"
146 style="margin-top: 5px; width: 260px;">
150 style="float: left; margin-top: 10px; margin-right: 10px;">Timestamp:</label>
152 class="form-field form-field__glued pull-left size-onefifth"
153 style="float: left; width: 260px; margin-right: 40px;">
154 <input ng-model="filtertimestamp.timestamp" type="text"
155 placeholder="Search for timestamp?"
156 style="margin-top: 5px; width: 260px;">
159 <div style="float: right;">
160 <button style="margin-left: 25px; margin-top: 4px;"
161 type="submit" class="btn btn-alt btn-small"
162 ng-click="refreshValidationResults();">Refresh</button>
165 <h2 class="heading-small"></h2>
166 <table class="table table-striped table-bordered">
168 <tr style="background-color: grey;">
169 <th class>Lab </th>
170 <th class>Blueprint </th>
171 <th class>Version</th>
172 <th class>Timestamp </th>
174 <p>Date/Time of result</p>
176 storage <i class="up ilocal"
177 ng-click="descendingOrder()"></i> <i
179 ng-click="ascendingOrder()"></i>
182 <th class>Optional test cases </th>
183 <th class>All layers </th>
184 <th class>Layer(s) </th>
185 <th class>Submission Id </th>
186 <th class>Result </th>
190 <tr class="border_bottom"
191 ng-repeat="validationNexusTestResult in filterWithResult(filterWithLayer(validationNexusTestResults,filterLayer), filterResult) | filter:filtertimestamp | orderBy:dateTimeSort:descending"
192 ng-class="{success: (validationNexusTestResult.result===true), warning: (validationNexusTestResult.result===false)}">
194 style="padding-left: 10px; font-size: 15px; width: 13%;">
195 {{ getLab(validationNexusTestResult.silo, silos)
198 style="padding-left: 10px; font-size: 15px; width: 13%;">{{
199 validationNexusTestResult.blueprintName }}</td>
201 style="padding-left: 10px; font-size: 15px; width: 13%;">{{
202 validationNexusTestResult.version }}</td>
204 style="padding-left: 10px; font-size: 15px; width: 13%;">{{
205 validationNexusTestResult.timestamp }}</td>
207 style="padding-left: 10px; font-size: 15px; width: 13%;">{{
208 validationNexusTestResult.dateOfStorage }}</td>
210 style="padding-left: 10px; font-size: 15px; width: 13%;">{{
211 validationNexusTestResult.optional }}</td>
213 style="padding-left: 10px; font-size: 15px; width: 13%;">{{
214 validationNexusTestResult.allLayers }}</td>
216 style="padding-left: 10px; font-size: 15px; width: 13%;">
218 ng-repeat="layer in getBlueprintLayers(validationNexusTestResult.wRobotNexusTestResults)">
222 style="padding-left: 10px; font-size: 15px; width: 13%;">{{
223 validationNexusTestResult.submissionId }}</td>
225 style="padding-left: 10px; font-size: 15px; width: 13%;">
227 style="margin-left: 25px; margin-top: 4px;"
228 type="submit" class="btn btn-alt btn-small"
229 ng-click="getTestSuiteResults(validationNexusTestResult);">{{
230 mapResult(validationNexusTestResult)}}</button>