Security/ Package Name changes
[portal.git] / ecomp-portal-FE-common / client / app / views / portal-admin / new-portal-admin / new-portal-admin.modal.html
index d328db8..6aa76e1 100644 (file)
@@ -1,36 +1,74 @@
-<!--\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="new-admin-modal">\r
-\r
-    <div class="search-users">\r
-\r
-        <search-users search-title="Add New Portal Admin"\r
-                      selected-user="newPortalAdmin.selectedUser"></search-users>\r
-\r
-        <div class="dialog-control">\r
-            \r
-               <button id="pa-search-users-button-save" class="btn btn-alt btn-small"\r
-                 ng-click="newPortalAdmin.selectedUser && newPortalAdmin.addNewPortalAdmin()"\r
-                 ng-class="{disabled: !newPortalAdmin.selectedUser}">Save\r
-            </button>\r
-            <button id="pa-search-users-button-cancel" class="btn btn-alt btn-small" ng-click="closeThisDialog()">Cancel</button>\r
-        </div>\r
-    </div>\r
-</div>\r
+<!--
+  ============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============================================
+  ECOMP is a trademark and service mark of AT&T Intellectual Property.
+  -->
+  
+<style>
+  .title{
+               border-bottom: none !important;  
+         }
+</style>
+<div>
+               <div class="b2b-modal-header">
+                       <h2 class="heading-medium" id="newAdmin">Add New Portal Admin</h2>
+
+                       <div class="corner-button in">
+                               <button type="button" class="close" aria-label="Close" id="pa-div-close-button"
+                                       ng-click="$dismiss('cancel')"></button>
+                       </div>
+               </div>
+
+               <div class="b2b-modal-body">
+                       <search-users search-title="" selected-user="newPortalAdmin.selectedUser"></search-users>
+               </div>
+
+               <div class="b2b-modal-footer">
+                       <div class="cta-button-group in">
+                               <button id="pa-search-users-button-save" class="btn btn-alt btn-small"
+                                       ng-click="newPortalAdmin.selectedUser && newPortalAdmin.addNewPortalAdmin()"
+                                       ng-class="{disabled: !newPortalAdmin.selectedUser}">Save</button>
+                               <button id="pa-search-users-button-cancel"
+                                       class="btn btn-alt btn-small" ng-click="$dismiss('cancel')">Cancel</button>
+                       </div>
+               </div>
+
+       </div>
+
+<script>
+$(document).ready(function(){
+    $(".ngdialog-close").attr('id','dialog-close');
+});
+</script>