2 ============LICENSE_START==========================================
4 ===================================================================
5 Copyright © 2017 AT&T Intellectual Property. All rights reserved.
6 ===================================================================
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
13 http://www.apache.org/licenses/LICENSE-2.0
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.
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
26 https://creativecommons.org/licenses/by/4.0/
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.
34 ============LICENSE_END============================================
36 ECOMP is a trademark and service mark of AT&T Intellectual Property.
40 border-bottom: none !important;
43 .b2b-modal-footer .cta-button-group {
44 border-top: 0px solid #d2d2d2;
50 <div ng-if="newAdmin.dialogState===1">
52 <div class="b2b-modal-header">
53 <h2 class="heading-medium" id="newAdmin">New Admin</h2>
55 <div class="corner-button in">
56 <button type="button" class="close" aria-label="Close" id="admin-button-cancel"
57 ng-click="$dismiss('cancel')"></button>
61 <div class="b2b-modal-body" tabindex="0"
62 aria-label="Modal header text content" role="region">
63 <search-users search-title="" selected-user="newAdmin.selectedUser"></search-users>
66 <div class="b2b-modal-footer">
67 <div class="cta-button-group in">
68 <button id="search-users-button-next" class="btn btn-alt btn-small"
69 ng-click="newAdmin.selectedUser && newAdmin.getAdminAppsRoles()"
70 ng-class="{disabled: !newAdmin.selectedUser}">Next</button>
71 <button id="search-users-button-cancel"
72 class="btn btn-alt btn-small" id="div-cancel-button" ng-click="$dismiss('cancel')">Cancel</button>
78 <div id="div-admin-app-roles" class="app-roles-main" ng-if="newAdmin.dialogState===2">
79 <div class="b2b-modal-header">
80 <div class="title" id="title"
81 ng-bind="newAdmin.selectedUser.firstName + ' ' + newAdmin.selectedUser.lastName + ' (' + newAdmin.selectedUser.orgUserId + ')'">
84 <div class="corner-button in">
85 <button type="button" class="close" aria-label="Close"
86 ng-click="$dismiss('cancel')"></button>
91 <div class="b2b-modal-body">
92 <div id="div-app-roles-main-title" class="app-roles-main-title">
93 <span class="left">Administrates:</span>
94 <!--<span class="right" ng-click="newAdmin.addAdministratedApp()">+Add</span>-->
96 <div class="adminAppsRoles_dropdown">
97 <select id="dropdown1" name="dropdown1" b2b-dropdown
98 placeholder-text="Select application"
99 ng-model="newAdmin.selectedNewApp.value">
100 <option b2b-dropdown-list
101 option-repeat="app in (filteredApps = (newAdmin.adminAppsRoles | filter:{isAdmin:'false'})) track by app.id "
102 ng-disabled="!filteredApps.length" value="{{app}}">{{app.appName}}</option>
106 <div class="admin-roles-list">
108 ng-repeat="app in (newAdmin.adminAppsRoles | orderBy:newAdmin.orderFilter) track by app.id"
109 ng-show="app.isAdmin">
110 <span id="select-app-{{app.appName.split(' ').join('-')}}"
111 class="administrated-application"
112 ng-bind="app.appName | elipsis: 57"></span> <i
113 id="i-delete-application" class="icon-misc-trash"
114 ng-click="newAdmin.unadminApp(app)"> </i>
119 <div class="b2b-modal-footer">
120 <div class="cta-button-group in">
122 <span class="ecomp-save-spinner" ng-show="newAdmin.isSaving"></span>
123 <button id="button-back" ng-show="newAdmin.isShowBack"
124 class="btn btn-alt btn-small" ng-click="newAdmin.navigateBack()">Back</button>
125 <button id="div-updateAdminAppsRoles" class="btn btn-alt btn-small"
126 ng-click="newAdmin.updateAdminAppsRoles()"
127 ng-class="{disabled: false}">Save</button>
128 <button id="div-cancel-button" class="btn btn-alt btn-small"
129 ng-click="$dismiss('cancel')">Cancel</button>
138 $(document).ready(function(){
139 $(".ngdialog-close").attr('id','dialog-close');