[UI] Support data registration
[validation.git] / ui / src / main / webapp / app / BluvalUI / GetBlueprintInstances / GetBlueprintInstancesTemplate.html
1 <!--
2 Copyright (c) 2019 AT&T Intellectual Property. All rights reserved.
3
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
7
8        http://www.apache.org/licenses/LICENSE-2.0
9
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.
15 -->
16
17 <div id="page-content" class="content" style="padding: 25px;">
18     <style>
19 ul.ul-layer {
20     list-style: none;
21     padding-left: 0;
22     margin-top: 25px;
23 }
24
25 li.li-layer {
26     border: 1px solid black;
27     display: inline-block;
28     padding: 5px 10px;
29     margin-right: 5px;
30     margin-bottom: 5px;
31     text-transform: capitalize;
32 }
33 </style>
34     <div>
35         <h1 class="heading-page">Get Blueprint Instances</h1>
36
37         <div ng-show="loadingBlueprintInstances">
38             <img src=" static/fusion/images/giphy.gif" />
39         </div>
40
41         <h2 class="heading-small"></h2>
42         <table class="table table-striped table-bordered">
43             <thead>
44                 <tr style="background-color: grey;">
45                     <th class>Id&nbsp;</th>
46                     <th class>Version&nbsp;</th>
47                     <th class>Blueprint&nbsp;</th>
48                     <th class>Layer(s)&nbsp;</th>
49                     <th class>Timeslot(s)&nbsp;</th>
50                 </tr>
51             </thead>
52             <tbody>
53                 <tr class="border_bottom"
54                     ng-repeat="blueprintInstanceInfo in blueprintInstanceInfos">
55                     <td class
56                         style="padding-left: 10px; font-size: 15px; width: 13%;">
57                         {{ blueprintInstanceInfo.blueprintInstanceId }}</td>
58                     <td class
59                         style="padding-left: 10px; font-size: 15px; width: 13%;">
60                         {{ blueprintInstanceInfo.version }}</td>
61                     <td class
62                         style="padding-left: 10px; font-size: 15px; width: 13%;">
63                         {{ blueprintInstanceInfo.blueprint.blueprintName
64                         }}</td>
65                     <td class
66                         style="padding-left: 10px; font-size: 15px; width: 13%;">
67                         <ul class="ul-layer">
68                             <li
69                                 ng-repeat="layer in blueprintInstanceInfo.blueprintLayers"
70                                 class="li-layer">{{layer.layer}}</li>
71                         </ul>
72                     </td>
73                     <td class
74                         style="padding-left: 10px; font-size: 15px; width: 13%;">
75                         <ul class="ul-layer">
76                             <li
77                                 ng-repeat="timeslot in blueprintInstanceInfo.timeslots"
78                                 class="li-layer">Lab:
79                                 {{timeslot.labInfo.lab}}, Start Date and
80                                 Time: {{timeslot.startDateTime}}</li>
81                         </ul>
82                     </td>
83                 </tr>
84             </tbody>
85         </table>
86
87
88     </div>
89 </div>