2 ~ Copyright (C) 2018 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.
17 <div class="workspace-tosca-artifact">
18 <div class="table-container-flex">
19 <div class="table" data-ng-class="{'view-mode': isViewMode()}">
20 <div class="head flex-container">
21 <div class="table-header head-row hand flex-item" ng-repeat="header in tableHeadersList track by $index" data-ng-click="sort(header.property)">{{header.title}}
22 <span data-ng-show="sortBy === header.property" class="table-header-sort-arrow" data-ng-class="{'down': reverse, 'up':!reverse}"> </span>
24 <div class="table-no-text-header head-row flex-item"></div>
27 <perfect-scrollbar suppress-scroll-x="true" scroll-y-margin-offset="0" include-padding="true" class="scrollbar-container">
28 <div data-ng-if="showNoArtifactMessage()" class="no-row-text" data-ng-class="{'disabled': isDisableMode()}">
29 There are no TOSCA artifacts to display
31 <div data-ng-repeat-start="artifact in artifacts| orderBy:sortBy:reverse track by $index"
32 class="flex-container data-row" data-tests-id="{{artifact.artifactDisplayName}}"
33 data-ng-class="{'selected': artifact.selected}">
35 <div class="table-col-general flex-item" data-ng-click="artifact.selected = !artifact.selected" data-tests-id="name-{{$index}}">
36 <span class="sprite table-arrow" data-ng-class="{'opened': artifact.selected}"></span>
37 {{artifact.artifactDisplayName}}
40 <div class="table-col-general flex-item" data-ng-click="artifact.selected = !artifact.selected" data-tests-id="type-{{$index}}">
41 {{artifact.artifactType}}
44 <div class="table-col-general flex-item" data-ng-click="artifact.selected = !artifact.selected" data-tests-id="version-{{$index}}">
45 {{artifact.artifactVersion}}
48 <div class="table-btn-col flex-item download-icon-container">
49 <button class="table-download-btn tosca" download-artifact data-tests-id="download-{{artifact.artifactDisplayName}}"
50 data-ng-if="artifact.artifactName" component="component" artifact="artifact" show-loader="true"></button>
53 <div data-ng-repeat-end="" data-ng-if="artifact.selected" class="item-opened" data-tests-id="details-{{$index}}">
54 <div><span class="details-title">Label:</span> {{artifact.artifactLabel}}</div>
55 <div><span class="details-title">UUID:</span> {{artifact.artifactUUID}}</div>
56 <div><span class="details-title">Description:</span> {{artifact.description}}</div>