[PORTAL-7] Rebase
[portal.git] / ecomp-portal-FE-common / client / app / views / widget-catalog / widget-catalog.tpl.html
1 <!--\r
2   ================================================================================\r
3   ECOMP Portal\r
4   ================================================================================\r
5   Copyright (C) 2017 AT&T Intellectual Property\r
6   ================================================================================\r
7   Licensed under the Apache License, Version 2.0 (the "License");\r
8   you may not use this file except in compliance with the License.\r
9   You may obtain a copy of the License at\r
10   \r
11        http://www.apache.org/licenses/LICENSE-2.0\r
12   \r
13   Unless required by applicable law or agreed to in writing, software\r
14   distributed under the License is distributed on an "AS IS" BASIS,\r
15   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
16   See the License for the specific language governing permissions and\r
17   limitations under the License.\r
18   ================================================================================\r
19   -->\r
20 <div class="w-ecomp-main">\r
21         <div class="w-ecomp-main-container">\r
22                 <div class="widget-catalog" id="widget-page-content">\r
23                         <div id="title" class="w-ecomp-main-view-title">\r
24                                 <h1 class="heading-page">Widget Catalog</h1>\r
25                         </div>\r
26                         <div class="widget-centerAlignment">\r
27                                 <div class="portals-list">\r
28                                         <div ng-show="widgetCatalog.isCommError">Failed to\r
29                                                 communicate with the widget microservice.</div>\r
30                                         <div id="widgets" class="information-section"\r
31                                                 ng-hide="widgetCatalog.isCommError">\r
32                                                 <div id="news-gridster-container"\r
33                                                         class="gridster-container override_background">\r
34                                                         <div class="content" gridster="widgetCatalog.gridsterOpts">\r
35                                                                 <ul>\r
36                                                                         <li gridster-item="widget" ng-repeat="widget in widgetViewData">\r
37                                                                                 <div class="box">\r
38                                                                                         <div class="box-header">\r
39                                                                                                 <i style="cursor: move;" class="icon-content-gridguide"></i>\r
40                                                                                                 <h3>{{ widget.headerText}}</h3>\r
41                                                                                                 <div class="form-row">\r
42                                                                                                         <label id="widget-checkbox-label" class="checkbox"> <input type="checkbox"\r
43                                                                                                                 id="{{widget.headerText.split(' ').join('-')}}-checkbox"\r
44                                                                                                                 ng-model="widget.select"\r
45                                                                                                                 ng-change="storeSelection(widget)"> <i\r
46                                                                                                                 class="skin"></i>\r
47                                                                                                         </label>\r
48                                                                                                 </div>\r
49                                                                                         </div>\r
50                                                                                         <div class="box-content">\r
51                                                                                                 <div dyn-attr="widget.attrb"></div>\r
52                                                                                         </div>\r
53                                                                                 </div>\r
54                                                                         </li>\r
55                                                                 </ul>\r
56                                                         </div>\r
57                                                 </div>\r
58                                         </div>\r
59                                         <div ng-show="widgetCatalog.isEnlarged">\r
60                                                 <div id="widgets-button-enlarge-close"\r
61                                                         class="enlarge-close-button"\r
62                                                         ng-click="widgetCatalog.isEnlarged=false">X</div>\r
63                                                 <iframe id="iframe-widget-enlarge-close"\r
64                                                         ng-src="{{widgetCatalog.enlargeURL | trusted}}"\r
65                                                         class="enlarge-content"> </iframe>\r
66                                         </div>\r
67                                 </div>\r
68                         </div>\r
69 \r
70                         <div id="widgets-disclaimer" class="w-ecomp-main-disclaimer">\r
71                                 To request access to an application widget, please visit the <a\r
72                                         ng-href="getAccess">Get Access</a> page.\r
73                         </div>\r
74                 </div>\r
75         </div>\r
76 </div>\r