[PORTAL-20,PORTAL-23,PORTAL-32] Repair defects
[portal.git] / ecomp-portal-FE-common / client / app / views / catalog / catalog.tpl.html
1 <!--
2   ================================================================================
3   ECOMP Portal
4   ================================================================================
5   Copyright (C) 2017 AT&T Intellectual Property
6   ================================================================================
7   Licensed under the Apache License, Version 2.0 (the "License");
8   you may not use this file except in compliance with the License.
9   You may obtain a copy of the License at
10   
11        http://www.apache.org/licenses/LICENSE-2.0
12   
13   Unless required by applicable law or agreed to in writing, software
14   distributed under the License is distributed on an "AS IS" BASIS,
15   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16   See the License for the specific language governing permissions and
17   limitations under the License.
18   ================================================================================
19   -->
20 <div class="w-ecomp-app-catalog">
21         <div class="app-catalog-container" id="page-content">
22                 <div id="title" class="w-ecomp-main-view-title">
23                         <h1 class="heading-page">Application Catalog</h1>
24                 </div>
25                 <div class="app-catalog-list">
26                         <div class="simulateCatGridHeader">
27                                 <span class="simulateCatGridHeaderDetails"> Click the check
28                                         boxes below to choose which applications are shown on the <a
29                                         href="applicationsHome">home page</a>.
30                                 </span> <br> <br> <label id="label-all"
31                                         class="simulateCatGridHeaderRadio"> Filter: <input
32                                         id="radio-button-all" type="radio" ng-model="radioValue"
33                                         value="All"> All
34                                 </label> <label id="label-accessible" class="simulateCatGridHeaderRadio">
35                                         <input id="radio-button-accessible" type="radio"
36                                         ng-model="radioValue" value="Accessible"> Accessible
37                                 </label> <label id="label-homepage" class="simulateCatGridHeaderRadio">
38                                         <input id="radio-button-homepage" type="radio"
39                                         ng-model="radioValue" value="Selected"> On Home Page
40                                 </label>
41
42                         </div>
43                         <div class="appCatalogue-boarder" >
44                                 <div gridster="catalog.gridsterOpts">   
45                                         <ul>    
46                                                 <li gridster-item="item" ng-repeat="item in appCatalog"
47                                                         ng-if="(item.select && radioValue=='Selected') || (item.access && radioValue=='Accessible') || (radioValue == 'All')">
48                                                         <div class="gridster-box" style="{{!item.access?' color:lightgray !important':''}}">
49                                                                 <div class="gridster-box-header"
50                                                                         ng-show="(item.select && radioValue=='Selected') || (item.access && radioValue=='Accessible') || (radioValue == 'All')">
51                                                                         <i id="gridster-{{item.headerText.split(' ').join('-')}}-icon" class="icon-content-gridguide"></i>
52                                                                         <h3 style="cursor: context-menu">{{item.headerText |
53                                                                                 elipsis: 13}}</h3>
54                                                                             <div class="form-row" ng-show="item.access || isAdminPortalAdmin">
55                                                                                 <label class="checkbox">
56                                                                                     <input id="gridster-{{item.headerText.split(' ').join('-')}}-icon-checkbox" type="checkbox" ng-model="item.select" ng-change="catalog.storeSelection(item)">
57                                                                                     <i class="skin"></i> 
58                                                                                 </label> 
59                                                                                 <i ng-show="item.pending" class="icon-tickets-contested"></i>                                                                                                                                                   
60                                                                         </div>
61                                                                 </div>                                                          
62                                                                 <div ng-include src="'app/views/catalog/get-accessswitch.html'"></div>
63                                                         </div>
64                                                 </li>
65                                         </ul>
66                                 </div>
67                         </div>
68                         
69                         <br>
70
71                         <div style="text-align: right;">
72                                 To request access to an application, please visit the <a
73                                 id="get-access-page-link" ng-href="getAccess">Get Access</a> page.
74                         </div>
75
76                         <br>
77                 </div>
78
79         </div>
80 </div>