Catalog alignment
[sdc.git] / catalog-ui / src / app / view-models / modals / icons-modal / icons-modal-view.html
1 <!--
2   ~ Copyright (C) 2018 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 <ng1-modal modal="modalIcons" type="classic" class="w-sdc-modal-icons" buttons="footerButtons" header="Choose Icon" show-close-button="true">
17
18     <div class="suggested-icons-container">
19         <div class ="suggested-icon-wrapper" data-ng-class="{'selected': selectedIcon == iconSrc}"  data-ng-repeat="iconSrc in icons track by $index">
20             <div class="i-sdc-form-item-suggested-icon large hand {{iconSprite}} {{iconSrc}}"
21                  data-tests-id="{{iconSrc}} iconBox"
22                  data-ng-click="changeIcon(iconSrc)"
23                  tooltips tooltip-content='{{iconSrc | translate}}'
24             >
25             </div>
26         </div>
27     </div>
28
29     <div class="w-sdc-modal-footer classic">
30         <button class="tlv-btn blue" data-tests-id="OK" data-ng-click="updateIcon()">OK</button>
31         <button class="tlv-btn grey" data-tests-id="Cancel" data-ng-click="cancel()" >Cancel</button>
32     </div>
33 </ng1-modal>