ccaba465aa6b5757ed56119b0ac6826562c4c8c7
[portal.git] / ecomp-portal-FE-common / client / app / views / support / contact-us / contact-us.tpl.html
1 <!--
2   ============LICENSE_START==========================================
3   ONAP Portal
4   ===================================================================
5   Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6   ===================================================================
7  
8   Unless otherwise specified, all software contained herein is licensed
9   under the Apache License, Version 2.0 (the "License");
10   you may not use this software except in compliance with the License.
11   You may obtain a copy of the License at
12  
13               http://www.apache.org/licenses/LICENSE-2.0
14  
15   Unless required by applicable law or agreed to in writing, software
16   distributed under the License is distributed on an "AS IS" BASIS,
17   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18   See the License for the specific language governing permissions and
19   limitations under the License.
20  
21   Unless otherwise specified, all documentation contained herein is licensed
22   under the Creative Commons License, Attribution 4.0 Intl. (the "License");
23   you may not use this documentation except in compliance with the License.
24   You may obtain a copy of the License at
25  
26               https://creativecommons.org/licenses/by/4.0/
27  
28   Unless required by applicable law or agreed to in writing, documentation
29   distributed under the License is distributed on an "AS IS" BASIS,
30   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
31   See the License for the specific language governing permissions and
32   limitations under the License.
33  
34   ============LICENSE_END============================================
35  
36   ECOMP is a trademark and service mark of AT&T Intellectual Property.
37   -->
38 <div class="w-ecomp-contactUs-home">
39         <div class="contactUs-home-container" id="page-content">
40                 <div class="admins-page-main">
41                         <div id="title" class="w-ecomp-main-view-title">
42                         <h1 class="heading-page">Contact Us</h1>
43                         <button id="edit-button-contact-us" ng-if="isAdminPortalAdmin == true" class="btn btn-alt btn-small" ng-click="contact.editContactUsModalPopup()"><i class="icon-people-userbookmark" aria-hidden="true"></i>&nbsp;Edit Contact Us</button>
44                         
45                         <div ng-include src="'app/views/support/contact-us/contact-us.aux.html'"></div>
46                         
47                 <br/> 
48                 <!-- Function Categories -->            
49                 <div id="appFunctionInfo" class="w-ecomp-main-view-title"> Application Functions
50                                 <div b2b-table table-data="contact.functionalTableData" class="b2b-table-div">
51                                                 <table>
52                                                         <thead b2b-table-row type="header">
53                                                                 <tr ng-include src="'app/views/support/contact-us/contact-us-table-header.html'"></tr>
54                                                         </thead>
55                                                         <!--  Use track-by="UNIQUE KEY HERE" or leave out if no unique keys in data  -->
56                                                         <tbody b2b-table-row type="body"
57                                                         type="body"  
58                                         class="table-body" 
59                                         track-by="$index"
60                                         row-repeat="rowData in contact.functionalTableData">
61                                                         <tr id="tr-rowData" ng-click="">
62                                          <td b2b-table-body>
63                                             <div id="functional-item-td-category" 
64                                         ng-show="$index == 0 || contact.functionalTableData[$index-1].category != rowData.category"
65                                                 ng-bind="rowData.category">
66                                             </div>
67                                          </td>
68                                          <td b2b-table-body>
69                                             <div id="functional-item-td-functions"  ng-bind="rowData.functions"></div>
70                                          </td>                           
71                                          <td b2b-table-body>
72                                            <a ng-click="contact.goToSection(rowData.app_Id, $index);">{{rowData.app_Name}}</a>  
73                                          </td>                                   
74                                        </tr>
75                                                         </tbody>
76                                                 </table>
77                                         </div>
78         </div>
79                 <br/>
80                 <!-- Display applicationInfo panels -->
81                 <div id="allAppInfo">
82                         <div class="w-ecomp-main-view-title"> All Applications          
83                         </div>          
84                         <div class="contactUs-general-div">
85                                 <div class="contact-us-table">
86                                 <div class="c-ecomp-portal-abs-table default contactUs-table-ht">
87                                         <div ng-repeat="rowData in contact.appTable"
88                                                 class="contactUs-collapsible-panel">
89                                                 <div id="{{rowData.app_Id}}" class="contactUs-table-ht" class="contactUs-panel-header" ng-click="rowData.showFlag = !rowData.showFlag" >
90                                                         <span id="appId{{$index}}" ng-bind="rowData.app_name" class="contactUs-table-spn"></span>
91                                                         
92                                                         <span class="contactUs-table-title-sp">
93                                                                 <span ng-show="rowData.showFlag" title="Collapse app contact section" class="icon-controls-upPRIMARY"></span>
94                                                                 <span ng-hide="rowData.showFlag" title="Expand app contact section" class="icon-controls-down"></span>
95                                                         </span>
96                                                 </div>
97                                 
98                                                 <div id="collapse{{$index}}" ng-show="rowData.showFlag"
99                                                         class="contactUs-collapsible-panel">
100                                                         <div class="contactUs-txt" ng-hide="rowData.contact_name || rowData.contact_email || rowData.url_Info || rowData.desc"> 
101                                                                 <span class="contactUs-collapsible-panel-spn"> No application information is available. Please use the links above to contact the ECOMP Portal team. </span>
102                                                         </div>
103                                                         <div class="contactUs-txt" ng-show="rowData.contact_name || rowData.contact_email || rowData.url_Info || rowData.desc"> 
104                                                           <table class="contactUs-main-table">
105                                                                 <tr>
106                                                                         <td class="contactUs-panel-labels contactUs-main-panel-labels">Contact:</td>
107                                                                         <td class="contactUs-panel-labels contactUs-main-panel-value">{{rowData.contact_name}}</td>
108                                                                 </tr>
109                                                                 <tr>
110                                                                         <td class="contactUs-panel-labels">Email:</td>
111                                                                         <td class="contactUs-panel-labels"><a ng-href="mailto:{{rowData.contact_email}}" target="_top">{{rowData.contact_email}}</a></td>
112                                                                 </tr>
113                                                                 <tr>
114                                                                         <td class="contactUs-panel-labels">Info URL:</td>
115                                                                         <td class="contactUs-panel-labels"><a ng-href="{{rowData.url_Info}}" target="_blank">{{rowData.url_Info}}</a></td>
116                                                                 </tr>
117                                                                 <tr>
118                                                                         <td class="contactUs-panel-labels">Description:</td>
119                                                                         <td class="contactUs-panel-labels">{{rowData.desc}}</td>
120                                                                 </tr>
121                                                                 <tr>
122                                                                         <td class="contactUs-panel-labels">Get access:</td>
123                                                                         <td class="contactUs-panel-labels"><a href="" ng-click="contact.goGetAccess(rowData.app_name);">Click for application and role information</a></td>
124                                                                 </tr>
125                                                           </table>
126                                                         </div>                          
127                                                 </div>
128                                 
129                                         </div>
130                                 </div>
131                                 </div>
132                         </div>
133                 </div>
134
135         </div>
136 </div>
137 </div>