[PORTAL-7] Rebase
[portal.git] / ecomp-portal-FE-common / client / app / views / support / contact-us / contact-us.tpl.html
diff --git a/ecomp-portal-FE-common/client/app/views/support/contact-us/contact-us.tpl.html b/ecomp-portal-FE-common/client/app/views/support/contact-us/contact-us.tpl.html
new file mode 100644 (file)
index 0000000..9e96b44
--- /dev/null
@@ -0,0 +1,126 @@
+<!--\r
+  ================================================================================\r
+  ECOMP Portal\r
+  ================================================================================\r
+  Copyright (C) 2017 AT&T Intellectual Property\r
+  ================================================================================\r
+  Licensed under the Apache License, Version 2.0 (the "License");\r
+  you may not use this file except in compliance with the License.\r
+  You may obtain a copy of the License at\r
+  \r
+       http://www.apache.org/licenses/LICENSE-2.0\r
+  \r
+  Unless required by applicable law or agreed to in writing, software\r
+  distributed under the License is distributed on an "AS IS" BASIS,\r
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+  See the License for the specific language governing permissions and\r
+  limitations under the License.\r
+  ================================================================================\r
+  -->\r
+<div class="w-ecomp-contactUs-home" style=" overflow:auto;''">\r
+       <div class="contactUs-home-container" id="page-content">\r
+               <div class="admins-page-main">\r
+                       <div id="title" class="w-ecomp-main-view-title">\r
+                       <h1 class="heading-page">Contact Us</h1>\r
+                       <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
+                       \r
+                       <div ng-include src="'app/views/support/contact-us/contact-us.aux.html'"></div>\r
+                       \r
+               <br/> \r
+               <!-- Function Categories -->            \r
+               <div id="appFunctionInfo" style="font-size: 20px;" class="w-ecomp-main-view-title"> Application Functions\r
+                               <div b2b-table table-data="contact.functionalTableData" class="b2b-table-div">\r
+                                               <table>\r
+                                                       <thead b2b-table-row type="header">\r
+                                                               <tr>\r
+                                                                 <th id="th-functionalItem-0" b2b-table-header sortable="false">Category</th>                       \r
+                                             <th id="th-functionalItem-1" b2b-table-header sortable="false">ECOMP Functions</th>\r
+                                             <th id="th-functionalItem-2" b2b-table-header sortable="false">ECOMP Application</th>\r
+                                                 <!-- <th id="th-functionalItem-3" b2b-table-header >Contact</th> --> \r
+                                                         </tr>\r
+                                                       </thead>\r
+                                                       <!--  Use track-by="UNIQUE KEY HERE" or leave out if no unique keys in data  -->\r
+                                                       <tbody b2b-table-row type="body"\r
+                                                       type="body"  \r
+                                       class="table-body" \r
+                                       track-by="$index"\r
+                                       row-repeat="rowData in contact.functionalTableData">\r
+                                                       <tr id="tr-rowData" ng-click="">\r
+                                        <td b2b-table-body>\r
+                                           <div id="functional-item-td-category" \r
+                                       ng-show="$index == 0 || contact.functionalTableData[$index-1].category != rowData.category"\r
+                                               ng-bind="rowData.category">\r
+                                           </div>\r
+                                        </td>\r
+                                        <td b2b-table-body>\r
+                                           <div id="functional-item-td-functions"  ng-bind="rowData.functions"></div>\r
+                                        </td>                           \r
+                                        <td b2b-table-body>\r
+                                          <a ng-click="contact.goToSection(rowData.app_Id, $index);">{{rowData.app_Name}}</a>  \r
+                                        </td>                                   \r
+                                      </tr>\r
+                                                       </tbody>\r
+                                               </table>\r
+                                       </div>\r
+       </div>\r
+               <br/>\r
+               <!-- Display applicationInfo panels -->\r
+               <div id="allAppInfo">\r
+                       <div style="font-size: 20px;" class="w-ecomp-main-view-title"> All Applications         \r
+                       </div>          \r
+                       <div class="contactUs-general-div">\r
+                               <div class="contact-us-table">\r
+                               <div style="height:auto;" class="c-ecomp-portal-abs-table default">\r
+                                       <div ng-repeat="rowData in contact.appTable"\r
+                                               class="contactUs-collapsible-panel">\r
+                                               <div id="{{rowData.app_Id}}" style="height:60px; " class="contactUs-panel-header" ng-click="rowData.showFlag = !rowData.showFlag" >\r
+                                                       <span id="appId{{$index}}" ng-bind="rowData.app_name" style="position:relative; top:20px"></span>\r
+                                                       \r
+                                                       <span style="float: right; margin-right: 30px; margin-top:20px;">\r
+                                                               <img ng-hide="rowData.showFlag" src="assets/images/chevron_down.png"\r
+                                                                       alt="Expand app contact section"        title="Expand app contact section" /> \r
+                                                               <img ng-show="rowData.showFlag" src="assets/images/chevron_up.png"\r
+                                                                       alt="App contact section" title="Collapse app contact section" />\r
+                                                       </span>\r
+                                               </div>\r
+                               \r
+                                               <div id="collapse{{$index}}" ng-show="rowData.showFlag"\r
+                                                       class="contactUs-collapsible-panel">\r
+                                                       <div class="contactUs-txt" ng-hide="rowData.contact_name || rowData.contact_email || rowData.url_Info || rowData.desc"> \r
+                                                               <span style="margin-bottom: 20px;"> No application information is available. Please use the links above to contact the ECOMP Portal team. </span>\r
+                                                       </div>\r
+                                                       <div class="contactUs-txt" ng-show="rowData.contact_name || rowData.contact_email || rowData.url_Info || rowData.desc"> \r
+                                                         <table style="border-spacing: 10px 5px; max-width:950px; margin:10px;">\r
+                                                               <tr>\r
+                                                                       <td class="contactUs-panel-labels" style="width: 120px;">Contact:</td>\r
+                                                                       <td class="contactUs-panel-labels" style="width: 830px;">{{rowData.contact_name}}</td>\r
+                                                               </tr>\r
+                                                               <tr>\r
+                                                                       <td class="contactUs-panel-labels">Email:</td>\r
+                                                                       <td class="contactUs-panel-labels"><a ng-href="mailto:{{rowData.contact_email}}" target="_top">{{rowData.contact_email}}</a></td>\r
+                                                               </tr>\r
+                                                               <tr>\r
+                                                                       <td class="contactUs-panel-labels">Info URL:</td>\r
+                                                                       <td class="contactUs-panel-labels"><a ng-href="{{rowData.url_Info}}" target="_blank">{{rowData.url_Info}}</a></td>\r
+                                                               </tr>\r
+                                                               <tr>\r
+                                                                       <td class="contactUs-panel-labels">Description:</td>\r
+                                                                       <td class="contactUs-panel-labels">{{rowData.desc}}</td>\r
+                                                               </tr>\r
+                                                               <tr>\r
+                                                                       <td class="contactUs-panel-labels">Get access:</td>\r
+                                                                       <td class="contactUs-panel-labels"><a href="" ng-click="contact.goGetAccess(rowData.app_name);">Click for application and role information</a></td>\r
+                                                               </tr>\r
+                                                         </table>\r
+                                                       </div>                          \r
+                                               </div>\r
+                               \r
+                                       </div>\r
+                               </div>\r
+                               </div>\r
+                       </div>\r
+               </div>\r
+\r
+       </div>\r
+</div>\r
+</div>\r