summaryrefslogtreecommitdiffstats
path: root/ecomp-portal-FE/client/app/views/home/applications-home/applications-home.tpl.html
blob: 645807f672e2b83309b705cf7cde1dc2cd26ab3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<!--
  ================================================================================
  eCOMP Portal
  ================================================================================
  Copyright (C) 2017 AT&T Intellectual Property
  ================================================================================
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at
  
       http://www.apache.org/licenses/LICENSE-2.0
  
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
  ================================================================================
  -->
<div class="w-ecomp-applications-home" ng-style="{bottom: tabBottom}">
    <div class="applications-home-container">
        <div id="app-home-title" class="applications-home-title" >Applications</div>
        <div align="center" id="errorInfo" style="display:none;font-size:12px;margin-left:5px">
            <span style="color:red">You don't have user account in that application.Please ask system administrator </span></div>
        <div class="portals-list">
            <div class="gridster-container override_background">
                <span class="ecomp-spinner" ng-show="applicationsHome.isLoading" ></span>
                <div att-gridster att-gridster-options="applicationsHome.gridsterOpts"   >
                    <div att-gridster-item='item' ng-repeat="item in appsViewData" id="app-{{item.headerText.split(' ').join('-')}}" >
                        <div id="grips-{{item.headerText.split(' ').join('-')}}" ng-hide="users.isLoadingTable && !users.getUserAppsIsDone"
                             att-gridster-item-header grips-img-path="assets/images/grips.png"
                             header-text="{{item.headerText | elipsis: 33}}" sub-header-text="{{item.subHeaderText  | elipsis: 56}}" class="app-gridster-header">
                        </div>
                        <div id="app-image-{{item.headerText.split(' ').join('-')}}"att-gridster-item-body
                             ng-style="{'cursor':'pointer',
                             'background-image': 'url('+(item.imageLink)+')',
                             'order': item.order,
                             'background-repeat': 'no-repeat'}"
                             ng-click="applicationsHome.goToPortal(item)" ng-hide="users.isLoadingTable && !users.getUserAppsIsDone">
                        </div>
                        <div att-gridster-item-footer class="app-gridster-footer" ng-hide="users.isLoadingTable && !users.getUserAppsIsDone">
                            <span id="go-{{item.headerText.split(' ').join('-')}}" class="go-button" ng-click="applicationsHome.goToPortal(item)" >GO</span>
                        </div>
                    </div>
                </div>
            </div>
            <div>
                <div id="app-home-disclaimer" class="w-ecomp-main-error" ng-if="appsViewData.length==0" ng-hide="users.isLoadingTable && !users.getUserAppsIsDone">
                    You do not have access to any application/functionality within OpenECOMP Portal. Please contact your administrator to get access to ECOMP Portal</a><br>
                </div>
            </div>
        </div>
        <div id="app-home-disclaimer-mylogins" class="w-ecomp-main-disclaimer">

            <p id="build-number" class="build-number" ng-bind-html="buildNumber"></p>
        </div>

    </div>
</div>