summaryrefslogtreecommitdiffstats
path: root/ecomp-portal-FE-os/client/src/views/applications/applications.tpl.html
blob: 316bc13acaede65c4acb300b0181f5ed7bc295dd (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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<!--
  ============LICENSE_START==========================================
  ONAP Portal
  ===================================================================
  Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
  ===================================================================
 
  Unless otherwise specified, all software contained herein is licensed
  under the Apache License, Version 2.0 (the "License");
  you may not use this software 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.
 
  Unless otherwise specified, all documentation contained herein is licensed
  under the Creative Commons License, Attribution 4.0 Intl. (the "License");
  you may not use this documentation except in compliance with the License.
  You may obtain a copy of the License at
 
              https://creativecommons.org/licenses/by/4.0/
 
  Unless required by applicable law or agreed to in writing, documentation
  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.
 
  ============LICENSE_END============================================
 
  
  -->
<div class="w-ecomp-main">
    <div class="w-ecomp-main-container">

        <div class="applications-page-main" id="page-content">
            <div id='app-title' class="w-ecomp-main-view-title">
            	 <h1 class="heading-page" >Application Onboarding</h1>           
            </div>
            <div class="apps-table">
                <div class="table-control">
               		 <div class="table-control-fields">		
						<div >
							<input id="input-table-search" placeholder="Search in entire table" class="table-search-field" type="text" data-ng-model="searchAppName">
						</div>
					</div>    
					<div class="table-control-buttons">
						<button class="btn btn-alt btn-small" ng-click="apps.openAddNewAppModal()"><i class="icon-people-userbookmark" aria-hidden="true"></i>&nbsp;Add App</button> 
					</div> 
                </div>
                <span class="ecomp-spinner" ng-show="apps.isLoadingTable"></span>
                
                
                <div b2b-table table-data="apps.appsList"  ng-hide="apps.isLoadingTable"	search-string="searchAppName" class="b2b-table-div">
					<table>
						<thead b2b-table-row type="header">
								<th b2b-table-header id="col1" sortable="false" >Thumbnail</th>
								<th b2b-table-header id="col2" key="name" sortable="true" default-sort="a">Application Name</th>
								<th b2b-table-header id="col3" sortable="false" >Active?</th>
								<th b2b-table-header id="col4" sortable="false" >Integration Type</th>
								<th b2b-table-header id="col5" sortable="false" >Guest Access</th>
	                            <th b2b-table-header id="app-header-URL" sortable="false">URL</th>
	                            <th b2b-table-header id="app-header-RESTURL" sortable="false">REST URL</th>
	                            <th b2b-table-header id="app-header-Topic" sortable="false">Communication Topic</th>
	                            <th b2b-table-header id="app-header-CommKey" sortable="false">Communication Key</th>
	                            <th b2b-table-header id="app-header-Secret" sortable="false">Communication Secret</th>
	                            <th b2b-table-header id="app-header-namespace" sortable="false">Application Namespace</th>
	                            <th b2b-table-header id="app-header-central-auth" sortable="false">Central Auth Access</th>	 
	                            <th b2b-table-header id="app-header-delete" sortable="false">Delete</th>	                            	                            
							</tr>
						</thead>
						<tbody b2b-table-row type="body" 	row-repeat="rowData in apps.appsList">
							<tr>
								<td b2b-table-body id="rowheader_t1_{{$index}}" headers="col1" ng-click="apps.openAddNewAppModal(rowData)">
									<img id="{{$index}}-app-imageUrl" class="small-thumbnail" ng-src="{{rowData.imageLink || apps.emptyImgForPreview}}">
								</td>
								<td b2b-table-body headers="rowheader_t1_{{$index}} col2" ng-bind="rowData.name" ng-click="apps.openAddNewAppModal(rowData)"></td>
								<td b2b-table-body headers="rowheader_t1_{{$index}} col3" ng-click="apps.openAddNewAppModal(rowData)">{{(rowData.isEnabled) ? 'yes' : 'no'}}</td>
								<td b2b-table-body headers="rowheader_t1_{{$index}} col4" ng-click="apps.openAddNewAppModal(rowData)">{{(rowData.restrictedApp) ? 'link' : 'standard'}}</td>		
								<td b2b-table-body headers="rowheader_t1_{{$index}} col5" ng-click="apps.openAddNewAppModal(rowData)">{{(rowData.isOpen) ? 'yes' : 'no'}}</td>			
								<td b2b-table-body headers="rowheader_t1_{{$index}} col7" ng-click="apps.openAddNewAppModal(rowData)">{{rowData.url | elipsis: 27}}</td>	
								<td b2b-table-body headers="rowheader_t1_{{$index}} col8" ng-click="apps.openAddNewAppModal(rowData)">{{rowData.restUrl | elipsis: 27}}</td>	
        						<td b2b-table-body headers="rowheader_t1_{{$index}} col11" ng-click="apps.openAddNewAppModal(rowData)"ng-bind="rowData.uebTopicName"></td>	
                               	<td b2b-table-body headers="rowheader_t1_{{$index}} col12" ng-click="apps.openAddNewAppModal(rowData)"ng-bind="rowData.uebKey"></td>	
            					<td b2b-table-body headers="rowheader_t1_{{$index}} col13" ng-click="apps.openAddNewAppModal(rowData)"ng-bind="rowData.uebSecret"></td>	
        						<td b2b-table-body headers="rowheader_t1_{{$index}} col14" ng-click="apps.openAddNewAppModal(rowData)"ng-bind="rowData.nameSpace"></td>	
            					<td b2b-table-body headers="rowheader_t1_{{$index}} col15" ng-click="apps.openAddNewAppModal(rowData)">{{(rowData.isCentralAuth) ? 'yes' : 'no'}}</td>	
        						<td b2b-table-body headers="rowheader_t1_{{$index}} col16" >
        							<span class="icon-misc-trash" ng-click="apps.deleteApp(rowData)"></span>
        						</td>		
							</tr>
						</tbody>
					</table>
				</div>               
            </div>
        </div>
    </div>
</div>