[PORTAL-7] Rebase
[portal.git] / ecomp-portal-FE-common / client / app / views / support / contact-us / contact-us.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-contactUs-home" style=" overflow:auto;''">\r
21         <div class="contactUs-home-container" id="page-content">\r
22                 <div class="admins-page-main">\r
23                         <div id="title" class="w-ecomp-main-view-title">\r
24                         <h1 class="heading-page">Contact Us</h1>\r
25                         <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>\r
26                         \r
27                         <div ng-include src="'app/views/support/contact-us/contact-us.aux.html'"></div>\r
28                         \r
29                 <br/> \r
30                 <!-- Function Categories -->            \r
31                 <div id="appFunctionInfo" style="font-size: 20px;" class="w-ecomp-main-view-title"> Application Functions\r
32                                 <div b2b-table table-data="contact.functionalTableData" class="b2b-table-div">\r
33                                                 <table>\r
34                                                         <thead b2b-table-row type="header">\r
35                                                                 <tr>\r
36                                                                   <th id="th-functionalItem-0" b2b-table-header sortable="false">Category</th>                       \r
37                                               <th id="th-functionalItem-1" b2b-table-header sortable="false">ECOMP Functions</th>\r
38                                               <th id="th-functionalItem-2" b2b-table-header sortable="false">ECOMP Application</th>\r
39                                                   <!-- <th id="th-functionalItem-3" b2b-table-header >Contact</th> --> \r
40                                                           </tr>\r
41                                                         </thead>\r
42                                                         <!--  Use track-by="UNIQUE KEY HERE" or leave out if no unique keys in data  -->\r
43                                                         <tbody b2b-table-row type="body"\r
44                                                         type="body"  \r
45                                         class="table-body" \r
46                                         track-by="$index"\r
47                                         row-repeat="rowData in contact.functionalTableData">\r
48                                                         <tr id="tr-rowData" ng-click="">\r
49                                          <td b2b-table-body>\r
50                                             <div id="functional-item-td-category" \r
51                                         ng-show="$index == 0 || contact.functionalTableData[$index-1].category != rowData.category"\r
52                                                 ng-bind="rowData.category">\r
53                                             </div>\r
54                                          </td>\r
55                                          <td b2b-table-body>\r
56                                             <div id="functional-item-td-functions"  ng-bind="rowData.functions"></div>\r
57                                          </td>                           \r
58                                          <td b2b-table-body>\r
59                                            <a ng-click="contact.goToSection(rowData.app_Id, $index);">{{rowData.app_Name}}</a>  \r
60                                          </td>                                   \r
61                                        </tr>\r
62                                                         </tbody>\r
63                                                 </table>\r
64                                         </div>\r
65         </div>\r
66                 <br/>\r
67                 <!-- Display applicationInfo panels -->\r
68                 <div id="allAppInfo">\r
69                         <div style="font-size: 20px;" class="w-ecomp-main-view-title"> All Applications         \r
70                         </div>          \r
71                         <div class="contactUs-general-div">\r
72                                 <div class="contact-us-table">\r
73                                 <div style="height:auto;" class="c-ecomp-portal-abs-table default">\r
74                                         <div ng-repeat="rowData in contact.appTable"\r
75                                                 class="contactUs-collapsible-panel">\r
76                                                 <div id="{{rowData.app_Id}}" style="height:60px; " class="contactUs-panel-header" ng-click="rowData.showFlag = !rowData.showFlag" >\r
77                                                         <span id="appId{{$index}}" ng-bind="rowData.app_name" style="position:relative; top:20px"></span>\r
78                                                         \r
79                                                         <span style="float: right; margin-right: 30px; margin-top:20px;">\r
80                                                                 <img ng-hide="rowData.showFlag" src="assets/images/chevron_down.png"\r
81                                                                         alt="Expand app contact section"        title="Expand app contact section" /> \r
82                                                                 <img ng-show="rowData.showFlag" src="assets/images/chevron_up.png"\r
83                                                                         alt="App contact section" title="Collapse app contact section" />\r
84                                                         </span>\r
85                                                 </div>\r
86                                 \r
87                                                 <div id="collapse{{$index}}" ng-show="rowData.showFlag"\r
88                                                         class="contactUs-collapsible-panel">\r
89                                                         <div class="contactUs-txt" ng-hide="rowData.contact_name || rowData.contact_email || rowData.url_Info || rowData.desc"> \r
90                                                                 <span style="margin-bottom: 20px;"> No application information is available. Please use the links above to contact the ECOMP Portal team. </span>\r
91                                                         </div>\r
92                                                         <div class="contactUs-txt" ng-show="rowData.contact_name || rowData.contact_email || rowData.url_Info || rowData.desc"> \r
93                                                           <table style="border-spacing: 10px 5px; max-width:950px; margin:10px;">\r
94                                                                 <tr>\r
95                                                                         <td class="contactUs-panel-labels" style="width: 120px;">Contact:</td>\r
96                                                                         <td class="contactUs-panel-labels" style="width: 830px;">{{rowData.contact_name}}</td>\r
97                                                                 </tr>\r
98                                                                 <tr>\r
99                                                                         <td class="contactUs-panel-labels">Email:</td>\r
100                                                                         <td class="contactUs-panel-labels"><a ng-href="mailto:{{rowData.contact_email}}" target="_top">{{rowData.contact_email}}</a></td>\r
101                                                                 </tr>\r
102                                                                 <tr>\r
103                                                                         <td class="contactUs-panel-labels">Info URL:</td>\r
104                                                                         <td class="contactUs-panel-labels"><a ng-href="{{rowData.url_Info}}" target="_blank">{{rowData.url_Info}}</a></td>\r
105                                                                 </tr>\r
106                                                                 <tr>\r
107                                                                         <td class="contactUs-panel-labels">Description:</td>\r
108                                                                         <td class="contactUs-panel-labels">{{rowData.desc}}</td>\r
109                                                                 </tr>\r
110                                                                 <tr>\r
111                                                                         <td class="contactUs-panel-labels">Get access:</td>\r
112                                                                         <td class="contactUs-panel-labels"><a href="" ng-click="contact.goGetAccess(rowData.app_name);">Click for application and role information</a></td>\r
113                                                                 </tr>\r
114                                                           </table>\r
115                                                         </div>                          \r
116                                                 </div>\r
117                                 \r
118                                         </div>\r
119                                 </div>\r
120                                 </div>\r
121                         </div>\r
122                 </div>\r
123 \r
124         </div>\r
125 </div>\r
126 </div>\r